MD::Heading
MD::Heading< Trait > Class Template Referencefinal
#include <doc.h>
Inheritance diagram for MD::Heading< Trait >:
Public Types | |
using | Delims = typename Trait::template Vector<WithPosition> |
using | ParagraphSharedPointer = std::shared_ptr<Paragraph<Trait>> |
Public Member Functions | |
Heading () | |
~Heading () override=default | |
std::shared_ptr< Item< Trait > > | clone (Document< Trait > *doc=nullptr) const override |
const Delims & | delims () const |
bool | isLabeled () const |
const Trait::String & | label () const |
const WithPosition & | labelPos () const |
int | level () const |
void | setDelims (const Delims &d) |
void | setLabel (const typename Trait::String &l) |
void | setLabelPos (const WithPosition &p) |
void | setLevel (int l) |
void | setText (ParagraphSharedPointer t) |
ParagraphSharedPointer | text () const |
ItemType | type () const override |
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 |
Additional Inherited Members | |
Protected Member Functions inherited from MD::Item< Trait > | |
Item ()=default | |
Detailed Description
Member Typedef Documentation
◆ Delims
template<class Trait >
using MD::Heading< Trait >::Delims = typename Trait::template Vector<WithPosition> |
◆ ParagraphSharedPointer
template<class Trait >
using MD::Heading< Trait >::ParagraphSharedPointer = std::shared_ptr<Paragraph<Trait>> |
Constructor & Destructor Documentation
◆ Heading()
template<class Trait >
|
inline |
◆ ~Heading()
template<class Trait >
|
overridedefault |
Member Function Documentation
◆ clone()
template<class Trait >
|
inlineoverridevirtual |
◆ delims()
template<class Trait >
|
inline |
◆ isLabeled()
template<class Trait >
|
inline |
◆ label()
template<class Trait >
|
inline |
◆ labelPos()
template<class Trait >
|
inline |
◆ level()
template<class Trait >
|
inline |
◆ setDelims()
template<class Trait >
|
inline |
◆ setLabel()
template<class Trait >
|
inline |
◆ setLabelPos()
template<class Trait >
|
inline |
◆ setLevel()
template<class Trait >
|
inline |
◆ setText()
template<class Trait >
|
inline |
◆ text()
template<class Trait >
|
inline |
◆ type()
template<class Trait >
|
inlineoverridevirtual |
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 Mon Nov 18 2024 12:19:15 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:19:15 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.