MD::LinkBase
MD::LinkBase< Trait > Class Template Reference
#include <doc.h>
Inheritance diagram for MD::LinkBase< Trait >:
Public Types | |
using | ParagraphSharedPointer = std::shared_ptr<Paragraph<Trait>> |
Public Types inherited from MD::ItemWithOpts< Trait > | |
using | Styles = typename Trait::template Vector<StyleDelim> |
Public Member Functions | |
LinkBase () | |
~LinkBase () override=default | |
void | applyLinkBase (const LinkBase< Trait > &other, Document< Trait > *doc=nullptr) |
bool | isEmpty () const |
ParagraphSharedPointer | p () const |
void | setP (ParagraphSharedPointer v) |
void | setText (const typename Trait::String &t) |
void | setTextPos (const WithPosition &pos) |
void | setUrl (const typename Trait::String &u) |
void | setUrlPos (const WithPosition &pos) |
const Trait::String & | text () const |
const WithPosition & | textPos () const |
const Trait::String & | url () const |
const WithPosition & | urlPos () const |
Public Member Functions inherited from MD::ItemWithOpts< Trait > | |
~ItemWithOpts () override=default | |
void | applyItemWithOpts (const ItemWithOpts< Trait > &other) |
Styles & | closeStyles () |
const Styles & | closeStyles () const |
Styles & | openStyles () |
const Styles & | openStyles () const |
int | opts () const |
void | setOpts (int o) |
Public Member Functions inherited from MD::Item< Trait > | |
~Item () override=default | |
virtual std::shared_ptr< Item< Trait > > | clone (Document< Trait > *doc=nullptr) const =0 |
virtual ItemType | type () const =0 |
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::ItemWithOpts< Trait > | |
ItemWithOpts ()=default | |
Protected Member Functions inherited from MD::Item< Trait > | |
Item ()=default | |
Detailed Description
template<class Trait>
class MD::LinkBase< Trait >
class MD::LinkBase< Trait >
Base class for links.
Member Typedef Documentation
◆ ParagraphSharedPointer
template<class Trait >
using MD::LinkBase< Trait >::ParagraphSharedPointer = std::shared_ptr<Paragraph<Trait>> |
Constructor & Destructor Documentation
◆ LinkBase()
template<class Trait >
|
inline |
◆ ~LinkBase()
template<class Trait >
|
overridedefault |
Member Function Documentation
◆ applyLinkBase()
template<class Trait >
|
inline |
◆ isEmpty()
template<class Trait >
|
inline |
◆ p()
template<class Trait >
|
inline |
◆ setP()
template<class Trait >
|
inline |
◆ setText()
template<class Trait >
|
inline |
◆ setTextPos()
template<class Trait >
|
inline |
◆ setUrl()
template<class Trait >
|
inline |
◆ setUrlPos()
template<class Trait >
|
inline |
◆ text()
template<class Trait >
|
inline |
◆ textPos()
template<class Trait >
|
inline |
◆ url()
template<class Trait >
|
inline |
◆ urlPos()
template<class Trait >
|
inline |
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 Sat Dec 21 2024 17:04:36 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:36 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.