Difference between revisions of "SwNodesBNF"
From Apache OpenOffice Wiki
m (→SwNodes) |
m (→SwNodes) |
||
Line 1: | Line 1: | ||
− | |||
− | |||
Let us describe a "well-formed" SwNodes array of a Writer document in Backus-Naur form. | Let us describe a "well-formed" SwNodes array of a Writer document in Backus-Naur form. | ||
Revision as of 15:35, 16 November 2007
Let us describe a "well-formed" SwNodes array of a Writer document in Backus-Naur form.
There are the following node types used as "terminal" symbols:
StartNd = SwNormalStartNode EndNd = SwEndNode TextNd = SwTxtNode GraphicNd = SwGrfNode OLENd = SwOLENode TableNd = SwTableNode SectionNd = SwSectionNode CellNd = SwTableBoxStartNode FlyNd = SwFlyStartNode FootnoteNd = SwFootnoteStartNode HeaderNd = SwHeaderStartNode FooterNd = SwFooterStartNode
<Document> ::= <Empty> <Footnote content> <Special content> <Change tracking> <Body content>
<Empty> ::= StartNd EndNd
<Body content> ::= StartNd <Content> EndNd
<Content> ::= TextNd | <'Table> |