filters

#include <fileheader.h>

Inheritance diagram for FileHeader:
XmlParser XmlParser

Public Types

enum  TFormat {
  TF_A3 , TF_A4 , TF_A5 , TF_USLETTER ,
  TF_USLEGAL , TF_SCREEN , TF_CUSTOM , TF_B3 ,
  TF_USEXECUTIVE , TF_A3 , TF_A4 , TF_A5 ,
  TF_USLETTER , TF_USLEGAL , TF_SCREEN , TF_CUSTOM ,
  TF_B3 , TF_USEXECUTIVE
}
enum  TUnit {
  TU_MM , TU_CM , TU_PT , TU_INCH ,
  TU_MM , TU_CM , TU_PT , TU_INCH
}
enum  TOrient { TO_PORTRAIT , TO_LANDSCAPE , TO_PORTRAIT , TO_LANDSCAPE }
enum  TColonne {
  TC_NONE , TC_1 , TC_2 , TC_MORE ,
  TC_NONE , TC_1 , TC_2 , TC_MORE
}
enum  THeadfoot {
  TH_ALL = 0 , TH_XXX = 1 , TH_FIRST = 2 , TH_EVODD = 3 ,
  TH_ALL = 0 , TH_XXX = 1 , TH_FIRST = 2 , TH_EVODD = 3
}
enum  TProcType { TP_NORMAL , TP_DTP , TP_NORMAL , TP_DTP }
enum  TFormat {
  TF_A3 , TF_A4 , TF_A5 , TF_USLETTER ,
  TF_USLEGAL , TF_SCREEN , TF_CUSTOM , TF_B3 ,
  TF_USEXECUTIVE , TF_A3 , TF_A4 , TF_A5 ,
  TF_USLETTER , TF_USLEGAL , TF_SCREEN , TF_CUSTOM ,
  TF_B3 , TF_USEXECUTIVE
}
enum  TUnit {
  TU_MM , TU_CM , TU_PT , TU_INCH ,
  TU_MM , TU_CM , TU_PT , TU_INCH
}
enum  TOrient { TO_PORTRAIT , TO_LANDSCAPE , TO_PORTRAIT , TO_LANDSCAPE }
enum  TColonne {
  TC_NONE , TC_1 , TC_2 , TC_MORE ,
  TC_NONE , TC_1 , TC_2 , TC_MORE
}
enum  THeadfoot {
  TH_ALL = 0 , TH_XXX = 1 , TH_FIRST = 2 , TH_EVODD = 3 ,
  TH_ALL = 0 , TH_XXX = 1 , TH_FIRST = 2 , TH_EVODD = 3
}
enum  TProcType { TP_NORMAL , TP_DTP , TP_NORMAL , TP_DTP }

Public Member Functions

virtual ~FileHeader ()
TFormat getFormat () const
TOrient getOrientation () const
TColonne getColumns () const
THeadfoot getHeadType () const
THeadfoot getFootType () const
TUnit getUnit () const
TProcType getProcessing () const
int getStandardPge () const
bool hasHeader () const
bool hasFooter () const
bool hasTOC () const
bool hasColor () const
bool hasUnderline () const
bool hasEnumerate () const
bool hasGraphics () const
bool hasTable () const
void setFormat (TFormat f)
void setFormat (int f)
void setOrientation (TOrient o)
void setOrientation (int o)
void setColumns (TColonne c)
void setColumns (int c)
void setUnit (int u)
void setProcessing (int p)
void setStandardPge (int s)
void setTOC (int t)
void setHeadType (int ht)
void setFootType (int ft)
void useColor ()
void useUnderline ()
void useEnumerate ()
void useGraphics ()
void useTable ()
void analysePaper (const TQDomNode)
void analyseAttributs (const TQDomNode)
void generate (TQTextStream &)
virtual ~FileHeader ()
TFormat getFormat () const
TOrient getOrientation () const
TColonne getColumns () const
THeadfoot getHeadType () const
THeadfoot getFootType () const
TUnit getUnit () const
TProcType getProcessing () const
int getStandardPge () const
bool hasHeader () const
bool hasFooter () const
bool hasTOC () const
bool hasColor () const
bool hasUnderline () const
bool hasEnumerate () const
bool hasGraphics () const
bool hasTable () const
void setFormat (TFormat f)
void setFormat (int f)
void setOrientation (TOrient o)
void setOrientation (int o)
void setColumns (TColonne c)
void setColumns (int c)
void setUnit (int u)
void setProcessing (int p)
void setStandardPge (int s)
void setTOC (int t)
void setHeadType (int ht)
void setFootType (int ft)
void useColor ()
void useUnderline ()
void useEnumerate ()
void useGraphics ()
void useTable ()
void analysePaper (const TQDomNode)
void analyseAttributs (const TQDomNode)
void generate (TQTextStream &)
Public Member Functions inherited from XmlParser
 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 ()

