Md4qt
doc.h
Go to the documentation of this file.
248 return (static_cast<WithPosition>(l) == static_cast<WithPosition>(r) && l.style() == r.style());
1843 using LabeledHeadings = typename Trait::template Map<typename Trait::String, HeadingSharedPointer>;
~Anchor() override=default
std::shared_ptr< Item< Trait > > clone(Document< Trait > *doc=nullptr) const override
Clone this anchor.
Definition doc.h:407
typename Trait::template Vector< ItemSharedPointer > Items
Type of list of children.
Definition doc.h:613
void insertItem(long long int idx, ItemSharedPointer i)
Insert child item at give position.
Definition doc.h:635
Block()=default
std::shared_ptr< Item< Trait > > ItemSharedPointer
Type of pointer to child item.
Definition doc.h:611
~Block() override=default
void applyBlock(const Block< Trait > &other, Document< Trait > *doc=nullptr)
Apply other block to this.
Definition doc.h:616
std::shared_ptr< Item< Trait > > clone(Document< Trait > *doc=nullptr) const override
Clone this blockquote.
Definition doc.h:842
~Blockquote() override=default
Blockquote()=default
typename Trait::template Vector< WithPosition > Delims
Type of a list of service characters.
Definition doc.h:858
void setSyntaxPos(const WithPosition &p)
Set position of the syntax of the fensed code block.
Definition doc.h:1356
~Code() override=default
std::shared_ptr< Item< Trait > > clone(Document< Trait > *doc=nullptr) const override
Clone this code.
Definition doc.h:1297
void setEndDelim(const WithPosition &d)
Set position of the ending service characters.
Definition doc.h:1380
void setStartDelim(const WithPosition &d)
Set position of the start service characters.
Definition doc.h:1368
void setSyntax(const typename Trait::String &s)
Set syntax of the fensed code block.
Definition doc.h:1344
std::shared_ptr< Item< Trait > > clone(Document< Trait > *doc=nullptr) const override
Clone this document.
Definition doc.h:1786
std::shared_ptr< Heading< Trait > > HeadingSharedPointer
Type of a smart pointer to heading.
Definition doc.h:1841
std::shared_ptr< Link< Trait > > LinkSharedPointer
Type of a smart pointer to link.
Definition doc.h:1824
void insertFootnote(const typename Trait::String &id, FootnoteSharedPointer fn)
Insert footnote with the give ID.
Definition doc.h:1818
typename Trait::template Map< typename Trait::String, HeadingSharedPointer > LabeledHeadings
Type of a map of headings.
Definition doc.h:1843
~Document() override=default
void insertLabeledHeading(const typename Trait::String &label, HeadingSharedPointer h)
Insert heading with the given label.
Definition doc.h:1852
void insertLabeledLink(const typename Trait::String &label, LinkSharedPointer lnk)
Insert shortcut link with the given label.
Definition doc.h:1835
Document()=default
std::shared_ptr< Footnote< Trait > > FootnoteSharedPointer
Type of a smart pointer to footnote.
Definition doc.h:1807
typename Trait::template Map< typename Trait::String, FootnoteSharedPointer > Footnotes
Type of a map of footnotes.
Definition doc.h:1809
typename Trait::template Map< typename Trait::String, LinkSharedPointer > LabeledLinks
Type of a map of shortcut links.
Definition doc.h:1826
~FootnoteRef() override=default
std::shared_ptr< Item< Trait > > clone(Document< Trait > *doc=nullptr) const override
Clone this footnote reference.
Definition doc.h:1676
~Footnote() override=default
std::shared_ptr< Item< Trait > > clone(Document< Trait > *doc=nullptr) const override
Clone this footnote.
Definition doc.h:1733
Footnote()=default
std::shared_ptr< Item< Trait > > clone(Document< Trait > *doc=nullptr) const override
Clone this heading.
Definition doc.h:723
typename Trait::template Vector< WithPosition > Delims
Type of list of service chanracters.
Definition doc.h:720
std::shared_ptr< Paragraph< Trait > > ParagraphSharedPointer
Type of smart pointer to paragraph.
Definition doc.h:746
~Heading() override=default
std::shared_ptr< Item< Trait > > clone(Document< Trait > *doc=nullptr) const override
Clone this horizontal line.
Definition doc.h:376
~HorizontalLine() override=default
HorizontalLine()=default
Image()=default
std::shared_ptr< Item< Trait > > clone(Document< Trait > *doc=nullptr) const override
Clone this image.
Definition doc.h:1189
~Image() override=default
ItemWithOpts()=default
void applyItemWithOpts(const ItemWithOpts< Trait > &other)
Apply other item with options to this.
Definition doc.h:267
~ItemWithOpts() override=default
Item()=default
virtual std::shared_ptr< Item< Trait > > clone(Document< Trait > *doc=nullptr) const =0
Clone this item.
virtual ItemType type() const =0
~Item() override=default
~LineBreak() override=default
LineBreak()=default
std::shared_ptr< Item< Trait > > clone(Document< Trait > *doc=nullptr) const override
Clone this line break.
Definition doc.h:576
void setP(ParagraphSharedPointer v)
Set pointer to parsed text of link's description.
Definition doc.h:1132
std::shared_ptr< Paragraph< Trait > > ParagraphSharedPointer
Type of a smart pointer to link's description.
Definition doc.h:1093
~LinkBase() override=default
void setText(const typename Trait::String &t)
Set not parsed text of link's description.
Definition doc.h:1114
void applyLinkBase(const LinkBase< Trait > &other, Document< Trait > *doc=nullptr)
Apply other base of link to this.
Definition doc.h:1080
std::shared_ptr< Image< Trait > > ImageSharedPointer
Type of a smart pointer to image.
Definition doc.h:1241
~Link() override=default
std::shared_ptr< Item< Trait > > clone(Document< Trait > *doc=nullptr) const override
Clone this link.
Definition doc.h:1223
~ListItem() override=default
void setTaskDelim(const WithPosition &d)
Set position of the task list "checkbox" in Markdown.
Definition doc.h:1008
ListItem()=default
std::shared_ptr< Item< Trait > > clone(Document< Trait > *doc=nullptr) const override
Clone this list item.
Definition doc.h:892
OrderedListPreState orderedListPreState() const
Definition doc.h:942
void setOrderedListPreState(OrderedListPreState s)
Set preliminary state of the ordered list.
Definition doc.h:948
List()=default
~List() override=default
std::shared_ptr< Item< Trait > > clone(Document< Trait > *doc=nullptr) const override
Clone this list.
Definition doc.h:1045
~Math() override=default
std::shared_ptr< Item< Trait > > clone(Document< Trait > *doc=nullptr) const override
Clone this LaTeX math expression.
Definition doc.h:1433
PageBreak()=default
std::shared_ptr< Item< Trait > > clone(Document< Trait > *doc=nullptr) const override
Clone this page break.
Definition doc.h:346
~PageBreak() override=default
Paragraph()=default
~Paragraph() override=default
std::shared_ptr< Item< Trait > > clone(Document< Trait > *doc=nullptr) const override
Clone this paragraph.
Definition doc.h:685
~RawHtml() override=default
RawHtml()=default
std::shared_ptr< Item< Trait > > clone(Document< Trait > *doc=nullptr) const override
Clone this raw HTML.
Definition doc.h:446
~StyleDelim() override=default
StyleDelim(int s, long long int startColumn, long long int startLine, long long int endColumn, long long int endLine)
Definition doc.h:218
std::shared_ptr< Item< Trait > > clone(Document< Trait > *doc=nullptr) const override
Clone this table cell.
Definition doc.h:1478
~TableCell() override=default
TableCell()=default
typename Trait::template Vector< TableCellSharedPointer > Cells
Type of a list of table cells.
Definition doc.h:1530
std::shared_ptr< Item< Trait > > clone(Document< Trait > *doc=nullptr) const override
Clone this table row.
Definition doc.h:1509
~TableRow() override=default
std::shared_ptr< TableCell< Trait > > TableCellSharedPointer
Type of a smart pointer to table cell.
Definition doc.h:1528
TableRow()=default
~Table() override=default
std::shared_ptr< Item< Trait > > clone(Document< Trait > *doc=nullptr) const override
Clone this table.
Definition doc.h:1570
void setColumnAlignment(int idx, Alignment a)
Set alignment of the given column.
Definition doc.h:1629
std::shared_ptr< TableRow< Trait > > TableRowSharedPointer
Type of a smart pointer to table row.
Definition doc.h:1593
typename Trait::template Vector< TableRowSharedPointer > Rows
Type of list of rows.
Definition doc.h:1595
Table()=default
typename Trait::template Vector< Alignment > ColumnsAlignments
Type of list alignments.
Definition doc.h:1620
std::shared_ptr< Item< Trait > > clone(Document< Trait > *doc=nullptr) const override
Clone this text item.
Definition doc.h:528
Text()=default
~Text() override=default
WithPosition(long long int startColumn, long long int startLine, long long int endColumn, long long int endLine)
Definition doc.h:81
virtual ~WithPosition()=default
WithPosition()=default
void applyPositions(const WithPosition &other)
Apply positions to this from other.
Definition doc.h:93
Definition parser.h:4087
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:57:10 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:57:10 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.