diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2002-02-24 18:57:25 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2002-02-24 18:57:25 (GMT) |
commit | c7bc295f92f56d1dea369663e058933f550a0187 (patch) | |
tree | 81d72027898b1a75221b9ca82b04075277821a9f /addon/doxmlparser/include/doxmlintf.h | |
parent | 9793ce49f1d7641854ef0608b34c1dd2d4891a20 (diff) | |
download | Doxygen-c7bc295f92f56d1dea369663e058933f550a0187.zip Doxygen-c7bc295f92f56d1dea369663e058933f550a0187.tar.gz Doxygen-c7bc295f92f56d1dea369663e058933f550a0187.tar.bz2 |
Release-1.2.14-20020224
Diffstat (limited to 'addon/doxmlparser/include/doxmlintf.h')
-rw-r--r-- | addon/doxmlparser/include/doxmlintf.h | 91 |
1 files changed, 65 insertions, 26 deletions
diff --git a/addon/doxmlparser/include/doxmlintf.h b/addon/doxmlparser/include/doxmlintf.h index 03a8b3a..067e5fd 100644 --- a/addon/doxmlparser/include/doxmlintf.h +++ b/addon/doxmlparser/include/doxmlintf.h @@ -109,28 +109,28 @@ class IDoc public: enum Kind { - Para, // 0 -> IDocPara - Text, // 1 -> IDocText - MarkupModifier, // 2 -> IDocMarkupModifier - ItemizedList, // 3 -> IDocItemizedList - OrderedList, // 4 -> IDocOrderedList - ListItem, // 5 -> IDocListItem - ParameterList, // 6 -> IDocParameterList - Parameter, // 7 -> IDocParameter - SimpleSect, // 8 -> IDocSimpleSect - Title, // 9 -> IDocTitle - Ref, // 10 -> IDocRef - VariableList, // 11 -> IDocVariableList - VariableListEntry, // 12 -> IDocVariableListEntry - HRuler, // 13 -> IDocHRuler - LineBreak, // 14 -> IDocLineBreak - ULink, // 15 -> IDocULink - EMail, // 16 -> IDocEMail - Link, // 17 -> IDocLink - ProgramListing, // 18 -> IDocProgramListing - CodeLine, // 19 -> IDocCodeLine - Highlight, // 20 -> IDocHighlight - Anchor, // 21 -> IDocAnchor + Invalid = 0, // 0 + Para, // 1 -> IDocPara + Text, // 2 -> IDocText + MarkupModifier, // 3 -> IDocMarkupModifier + ItemizedList, // 4 -> IDocItemizedList + OrderedList, // 5 -> IDocOrderedList + ListItem, // 6 -> IDocListItem + ParameterList, // 7 -> IDocParameterList + Parameter, // 8 -> IDocParameter + SimpleSect, // 9 -> IDocSimpleSect + Title, // 10 -> IDocTitle + Ref, // 11 -> IDocRef + VariableList, // 12 -> IDocVariableList + VariableListEntry, // 13 -> IDocVariableListEntry + HRuler, // 14 -> IDocHRuler + LineBreak, // 15 -> IDocLineBreak + ULink, // 16 -> IDocULink + EMail, // 17 -> IDocEMail + Link, // 18 -> IDocLink + ProgramListing, // 19 -> IDocProgramListing + CodeLine, // 20 -> IDocCodeLine + Highlight, // 21 -> IDocHighlight Formula, // 22 -> IDocFormula Image, // 23 -> IDocImage DotFile, // 24 -> IDocDotFile @@ -270,58 +270,97 @@ class IDocLineBreak : public IDoc class IDocULink : public IDoc { + public: + virtual QString url() = 0; + virtual QString text() = 0; }; class IDocEMail : public IDoc { + public: + virtual QString address() = 0; }; class IDocLink : public IDoc { + public: + virtual QString refId() = 0; + virtual QString text() = 0; }; class IDocProgramListing : public IDoc { + public: + virtual IDocIterator *codeLines() = 0; }; class IDocCodeLine : public IDoc { + public: + virtual int lineNumber() = 0; + virtual QString refId() = 0; + virtual IDocIterator *codeElements() = 0; }; class IDocHighlight : public IDoc { -}; - -class IDocAnchor : public IDoc -{ + public: + enum HighlightKind + { Invalid=0, + Comment, Keyword, + KeywordType, KeywordFlow, CharLiteral, + StringLiteral, Preprocessor + }; + virtual HighlightKind highlightKind() = 0; + virtual IDocIterator *codeElements() = 0; }; class IDocFormula : public IDoc { + public: + virtual QString id() = 0; + virtual QString text() = 0; }; class IDocImage : public IDoc { + public: + virtual QString name() = 0; + virtual QString caption() = 0; }; class IDocDotFile : public IDoc { + public: + virtual QString name() = 0; + virtual QString caption() = 0; }; class IDocIndexEntry : public IDoc { + public: + virtual QString primary() = 0; + virtual QString secondary() = 0; }; class IDocTable : public IDoc { + public: + virtual IDocIterator *rows() = 0; + virtual int numColumns() = 0; + virtual QString caption() = 0; }; class IDocRow : public IDoc { + public: + virtual IDocIterator *entries() = 0; }; class IDocEntry : public IDoc { + public: + virtual IDocIterator *contents() = 0; }; class IDocSection : public IDoc |