MD::FootnoteRef Class

template <typename Trait> class MD::FootnoteRef

Footnote reference. More...

Header: #include <md4qt/doc.h>
CMake: find_package(md4qt REQUIRED COMPONENTS md4qt)
target_link_libraries(mytarget PRIVATE md4qt::md4qt)
Inherits: MD::Text

Public Functions

std::shared_ptr<MD::Item<Trait>> clone(MD::Document<Trait> *doc = nullptr) const override
const typename Trait::String &id() const
const MD::WithPosition &idPos() const
void setIdPos(const MD::WithPosition &pos)
MD::ItemType type() const override

Detailed Description

Member Function Documentation

std::shared_ptr<MD::Item<Trait>> FootnoteRef::clone(MD::Document<Trait> *doc = nullptr) const

Clone this footnote reference.

doc Parent of new item.

const typename Trait::String &FootnoteRef::id() const

Returns ID of footnote reference.

const MD::WithPosition &FootnoteRef::idPos() const

Returns position of ID.

See also setIdPos().

void FootnoteRef::setIdPos(const MD::WithPosition &pos)

Set position of ID.

pos Position.

See also idPos().

MD::ItemType FootnoteRef::type() const

Returns type of the item.