Static Public Member Functions

static FileHeader * instance (void)
static FileHeader * instance (void)

Protected Member Functions

 FileHeader ()
 FileHeader ()

Static Protected Attributes

static FileHeader * _instance = 0
Static Protected Attributes inherited from XmlParser
static FileHeader * _fileHeader = 0
static Document * _root = 0
static TQString _filename

Detailed Description

This class hold all general information about the doc : does it use a color markup, ... ?

paper size, ... and generate the information about the doc (packages and extensions to include, ...). It's the configuration latex file used to include the needed packages, define the paper format, ...

Definition at line 39 of file kspread/latex/export/fileheader.h.

Member Enumeration Documentation

◆ TColonne [1/2]

enum FileHeader::TColonne

Definition at line 46 of file kspread/latex/export/fileheader.h.

◆ TColonne [2/2]

enum FileHeader::TColonne

Definition at line 46 of file kword/latex/export/fileheader.h.

◆ TFormat [1/2]

enum FileHeader::TFormat

Definition at line 42 of file kspread/latex/export/fileheader.h.

◆ TFormat [2/2]

enum FileHeader::TFormat

Definition at line 42 of file kword/latex/export/fileheader.h.

◆ THeadfoot [1/2]

enum FileHeader::THeadfoot

Definition at line 47 of file kspread/latex/export/fileheader.h.

◆ THeadfoot [2/2]

enum FileHeader::THeadfoot

Definition at line 47 of file kword/latex/export/fileheader.h.

◆ TOrient [1/2]

enum FileHeader::TOrient

Definition at line 45 of file kspread/latex/export/fileheader.h.

◆ TOrient [2/2]

enum FileHeader::TOrient

Definition at line 45 of file kword/latex/export/fileheader.h.

◆ TProcType [1/2]

enum FileHeader::TProcType

Definition at line 48 of file kspread/latex/export/fileheader.h.

◆ TProcType [2/2]

enum FileHeader::TProcType

Definition at line 48 of file kword/latex/export/fileheader.h.

◆ TUnit [1/2]

enum FileHeader::TUnit

Definition at line 44 of file kspread/latex/export/fileheader.h.

◆ TUnit [2/2]

enum FileHeader::TUnit

Definition at line 44 of file kword/latex/export/fileheader.h.

Constructor & Destructor Documentation

◆ ~FileHeader() [1/2]

FileHeader::~FileHeader ( )
virtual

Destructor.

Definition at line 51 of file kspread/latex/export/fileheader.cpp.

◆ FileHeader() [1/2]

FileHeader::FileHeader ( )
protected

Constructor.

Definition at line 34 of file kspread/latex/export/fileheader.cpp.

◆ ~FileHeader() [2/2]

virtual FileHeader::~FileHeader ( )
virtual

Destructor.

◆ FileHeader() [2/2]

FileHeader::FileHeader ( )
protected

Constructor.

Member Function Documentation

◆ analyseAttributs()

void FileHeader::analyseAttributs ( const TQDomNode balise)

Definition at line 93 of file kspread/latex/export/fileheader.cpp.

◆ analysePaper()

void FileHeader::analysePaper ( const TQDomNode balise)

Definition at line 77 of file kspread/latex/export/fileheader.cpp.

◆ generate()

void FileHeader::generate ( TQTextStream & out)

Definition at line 106 of file kspread/latex/export/fileheader.cpp.

◆ getColumns() [1/2]

TColonne FileHeader::getColumns ( ) const
inline

Definition at line 101 of file kspread/latex/export/fileheader.h.

◆ getColumns() [2/2]

TColonne FileHeader::getColumns ( ) const
inline

Definition at line 101 of file kword/latex/export/fileheader.h.

◆ getFootType() [1/2]

THeadfoot FileHeader::getFootType ( ) const
inline

Definition at line 103 of file kspread/latex/export/fileheader.h.

◆ getFootType() [2/2]

THeadfoot FileHeader::getFootType ( ) const
inline

Definition at line 103 of file kword/latex/export/fileheader.h.

◆ getFormat() [1/2]

TFormat FileHeader::getFormat ( ) const
inline

Accessors.

Definition at line 99 of file kspread/latex/export/fileheader.h.

◆ getFormat() [2/2]

TFormat FileHeader::getFormat ( ) const
inline

Accessors.

Definition at line 99 of file kword/latex/export/fileheader.h.

◆ getHeadType() [1/2]

THeadfoot FileHeader::getHeadType ( ) const
inline

Definition at line 102 of file kspread/latex/export/fileheader.h.

◆ getHeadType() [2/2]

THeadfoot FileHeader::getHeadType ( ) const
inline

