#include <document.h>
|
| enum | EGenerate { E_LATEX
, E_KWORD
, E_CONFIG
} |
| |
| typedef const wvWare::FunctorBase * | FunctorPtr |
| |
|
| | Document (const KoStore *in, TQString fileOut) |
| |
| void | analyse () |
| |
| void | generate () |
| |
| | Document () |
| |
| virtual | ~Document () |
| |
| SType | getTypeFrameset (const TQDomNode) |
| |
| void | analyse (const TQDomNode) |
| |
| void | analysePixmaps (const TQDomNode) |
| |
| void | generate (TQTextStream &, bool) |
| |
| Element * | searchAnchor (TQString) |
| |
| Element * | searchFootnote (TQString) |
| |
| Key * | searchKey (TQString keyName) |
| |
| TQString | extractData (TQString key) |
| |
| bool | analyse (TQPtrList< Element > *elt) |
| |
| bool | analyseDocumentClass (Command *documentclass) |
| |
| bool | generate (KoStore *store) |
| |
| void | serialize (KoStore *store, TQDomDocument tree) |
| |
| | Document (const std::string &fileName, TQDomDocument &mainDocument, TQDomDocument &documentInfo, TQDomElement &framesetsElement, KoFilterChain *chain) |
| |
| bool | hasParser () const |
| |
| bool | bodyFound () const |
| |
| virtual void | bodyStart () |
| |
| virtual void | bodyEnd () |
| |
| virtual void | headerStart (wvWare::HeaderData::Type type) |
| |
| virtual void | headerEnd () |
| |
| virtual void | footnoteStart () |
| |
| virtual void | footnoteEnd () |
| |
| bool | parse () |
| |
| void | processSubDocQueue () |
| |
| void | finishDocument () |
| |
| KoStoreDevice * | createPictureFrameSet (const KoSize &size) |
| |
| | XmlParser (TQString) |
| |
| | XmlParser (TQByteArray) |
| |
| | XmlParser (const KoStore *) |
| |
| TQString | getFilename () const |
| |
| TQString | getDocument () const |
| |
| Document * | getRoot () const |
| |
| FileHeader * | getFileHeader () const |
| |
| TQString | getChildName (TQDomNode, int) |
| |
| TQDomNode | getChild (TQDomNode, TQString) |
| |
| TQDomNode | getChild (TQDomNode, TQString, int) |
| |
| TQDomNode | getChild (TQDomNode, int) |
| |
| TQString | getData (TQDomNode, int) |
| |
| TQString | getData (TQDomNode, TQString) |
| |
| int | getNbChild (TQDomNode, TQString) |
| |
| int | getNbChild (TQDomNode) |
| |
| TQString | getAttr (TQDomNode, TQString) const |
| |
| bool | isChild (TQDomNode, TQString) |
| |
| void | setFileHeader (FileHeader *h) |
| |
| void | setRoot (Document *r) |
| |
| TQDomNode | init () |
| |
| | XmlParser (Config *, TQString) |
| |
| | XmlParser (Config *, TQByteArray) |
| |
| | XmlParser (Config *, const KoStore *) |
| |
| TQString | getFilename () const |
| |
| TQString | getDocument () const |
| |
| Document * | getRoot () const |
| |
| KoStore * | getStorage () const |
| |
|
TQString | getChildName (TQDomNode, int) |
| |
|
TQDomNode | getChild (TQDomNode, TQString) |
| |
|
TQDomNode | getChild (TQDomNode, TQString, int) |
| |
|
TQDomNode | getChild (TQDomNode, int) |
| |
|
TQString | getData (TQDomNode, int) |
| |
|
int | getNbChild (TQDomNode, TQString) |
| |
|
int | getNbChild (TQDomNode) |
| |
|
TQString | getAttr (TQDomNode, TQString) const |
| |
|
bool | isChild (TQDomNode, TQString) |
| |
| void | setRoot (Document *r) |
| |
| TQDomNode | init () |
| |
|
| void | slotFirstSectionFound (wvWare::SharedPtr< const wvWare::Word97::SEP >) |
| |
| void | slotSubDocFound (const wvWare::FunctorBase *functor, int data) |
| |
| void | slotTableFound (const KWord::Table &table) |
| |
| void | slotPictureFound (const TQString &frameName, const TQString &pictureName, const wvWare::FunctorBase *) |
| |
| void | slotTableCellStart (int row, int column, int rowSize, int columnSize, const KoRect &cellRect, const TQString &tableName, const wvWare::Word97::BRC &brcTop, const wvWare::Word97::BRC &brcBottom, const wvWare::Word97::BRC &brcLeft, const wvWare::Word97::BRC &brcRight, const wvWare::Word97::SHD &shd) |
| |
| void | slotTableCellEnd () |
| |
This class hold a whole document with its headers, footers, footnotes, endnotes, content, ... It can generate a latex file.
Definition at line 34 of file kspread/latex/export/document.h.
◆ FunctorPtr
| typedef const wvWare::FunctorBase* Document::FunctorPtr |
◆ EGenerate
◆ Document() [1/4]
| Document::Document |
( |
const KoStore * |
in, |
|
|
TQString |
fileOut |
|
) |
| |
◆ ~Document() [1/3]
◆ Document() [2/4]
◆ ~Document() [2/3]
| virtual Document::~Document |
( |
| ) |
|
|
virtual |
Destructor.
Remove the list of headers, footers and the body.
◆ Document() [3/4]
◆ ~Document() [3/3]
◆ Document() [4/4]
| Document::Document |
( |
const std::string & |
fileName, |
|
|
TQDomDocument & |
mainDocument, |
|
|
TQDomDocument & |
documentInfo, |
|
|
TQDomElement & |
framesetsElement, |
|
|
KoFilterChain * |
chain |
|
) |
| |
◆ analyse() [1/3]
| void Document::analyse |
( |
| ) |
|
◆ analyse() [2/3]
| void Document::analyse |
( |
const TQDomNode |
balise | ) |
|
◆ analyse() [3/3]
| bool Document::analyse |
( |
TQPtrList< Element > * |
elt | ) |
|
Analyse the latex tree and keep data.
- Parameters
-
| elt | The root tree which contaisn an entire latex document. |
- Returns
false/code> if the analyse failed.
Definition at line 30 of file kword/latex/import/generator/document.cpp.
◆ analyseDocumentClass()
| bool Document::analyseDocumentClass |
( |
Command * |
documentclass | ) |
|
◆ analysePixmaps()
| void Document::analysePixmaps |
( |
const TQDomNode |
balise | ) |
|
◆ bodyEnd()
| void Document::bodyEnd |
( |
| ) |
|
|
virtual |
◆ bodyFound()
| bool Document::bodyFound |
( |
| ) |
const |
|
inline |
◆ bodyStart()
| void Document::bodyStart |
( |
| ) |
|
|
virtual |
◆ createPictureFrameSet()
| KoStoreDevice * Document::createPictureFrameSet |
( |
const KoSize & |
size | ) |
|
◆ extractData()
| TQString Document::extractData |
( |
TQString |
key | ) |
|
◆ finishDocument()
| void Document::finishDocument |
( |
| ) |
|
◆ footnoteEnd()
| void Document::footnoteEnd |
( |
| ) |
|
|
virtual |
◆ footnoteStart()
| void Document::footnoteStart |
( |
| ) |
|
|
virtual |
◆ generate() [1/3]
| void Document::generate |
( |
| ) |
|
◆ generate() [2/3]
| bool Document::generate |
( |
KoStore * |
store | ) |
|
◆ generate() [3/3]
| void Document::generate |
( |
TQTextStream & |
out, |
|
|
bool |
hasPreambule |
|
) |
| |
◆ getTypeFrameset()
| SType Document::getTypeFrameset |
( |
const TQDomNode |
balise | ) |
|
◆ hasParser()
| bool Document::hasParser |
( |
| ) |
const |
|
inline |
◆ headerEnd()
| void Document::headerEnd |
( |
| ) |
|
|
virtual |
◆ headerStart()
| void Document::headerStart |
( |
wvWare::HeaderData::Type |
type | ) |
|
|
virtual |
◆ parse()
◆ processSubDocQueue()
| void Document::processSubDocQueue |
( |
| ) |
|
◆ searchAnchor()
| Element * Document::searchAnchor |
( |
TQString |
anchor | ) |
|
◆ searchFootnote()
| Element * Document::searchFootnote |
( |
TQString |
footnote | ) |
|
◆ searchKey()
| Key * Document::searchKey |
( |
TQString |
keyName | ) |
|
◆ serialize()
| void Document::serialize |
( |
KoStore * |
store, |
|
|
TQDomDocument |
tree |
|
) |
| |
◆ slotFirstSectionFound
| void Document::slotFirstSectionFound |
( |
wvWare::SharedPtr< const wvWare::Word97::SEP > |
sep | ) |
|
|
protectedslot |
◆ slotPictureFound
| void Document::slotPictureFound |
( |
const TQString & |
frameName, |
|
|
const TQString & |
pictureName, |
|
|
const wvWare::FunctorBase * |
pictureFunctor |
|
) |
| |
|
protectedslot |
◆ slotSubDocFound
| void Document::slotSubDocFound |
( |
const wvWare::FunctorBase * |
functor, |
|
|
int |
data |
|
) |
| |
|
protectedslot |
◆ slotTableCellEnd
| void Document::slotTableCellEnd |
( |
| ) |
|
|
protectedslot |
◆ slotTableCellStart
| void Document::slotTableCellStart |
( |
int |
row, |
|
|
int |
column, |
|
|
int |
rowSize, |
|
|
int |
columnSize, |
|
|
const KoRect & |
cellRect, |
|
|
const TQString & |
tableName, |
|
|
const wvWare::Word97::BRC & |
brcTop, |
|
|
const wvWare::Word97::BRC & |
brcBottom, |
|
|
const wvWare::Word97::BRC & |
brcLeft, |
|
|
const wvWare::Word97::BRC & |
brcRight, |
|
|
const wvWare::Word97::SHD & |
shd |
|
) |
| |
|
protectedslot |
◆ slotTableFound
| void Document::slotTableFound |
( |
const KWord::Table & |
table | ) |
|
|
protectedslot |
The documentation for this class was generated from the following files:
|