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 | LabelsVector = typename Trait::template Vector<typename Trait::String> |
| 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 |
| LabelsVector & | labelVariants () |
| const LabelsVector & | labelVariants () const |
| int | level () const |
| void | setDelims (const Delims &d) |
| void | setLabel (const typename Trait::String &l) |
| void | setLabelPos (const WithPosition &p) |
| void | setLabelVariants (const LabelsVector &vars) |
| 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> |
◆ LabelsVector
template<class Trait>
| using MD::Heading< Trait >::LabelsVector = typename Trait::template Vector<typename Trait::String> |
◆ 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 |
◆ labelVariants() [1/2]
template<class Trait>
|
inline |
◆ labelVariants() [2/2]
template<class Trait>
|
inline |
◆ level()
template<class Trait>
|
inline |
◆ setDelims()
template<class Trait>
|
inline |
◆ setLabel()
template<class Trait>
|
inline |
◆ setLabelPos()
template<class Trait>
|
inline |
◆ setLabelVariants()
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-2025 The KDE developers.
Generated on Fri May 2 2025 12:05:26 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri May 2 2025 12:05:26 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
Public Member Functions inherited from