Definition at line 102 of file kword/latex/export/fileheader.h.

◆ getOrientation() [1/2]

TOrient FileHeader::getOrientation ( ) const
inline

Definition at line 100 of file kspread/latex/export/fileheader.h.

◆ getOrientation() [2/2]

TOrient FileHeader::getOrientation ( ) const
inline

Definition at line 100 of file kword/latex/export/fileheader.h.

◆ getProcessing() [1/2]

TProcType FileHeader::getProcessing ( ) const
inline

Definition at line 105 of file kspread/latex/export/fileheader.h.

◆ getProcessing() [2/2]

TProcType FileHeader::getProcessing ( ) const
inline

Definition at line 105 of file kword/latex/export/fileheader.h.

◆ getStandardPge() [1/2]

int FileHeader::getStandardPge ( ) const
inline

Definition at line 106 of file kspread/latex/export/fileheader.h.

◆ getStandardPge() [2/2]

int FileHeader::getStandardPge ( ) const
inline

Definition at line 106 of file kword/latex/export/fileheader.h.

◆ getUnit() [1/2]

TUnit FileHeader::getUnit ( ) const
inline

Definition at line 104 of file kspread/latex/export/fileheader.h.

◆ getUnit() [2/2]

TUnit FileHeader::getUnit ( ) const
inline

Definition at line 104 of file kword/latex/export/fileheader.h.

◆ hasColor() [1/2]

bool FileHeader::hasColor ( ) const
inline

Definition at line 110 of file kspread/latex/export/fileheader.h.

◆ hasColor() [2/2]

bool FileHeader::hasColor ( ) const
inline

Definition at line 110 of file kword/latex/export/fileheader.h.

◆ hasEnumerate() [1/2]

bool FileHeader::hasEnumerate ( ) const
inline

Definition at line 112 of file kspread/latex/export/fileheader.h.

◆ hasEnumerate() [2/2]

bool FileHeader::hasEnumerate ( ) const
inline

Definition at line 112 of file kword/latex/export/fileheader.h.

◆ hasFooter() [1/2]

bool FileHeader::hasFooter ( ) const
inline

Definition at line 108 of file kspread/latex/export/fileheader.h.

◆ hasFooter() [2/2]

bool FileHeader::hasFooter ( ) const
inline

Definition at line 108 of file kword/latex/export/fileheader.h.

◆ hasGraphics() [1/2]

bool FileHeader::hasGraphics ( ) const
inline

Definition at line 113 of file kspread/latex/export/fileheader.h.

◆ hasGraphics() [2/2]

bool FileHeader::hasGraphics ( ) const
inline

Definition at line 113 of file kword/latex/export/fileheader.h.

◆ hasHeader() [1/2]

bool FileHeader::hasHeader ( ) const
inline

Definition at line 107 of file kspread/latex/export/fileheader.h.

◆ hasHeader() [2/2]

bool FileHeader::hasHeader ( ) const
inline

Definition at line 107 of file kword/latex/export/fileheader.h.

◆ hasTable() [1/2]

bool FileHeader::hasTable ( ) const
inline

Definition at line 114 of file kspread/latex/export/fileheader.h.

◆ hasTable() [2/2]

bool FileHeader::hasTable ( ) const
inline

Definition at line 114 of file kword/latex/export/fileheader.h.

◆ hasTOC() [1/2]

bool FileHeader::hasTOC ( ) const
inline

Definition at line 109 of file kspread/latex/export/fileheader.h.

◆ hasTOC() [2/2]

bool FileHeader::hasTOC ( ) const
inline

Definition at line 109 of file kword/latex/export/fileheader.h.

◆ hasUnderline() [1/2]

bool FileHeader::hasUnderline ( ) const
inline

Definition at line 111 of file kspread/latex/export/fileheader.h.

◆ hasUnderline() [2/2]

bool FileHeader::hasUnderline ( ) const
inline

Definition at line 111 of file kword/latex/export/fileheader.h.

◆ instance()

FileHeader * FileHeader::instance ( void )
static

Definition at line 314 of file kspread/latex/export/fileheader.cpp.

◆ setColumns() [1/4]

void FileHeader::setColumns ( int c)
inline

Definition at line 124 of file kspread/latex/export/fileheader.h.

◆ setColumns() [2/4]

void FileHeader::setColumns ( int c)
inline

Definition at line 124 of file kword/latex/export/fileheader.h.

◆ setColumns() [3/4]

void FileHeader::setColumns ( TColonne c)
inline

Definition at line 123 of file kspread/latex/export/fileheader.h.

◆ setColumns() [4/4]

void FileHeader::setColumns ( TColonne c)
inline

Definition at line 123 of file kword/latex/export/fileheader.h.

◆ setFootType() [1/2]

void FileHeader::setFootType ( int ft)
inline

