Md4qt

MD::TextParsingOpts< Trait > Struct Template Reference

#include <parser.h>

Classes

struct  TextData
 

Public Types

enum class  Detected {
  Nothing = 0 , Table = 1 , HTML = 2 , List = 3 ,
  Code = 4
}
 

Public Member Functions

void concatenateAuxText (long long int start, long long int end)
 
bool shouldStopParsing () const
 

Public Attributes

bool m_checkLineOnNewType = false
 
bool m_collectRefLinks
 
int m_columnsCount = -1
 
Detected m_detected = Detected::Nothing
 
std::shared_ptr< Document< Trait > > m_doc
 
Trait::String m_fileName
 
bool m_firstInParagraph = true
 
MdBlock< Trait > & m_fr
 
RawHtmlBlock< Trait > & m_html
 
bool m_ignoreLineBreak
 
std::shared_ptr< ItemWithOpts< Trait > > m_lastItemWithStyle = nullptr
 
std::shared_ptr< Text< Trait > > m_lastText = {}
 
long long int m_lastTextLine = -1
 
long long int m_lastTextPos = -1
 
long long int m_line = 0
 
Trait::StringList & m_linksToParse
 
ItemWithOpts< Trait >::Styles m_openStyles = {}
 
int m_opts = TextWithoutFormat
 
std::shared_ptr< Block< Trait > > m_parent
 
long long int m_pos = 0
 
std::vector< TextDatam_rawTextData = {}
 
long long int m_startTableLine = -1
 
std::vector< std::pair< Style, long long int > > m_styles = {}
 
const TextPluginsMap< Trait > & m_textPlugins
 
std::shared_ptr< RawHtml< Trait > > m_tmpHtml
 
bool m_wasRefLink = false
 
Trait::String m_workingPath
 

Detailed Description

template<class Trait>
struct MD::TextParsingOpts< Trait >

Internal structure for auxiliary options for parser.

Definition at line 941 of file parser.h.

Member Enumeration Documentation

◆ Detected

template<class Trait >
enum class MD::TextParsingOpts::Detected
strong
Enumerator
Nothing 
Table 
HTML 
List 
Code 

Definition at line 978 of file parser.h.

Member Function Documentation

◆ concatenateAuxText()

template<class Trait >
void MD::TextParsingOpts< Trait >::concatenateAuxText ( long long int start,
long long int end )
inline

Definition at line 967 of file parser.h.

◆ shouldStopParsing()

template<class Trait >
bool MD::TextParsingOpts< Trait >::shouldStopParsing ( ) const
inline

Definition at line 983 of file parser.h.

Member Data Documentation

◆ m_checkLineOnNewType

template<class Trait >
bool MD::TextParsingOpts< Trait >::m_checkLineOnNewType = false

Definition at line 955 of file parser.h.

◆ m_collectRefLinks

template<class Trait >
bool MD::TextParsingOpts< Trait >::m_collectRefLinks

Definition at line 949 of file parser.h.

◆ m_columnsCount

template<class Trait >
int MD::TextParsingOpts< Trait >::m_columnsCount = -1

Definition at line 1001 of file parser.h.

◆ m_detected

template<class Trait >
Detected MD::TextParsingOpts< Trait >::m_detected = Detected::Nothing

Definition at line 980 of file parser.h.

◆ m_doc

template<class Trait >
std::shared_ptr<Document<Trait> > MD::TextParsingOpts< Trait >::m_doc

Definition at line 945 of file parser.h.

◆ m_fileName

template<class Trait >
Trait::String MD::TextParsingOpts< Trait >::m_fileName

Definition at line 948 of file parser.h.

◆ m_firstInParagraph

template<class Trait >
bool MD::TextParsingOpts< Trait >::m_firstInParagraph = true

Definition at line 956 of file parser.h.

◆ m_fr

template<class Trait >
MdBlock<Trait>& MD::TextParsingOpts< Trait >::m_fr

Definition at line 942 of file parser.h.

◆ m_html

template<class Trait >
RawHtmlBlock<Trait>& MD::TextParsingOpts< Trait >::m_html

Definition at line 951 of file parser.h.

◆ m_ignoreLineBreak

template<class Trait >
bool MD::TextParsingOpts< Trait >::m_ignoreLineBreak

Definition at line 950 of file parser.h.

◆ m_lastItemWithStyle

template<class Trait >
std::shared_ptr<ItemWithOpts<Trait> > MD::TextParsingOpts< Trait >::m_lastItemWithStyle = nullptr

Definition at line 1005 of file parser.h.

◆ m_lastText

template<class Trait >
std::shared_ptr<Text<Trait> > MD::TextParsingOpts< Trait >::m_lastText = {}

Definition at line 953 of file parser.h.

◆ m_lastTextLine

template<class Trait >
long long int MD::TextParsingOpts< Trait >::m_lastTextLine = -1

Definition at line 999 of file parser.h.

◆ m_lastTextPos

template<class Trait >
long long int MD::TextParsingOpts< Trait >::m_lastTextPos = -1

Definition at line 1000 of file parser.h.

◆ m_line

template<class Trait >
long long int MD::TextParsingOpts< Trait >::m_line = 0

Definition at line 996 of file parser.h.

◆ m_linksToParse

template<class Trait >
Trait::StringList& MD::TextParsingOpts< Trait >::m_linksToParse

Definition at line 946 of file parser.h.

◆ m_openStyles

template<class Trait >
ItemWithOpts<Trait>::Styles MD::TextParsingOpts< Trait >::m_openStyles = {}

Definition at line 1004 of file parser.h.

◆ m_opts

template<class Trait >
int MD::TextParsingOpts< Trait >::m_opts = TextWithoutFormat

Definition at line 1002 of file parser.h.

◆ m_parent

template<class Trait >
std::shared_ptr<Block<Trait> > MD::TextParsingOpts< Trait >::m_parent

Definition at line 943 of file parser.h.

◆ m_pos

template<class Trait >
long long int MD::TextParsingOpts< Trait >::m_pos = 0

Definition at line 997 of file parser.h.

◆ m_rawTextData

template<class Trait >
std::vector<TextData> MD::TextParsingOpts< Trait >::m_rawTextData = {}

Definition at line 964 of file parser.h.

◆ m_startTableLine

template<class Trait >
long long int MD::TextParsingOpts< Trait >::m_startTableLine = -1

Definition at line 998 of file parser.h.

◆ m_styles

template<class Trait >
std::vector<std::pair<Style, long long int> > MD::TextParsingOpts< Trait >::m_styles = {}

Definition at line 1003 of file parser.h.

◆ m_textPlugins

template<class Trait >
const TextPluginsMap<Trait>& MD::TextParsingOpts< Trait >::m_textPlugins

Definition at line 952 of file parser.h.

◆ m_tmpHtml

template<class Trait >
std::shared_ptr<RawHtml<Trait> > MD::TextParsingOpts< Trait >::m_tmpHtml

Definition at line 944 of file parser.h.

◆ m_wasRefLink

template<class Trait >
bool MD::TextParsingOpts< Trait >::m_wasRefLink = false

Definition at line 954 of file parser.h.

◆ m_workingPath

template<class Trait >
Trait::String MD::TextParsingOpts< Trait >::m_workingPath

Definition at line 947 of file parser.h.


The documentation for this struct was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Nov 6 2024 12:12:28 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.