MD::RawHtml

Search for usage in LXR

MD::RawHtml< Trait > Class Template Referencefinal

#include <doc.h>

Inheritance diagram for MD::RawHtml< Trait >:

Public Member Functions

 RawHtml ()=default
 
 ~RawHtml () override=default
 
std::shared_ptr< Item< Trait > > clone (Document< Trait > *doc=nullptr) const override
 
void setText (const typename Trait::String &t)
 
const Trait::String & text () const
 
ItemType type () const override
 
- Public Member Functions inherited from MD::ItemWithOpts< Trait >
 ~ItemWithOpts () override=default
 
void applyItemWithOpts (const ItemWithOpts< Trait > &other)
 
StylescloseStyles ()
 
const StylescloseStyles () const
 
StylesopenStyles ()
 
const StylesopenStyles () const
 
int opts () const
 
void setOpts (int o)
 
- Public Member Functions inherited from MD::Item< Trait >
 ~Item () override=default
 
- Public Member Functions inherited from MD::WithPosition
 WithPosition ()=default
 
 WithPosition (long long int startColumn, long long int startLine, long long int endColumn, long long int endLine)
 
virtual ~WithPosition ()=default
 
void applyPositions (const WithPosition &other)
 
long long int endColumn () const
 
long long int endLine () const
 
void setEndColumn (long long int c)
 
void setEndLine (long long int l)
 
void setStartColumn (long long int c)
 
void setStartLine (long long int l)
 
long long int startColumn () const
 
long long int startLine () const
 

Protected Member Functions

bool isFreeTag () const
 
void setFreeTag (bool on=true)
 
- Protected Member Functions inherited from MD::ItemWithOpts< Trait >
 ItemWithOpts ()=default
 
- Protected Member Functions inherited from MD::Item< Trait >
 Item ()=default
 

Additional Inherited Members

- Public Types inherited from MD::ItemWithOpts< Trait >
using Styles = typename Trait::template Vector<StyleDelim>
 

Detailed Description

template<class Trait>
class MD::RawHtml< Trait >

Raw HTML.

Definition at line 439 of file doc.h.

Constructor & Destructor Documentation

◆ RawHtml()

template<class Trait >
MD::RawHtml< Trait >::RawHtml ( )
default

◆ ~RawHtml()

template<class Trait >
MD::RawHtml< Trait >::~RawHtml ( )
overridedefault

Member Function Documentation

◆ clone()

template<class Trait >
std::shared_ptr< Item< Trait > > MD::RawHtml< Trait >::clone ( Document< Trait > * doc = nullptr) const
inlineoverridevirtual

Clone this raw HTML.

Implements MD::Item< Trait >.

Definition at line 446 of file doc.h.

◆ isFreeTag()

template<class Trait >
bool MD::RawHtml< Trait >::isFreeTag ( ) const
inlineprotected
Returns
Is this HTML a free tag, not inline one.
Note
This method is for internal use only.

Definition at line 485 of file doc.h.

◆ setFreeTag()

template<class Trait >
void MD::RawHtml< Trait >::setFreeTag ( bool on = true)
inlineprotected

Set that this HTML is a free, not inline one.

Note
This method is for internal use only.

Definition at line 492 of file doc.h.

◆ setText()

template<class Trait >
void MD::RawHtml< Trait >::setText ( const typename Trait::String & t)
inline

Set HTML content.

Definition at line 471 of file doc.h.

◆ text()

template<class Trait >
const Trait::String & MD::RawHtml< Trait >::text ( ) const
inline
Returns
HTML content.

Definition at line 465 of file doc.h.

◆ type()

template<class Trait >
ItemType MD::RawHtml< Trait >::type ( ) const
inlineoverridevirtual
Returns
Type of the item.

Implements MD::Item< Trait >.

Definition at line 459 of file doc.h.


The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Nov 6 2024 12:12:28 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.