Definition at line 130 of file kspread/latex/export/fileheader.h.

◆ setFootType() [2/2]

void FileHeader::setFootType ( int ft)
inline

Definition at line 130 of file kword/latex/export/fileheader.h.

◆ setFormat() [1/4]

void FileHeader::setFormat ( int f)
inline

Definition at line 120 of file kspread/latex/export/fileheader.h.

◆ setFormat() [2/4]

void FileHeader::setFormat ( int f)
inline

Definition at line 120 of file kword/latex/export/fileheader.h.

◆ setFormat() [3/4]

void FileHeader::setFormat ( TFormat f)
inline

Modifiors.

Definition at line 119 of file kspread/latex/export/fileheader.h.

◆ setFormat() [4/4]

void FileHeader::setFormat ( TFormat f)
inline

Modifiors.

Definition at line 119 of file kword/latex/export/fileheader.h.

◆ setHeadType() [1/2]

void FileHeader::setHeadType ( int ht)
inline

Definition at line 129 of file kspread/latex/export/fileheader.h.

◆ setHeadType() [2/2]

void FileHeader::setHeadType ( int ht)
inline

Definition at line 129 of file kword/latex/export/fileheader.h.

◆ setOrientation() [1/4]

void FileHeader::setOrientation ( int o)
inline

Definition at line 122 of file kspread/latex/export/fileheader.h.

◆ setOrientation() [2/4]

void FileHeader::setOrientation ( int o)
inline

Definition at line 122 of file kword/latex/export/fileheader.h.

◆ setOrientation() [3/4]

void FileHeader::setOrientation ( TOrient o)
inline

Definition at line 121 of file kspread/latex/export/fileheader.h.

◆ setOrientation() [4/4]

void FileHeader::setOrientation ( TOrient o)
inline

Definition at line 121 of file kword/latex/export/fileheader.h.

◆ setProcessing() [1/2]

void FileHeader::setProcessing ( int p)
inline

Definition at line 126 of file kspread/latex/export/fileheader.h.

◆ setProcessing() [2/2]

void FileHeader::setProcessing ( int p)
inline

Definition at line 126 of file kword/latex/export/fileheader.h.

◆ setStandardPge() [1/2]

void FileHeader::setStandardPge ( int s)
inline

Definition at line 127 of file kspread/latex/export/fileheader.h.

◆ setStandardPge() [2/2]

void FileHeader::setStandardPge ( int s)
inline

Definition at line 127 of file kword/latex/export/fileheader.h.

◆ setTOC() [1/2]

void FileHeader::setTOC ( int t)
inline

Definition at line 128 of file kspread/latex/export/fileheader.h.

◆ setTOC() [2/2]

void FileHeader::setTOC ( int t)
inline

Definition at line 128 of file kword/latex/export/fileheader.h.

◆ setUnit() [1/2]

void FileHeader::setUnit ( int u)
inline

Definition at line 125 of file kspread/latex/export/fileheader.h.

◆ setUnit() [2/2]

void FileHeader::setUnit ( int u)
inline

Definition at line 125 of file kword/latex/export/fileheader.h.

◆ useColor() [1/2]

void FileHeader::useColor ( )
inline

Definition at line 131 of file kspread/latex/export/fileheader.h.

◆ useColor() [2/2]

void FileHeader::useColor ( )
inline

Definition at line 131 of file kword/latex/export/fileheader.h.

◆ useEnumerate() [1/2]

void FileHeader::useEnumerate ( )
inline

Definition at line 133 of file kspread/latex/export/fileheader.h.

◆ useEnumerate() [2/2]

void FileHeader::useEnumerate ( )
inline

Definition at line 133 of file kword/latex/export/fileheader.h.

◆ useGraphics() [1/2]

void FileHeader::useGraphics ( )
inline

Definition at line 134 of file kspread/latex/export/fileheader.h.

◆ useGraphics() [2/2]

void FileHeader::useGraphics ( )
inline

Definition at line 134 of file kword/latex/export/fileheader.h.

◆ useTable() [1/2]

void FileHeader::useTable ( )
inline

Definition at line 135 of file kspread/latex/export/fileheader.h.

◆ useTable() [2/2]

void FileHeader::useTable ( )
inline

Definition at line 135 of file kword/latex/export/fileheader.h.

◆ useUnderline() [1/2]

void FileHeader::useUnderline ( )
inline

Definition at line 132 of file kspread/latex/export/fileheader.h.

◆ useUnderline() [2/2]

void FileHeader::useUnderline ( )
inline

Definition at line 132 of file kword/latex/export/fileheader.h.

Member Data Documentation

◆ _instance

FileHeader * FileHeader::_instance = 0
staticprotected

Definition at line 148 of file kspread/latex/export/fileheader.h.


The documentation for this class was generated from the following files: