LibreOffice Module lotuswordpro (master) 1
Static Public Member Functions | Static Public Attributes | List of all members
XFGlobal Class Reference

Global object, it manages all global variables for the full filter. More...

#include <xfglobal.hxx>

Static Public Member Functions

static OUString GenSectionName ()
 @descr Generate a name for the section. More...
 
static OUString GenFrameName ()
 @descr Gen a name for the frame. More...
 
static OUString GenTableName ()
 @descr Generate a name for a table. More...
 
static OUString GenNoteName ()
 @descr Generate a name for a note. More...
 
static OUString GenStrokeDashName ()
 @descr Generate a name for the stroke style. More...
 
static OUString GenAreaName ()
 @descr Generate a name for the area fill style. More...
 
static OUString GenImageName ()
 @descr Generate a name for an image object More...
 
static void Reset ()
 @descr Reset all global variables. More...
 

Static Public Attributes

static int s_nSectionID = 1
 
static int s_nFrameID = 1
 
static int s_nNoteID = 1
 
static int s_nStrokeDashID = 1
 
static int s_nAreaID = 1
 
static int s_nImageID = 1
 

Detailed Description

Global object, it manages all global variables for the full filter.

Before loading a file, we'll need to reset all global variables. XFGlobal::Reset can do this for you.

Definition at line 81 of file xfglobal.hxx.

Member Function Documentation

◆ GenAreaName()

OUString XFGlobal::GenAreaName ( )
static

@descr Generate a name for the area fill style.

Definition at line 102 of file xfglobal.cxx.

References s_nAreaID.

Referenced by XFDrawStyle::SetAreaColor(), and XFDrawStyle::SetAreaLineStyle().

◆ GenFrameName()

OUString XFGlobal::GenFrameName ( )
static

@descr Gen a name for the frame.

Definition at line 77 of file xfglobal.cxx.

References s_nFrameID.

◆ GenImageName()

OUString XFGlobal::GenImageName ( )
static

@descr Generate a name for an image object

Definition at line 108 of file xfglobal.cxx.

References s_nImageID.

Referenced by XFImage::XFImage().

◆ GenNoteName()

OUString XFGlobal::GenNoteName ( )
static

@descr Generate a name for a note.

Definition at line 90 of file xfglobal.cxx.

References s_nNoteID.

Referenced by XFEndNote::XFEndNote(), and XFFootNote::XFFootNote().

◆ GenSectionName()

OUString XFGlobal::GenSectionName ( )
static

@descr Generate a name for the section.

Definition at line 70 of file xfglobal.cxx.

References s_nSectionID.

Referenced by XFSection::XFSection().

◆ GenStrokeDashName()

OUString XFGlobal::GenStrokeDashName ( )
static

@descr Generate a name for the stroke style.

Definition at line 96 of file xfglobal.cxx.

References s_nStrokeDashID.

Referenced by XFDrawStyle::SetLineDashStyle(), and XFDrawStyle::SetLineStyle().

◆ GenTableName()

OUString XFGlobal::GenTableName ( )
static

@descr Generate a name for a table.

Definition at line 84 of file xfglobal.cxx.

References s_nFrameID.

Referenced by XFTable::XFTable().

◆ Reset()

void XFGlobal::Reset ( void  )
static

@descr Reset all global variables.

Definition at line 114 of file xfglobal.cxx.

References s_nAreaID, s_nFrameID, s_nNoteID, s_nSectionID, and s_nStrokeDashID.

Referenced by XFGlobalReset().

Member Data Documentation

◆ s_nAreaID

int XFGlobal::s_nAreaID = 1
static

Definition at line 129 of file xfglobal.hxx.

Referenced by GenAreaName(), and Reset().

◆ s_nFrameID

int XFGlobal::s_nFrameID = 1
static

Definition at line 126 of file xfglobal.hxx.

Referenced by GenFrameName(), GenTableName(), and Reset().

◆ s_nImageID

int XFGlobal::s_nImageID = 1
static

Definition at line 130 of file xfglobal.hxx.

Referenced by GenImageName().

◆ s_nNoteID

int XFGlobal::s_nNoteID = 1
static

Definition at line 127 of file xfglobal.hxx.

Referenced by GenNoteName(), and Reset().

◆ s_nSectionID

int XFGlobal::s_nSectionID = 1
static

Definition at line 125 of file xfglobal.hxx.

Referenced by GenSectionName(), and Reset().

◆ s_nStrokeDashID

int XFGlobal::s_nStrokeDashID = 1
static

Definition at line 128 of file xfglobal.hxx.

Referenced by GenStrokeDashName(), and Reset().


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