|
template<class Trait > |
void | appendCloseStyle (TextParsingOpts< Trait > &po, const StyleDelim &s) |
|
void | appendPossibleDelimiter (std::vector< std::vector< std::pair< std::pair< long long int, bool >, int > > > &vars, long long int len, int type, bool leftAndRight) |
|
void | applyStyles (int &opts, const std::vector< std::pair< Style, long long int > > &styles) |
|
template<class Trait > |
std::pair< long long int, long long int > | calculateIndent (const typename Trait::String &s, long long int p) |
|
template<class Trait > |
bool | checkForEndHtmlComments (const typename Trait::String &line, long long int pos) |
|
template<class Trait > |
void | checkForHtmlComments (const typename Trait::InternalString &line, StringListStream< Trait > &stream, MdLineData::CommentDataMap &res) |
|
template<class Trait > |
void | checkForTableInParagraph (TextParsingOpts< Trait > &po, long long int lastLine) |
|
template<class Trait > |
void | checkForTextPlugins (std::shared_ptr< Paragraph< Trait > > p, TextParsingOpts< Trait > &po, const TextPluginsMap< Trait > &textPlugins, bool inLink) |
|
bool | checkStack (std::vector< std::pair< std::pair< long long int, bool >, int > > &s, const std::pair< std::pair< long long int, bool >, int > &v, size_t idx) |
|
void | closeStyle (std::vector< std::pair< Style, long long int > > &styles, Style s) |
|
void | collectDelimiterVariants (std::vector< std::vector< std::pair< std::pair< long long int, bool >, int > > > &vars, long long int itLength, int type, bool leftFlanking, bool rightFlanking) |
|
template<class Trait > |
std::shared_ptr< Text< Trait > > | concatenateText (typename Block< Trait >::Items::const_iterator it, typename Block< Trait >::Items::const_iterator last) |
|
template<class Trait > |
void | eatRawHtml (long long int line, long long int pos, long long int toLine, long long int toPos, TextParsingOpts< Trait > &po, bool finish, int htmlRule, bool onLine, bool continueEating=false) |
|
template<class Trait > |
WithPosition | findAndRemoveClosingSequence (typename Trait::InternalString &s) |
|
template<class Trait > |
std::pair< typename Trait::String, WithPosition > | findAndRemoveHeaderLabel (typename Trait::InternalString &s) |
|
template<class Trait > |
void | forEach (const typename Trait::template Vector< ItemType > &types, std::shared_ptr< Document< Trait > > doc, ItemFunctor< Trait > func, unsigned int maxNestingLevel=0) |
|
template<class Trait > |
void | githubAutolinkPlugin (std::shared_ptr< Paragraph< Trait > > p, TextParsingOpts< Trait > &po, const typename Trait::StringList &) |
|
bool | indentInList (const std::vector< long long int > *indents, long long int indent, bool codeIndentedBySpaces) |
|
template<class Trait > |
void | initLastItemWithOpts (TextParsingOpts< Trait > &po, std::shared_ptr< ItemWithOpts< Trait > > item) |
|
bool | isClosingStyle (const std::vector< std::pair< Style, long long int > > &styles, Style s) |
|
template<class Trait > |
bool | isCodeFences (const typename Trait::String &s, bool closing=false) |
|
template<class Trait > |
bool | isColumnAlignment (const typename Trait::String &s) |
|
template<class Trait > |
bool | isEmail (const typename Trait::String &url) |
|
template<class Trait > |
bool | isFootnote (const typename Trait::String &s) |
|
template<class Trait > |
bool | isGitHubAutolink (const typename Trait::String &url) |
|
template<> |
bool | isGitHubAutolink< QStringTrait > (const QString &url) |
|
template<> |
bool | isGitHubAutolink< UnicodeStringTrait > (const UnicodeString &url) |
|
template<class Trait > |
bool | isH (const typename Trait::String &s, const typename Trait::Char &c) |
|
template<class Trait > |
bool | isH1 (const typename Trait::String &s) |
|
template<class Trait > |
bool | isH2 (const typename Trait::String &s) |
|
template<class Trait > |
bool | isHorizontalLine (const typename Trait::String &s) |
|
template<class Trait > |
bool | isHtmlComment (const typename Trait::String &s) |
|
template<class Trait > |
std::tuple< bool, long long int, long long int, bool, typename Trait::String > | isHtmlTag (long long int line, long long int pos, TextParsingOpts< Trait > &po, int rule) |
|
template<class Trait > |
bool | isLineBreak (const typename Trait::String &s) |
|
template<class Trait > |
bool | isListItemAndNotNested (const typename Trait::String &s, long long int indent) |
|
template<class Trait > |
bool | isOnlyHtmlTagsAfterOrClosedRule1 (long long int line, long long int pos, TextParsingOpts< Trait > &po, int rule) |
|
template<class Trait > |
bool | isOrderedList (const typename Trait::String &s, int *num=nullptr, int *len=nullptr, typename Trait::Char *delim=nullptr, bool *isFirstLineEmpty=nullptr) |
|
bool | isSemiOptimization (OptimizeParagraphType t) |
|
template<class Trait > |
bool | isSetextHeadingBetween (const TextParsingOpts< Trait > &po, long long int startLine, long long int endLine) |
|
template<class Trait > |
bool | isSkipAllEmphasis (const std::vector< std::pair< std::pair< long long int, bool >, int > > &s, size_t idx) |
|
template<class Trait > |
bool | isStartOfCode (const typename Trait::String &str, typename Trait::String *syntax=nullptr, WithPosition *delim=nullptr, WithPosition *syntaxPos=nullptr) |
|
template<class Trait > |
int | isTableAlignment (const typename Trait::String &s) |
|
template<class Trait > |
int | isTableHeader (const typename Trait::String &s) |
|
template<class Trait > |
bool | isValidUrl (const typename Trait::String &url) |
|
template<> |
bool | isValidUrl< QStringTrait > (const QString &url) |
|
template<> |
bool | isValidUrl< UnicodeStringTrait > (const UnicodeString &url) |
|
bool | isWithoutRawDataOptimization (OptimizeParagraphType t) |
|
template<class Trait > |
long long int | lastNonSpacePos (const typename Trait::String &line) |
|
template<class Trait > |
long long int | lastVirginPositionInParagraph (Item< Trait > *item) |
|
template<class Trait > |
long long int | lineBreakLength (const typename Trait::String &s) |
|
template<class Trait > |
std::tuple< bool, long long int, typename Trait::Char, bool > | listItemData (const typename Trait::String &s, bool wasText) |
|
long long int | listLevel (const std::vector< long long int > &indents, long long int pos) |
|
template<class Trait > |
std::pair< long long int, long long int > | localPosFromVirgin (const MdBlock< Trait > &fr, long long int virginColumn, long long int virginLine) |
|
std::vector< std::pair< std::pair< long long int, bool >, int > > | longestSequenceWithMoreOpeningsAtStart (const std::vector< std::vector< std::pair< std::pair< long long int, bool >, int > > > &vars) |
|
template<class Trait > |
void | makeHeading (std::shared_ptr< Block< Trait > > parent, std::shared_ptr< Document< Trait > > doc, std::shared_ptr< Paragraph< Trait > > p, long long int lastColumn, long long int lastLine, int level, const typename Trait::String &workingPath, const typename Trait::String &fileName, bool collectRefLinks, const WithPosition &delim, TextParsingOpts< Trait > &po) |
|
template<class Trait > |
void | makeHorLine (const typename MdBlock< Trait >::Line &line, std::shared_ptr< Block< Trait > > parent) |
|
template<class Trait > |
std::shared_ptr< Paragraph< Trait > > | makeParagraph (typename Block< Trait >::Items::const_iterator first, typename Block< Trait >::Items::const_iterator last) |
|
template<class Trait > |
void | makeText (long long int lastLine, long long int lastPos, TextParsingOpts< Trait > &po) |
|
template<class Trait > |
void | makeTextObject (const typename Trait::String &text, TextParsingOpts< Trait > &po, long long int startPos, long long int startLine, long long int endPos, long long int endLine, bool doRemoveSpacesAtEnd=false) |
|
template<class Trait > |
void | makeTextObjectWithLineBreak (const typename Trait::String &text, TextParsingOpts< Trait > &po, long long int startPos, long long int startLine, long long int endPos, long long int endLine) |
|
template<class Trait > |
std::pair< long long int, long long int > | nextPosition (const MdBlock< Trait > &fr, long long int pos, long long int line) |
|
void | normalizePos (long long int &pos, long long int &line, long long int length, long long int linesCount) |
|
bool | operator== (const StyleDelim &l, const StyleDelim &r) |
|
bool | operator== (const WithPosition &l, const WithPosition &r) |
|
template<class Trait > |
std::shared_ptr< Paragraph< Trait > > | optimizeParagraph (std::shared_ptr< Paragraph< Trait > > &p, TextParsingOpts< Trait > &po, OptimizeParagraphType type=OptimizeParagraphType::Full) |
|
template<class Trait > |
Trait::String | paragraphToLabel (Paragraph< Trait > *p) |
|
template<class Trait > |
long long int | posOfListItem (const typename Trait::String &s, bool ordered) |
|
template<class Trait > |
Trait::InternalString | prepareTableData (typename Trait::InternalString s) |
|
template<class Trait > |
std::pair< long long int, long long int > | prevPosition (const MdBlock< Trait > &fr, long long int pos, long long int line) |
|
template<class Trait > |
long long int | processGitHubAutolinkExtension (std::shared_ptr< Paragraph< Trait > > p, TextParsingOpts< Trait > &po, long long int idx) |
|
template<class Trait > |
Trait::String | readEscapedSequence (long long int i, const typename Trait::String &str, long long int *endPos=nullptr) |
|
template<class Trait > |
std::pair< bool, bool > | readHtmlAttr (long long int &l, long long int &p, const typename MdBlock< Trait >::Data &fr, bool checkForSpace) |
|
template<class Trait > |
std::pair< bool, bool > | readHtmlAttrValue (long long int &l, long long int &p, const typename MdBlock< Trait >::Data &fr) |
|
template<class Trait > |
std::tuple< long long int, long long int, bool, typename Trait::String, long long int > | readLinkDestination (long long int line, long long int pos, const TextParsingOpts< Trait > &po, WithPosition *urlPos=nullptr) |
|
template<class Trait > |
std::tuple< long long int, long long int, bool, typename Trait::String, long long int > | readLinkTitle (long long int line, long long int pos, const TextParsingOpts< Trait > &po) |
|
template<class Trait > |
std::pair< bool, bool > | readUnquotedHtmlAttrValue (long long int &l, long long int &p, const typename MdBlock< Trait >::Data &fr) |
|
template<class String , class Trait > |
String | removeBackslashes (const String &s) |
|
template<class Trait > |
MdBlock< Trait >::Data | removeBackslashes (const typename MdBlock< Trait >::Data &d) |
|
template<class Trait > |
Trait::String | removeLineBreak (const typename Trait::String &s) |
|
template<class String > |
void | removeSpacesAtEnd (String &s) |
|
template<class Trait > |
Trait::String | replaceEntity (const typename Trait::String &s) |
|
template<class Trait > |
void | replaceTabs (typename Trait::InternalString &s) |
|
template<class Trait > |
void | resetHtmlTag (RawHtmlBlock< Trait > &html) |
|
template<class Trait > |
void | resolveLinks (typename Trait::StringList &linksToParse, std::shared_ptr< Document< Trait > > doc) |
|
template<class Trait > |
void | setLastPos (std::shared_ptr< Item< Trait > > item, long long int pos, long long int line) |
|
template<class Trait > |
long long int | skipSpaces (long long int i, const typename Trait::String &line) |
|
template<class Trait > |
void | skipSpacesInHtml (long long int &l, long long int &p, const typename MdBlock< Trait >::Data &fr) |
|
template<class Trait > |
void | skipSpacesUpTo1Line (long long int &line, long long int &pos, const typename MdBlock< Trait >::Data &fr) |
|
template<class Trait > |
std::shared_ptr< Paragraph< Trait > > | splitParagraphsAndFreeHtml (std::shared_ptr< Block< Trait > > parent, std::shared_ptr< Paragraph< Trait > > p, TextParsingOpts< Trait > &po, bool collectRefLinks, bool fullyOptimizeParagraphs=true) |
|
template<class Trait > |
Trait::StringList | splitString (const typename Trait::String &str, const typename Trait::Char &ch) |
|
template<> |
QStringTrait::StringList | splitString< QStringTrait > (const QString &str, const QChar &ch) |
|
template<> |
UnicodeStringTrait::StringList | splitString< UnicodeStringTrait > (const UnicodeString &str, const UnicodeChar &ch) |
|
template<class Trait > |
std::pair< typename Trait::InternalStringList, std::vector< long long int > > | splitTableRow (const typename Trait::InternalString &s) |
|
template<class Trait > |
Trait::String | startSequence (const typename Trait::String &line) |
|
template<class Trait > |
Trait::String | stringToLabel (const typename Trait::String &s) |
|
TextOption | styleToTextOption (Style s) |
|
template<class Trait > |
long long int | textAtIdx (std::shared_ptr< Paragraph< Trait > > p, size_t idx) |
|
template<class Trait > |
Trait::String | toHtml (std::shared_ptr< Document< Trait > > doc, bool wrapInBodyTag=true, const typename Trait::String &hrefForRefBackImage={}, bool wrapInArticle=true) |
|
template<class Trait > |
void | updateLastPosInList (const RawHtmlBlock< Trait > &html) |
|
template<class Trait > |
Trait::String | virginSubstr (const MdBlock< Trait > &fr, const WithPosition &virginPos) |
|