Public Member Functions | Protected Member Functions | Protected Attributes

s_LaTeX_Listener Class Reference

Inheritance diagram for s_LaTeX_Listener:

List of all members.

Public Member Functions

 s_LaTeX_Listener (PD_Document *pDocument, IE_Exp_LaTeX *pie, const LaTeX_Analysis_Listener &analysis)
virtual ~s_LaTeX_Listener ()
virtual bool populate (fl_ContainerLayout *sfh, const PX_ChangeRecord *pcr)
virtual bool populateStrux (pf_Frag_Strux *sdh, const PX_ChangeRecord *pcr, fl_ContainerLayout **psfh)
virtual bool change (fl_ContainerLayout *sfh, const PX_ChangeRecord *pcr)
virtual bool insertStrux (fl_ContainerLayout *sfh, const PX_ChangeRecord *pcr, pf_Frag_Strux *sdh, PL_ListenerId lid, void(*pfnBindHandles)(pf_Frag_Strux *sdhNew, PL_ListenerId lid, fl_ContainerLayout *sfhNew))
virtual bool signal (UT_uint32 iSignal)

Protected Member Functions

void _closeBlock (void)
void _closeCell (void)
void _closeParagraph (void)
void _closeSection (void)
void _closeSpan (void)
void _closeTable (void)
void _closeList (void)
void _closeLists (void)
void _openCell (PT_AttrPropIndex api)
void _openParagraph (PT_AttrPropIndex api)
void _openSection (PT_AttrPropIndex api)
void _openSpan (PT_AttrPropIndex api)
void _openTable (PT_AttrPropIndex api)
void _outputBabelPackage (void)
void _outputData (const UT_UCSChar *p, UT_uint32 length)
void _handleDataItems (void)
void _convertFontSize (UT_String &szDest, const char *pszFontSize)
void _convertColor (UT_String &szDest, const char *pszColor)
void _handleImage (const PP_AttrProp *pAP)

Protected Attributes

bool m_bInBlock
bool m_bInCell
bool m_bInSection
bool m_bInSpan
bool m_bInList
bool m_bInScript
bool m_bInHeading
bool m_bInFootnote
bool m_bBetweenQuotes
const PP_AttrPropm_pAP_Span
bool m_bMultiCols
bool m_bInSymbol
bool m_bInEndnote
bool m_bHaveEndnote
bool m_bOverline
JustificationTypes m_eJustification
bool m_bLineHeight
int ChapterNumber
int m_DefaultFontSize
int m_Indent
int m_NumCloseBrackets
int m_TableWidth
int m_CellLeft
int m_CellRight
int m_CellTop
int m_CellBot
FL_ListType list_type
std::stack< FL_ListTypelist_stack
UT_uint16 m_iBlockType
UT_Wctomb m_wctomb
int m_RowNuminTable
int m_ExpectedLeft
std::deque< UT_Rect * > * m_pqRect
unsigned int m_index

Constructor & Destructor Documentation

s_LaTeX_Listener::~s_LaTeX_Listener (  )  [virtual]

Member Function Documentation

void s_LaTeX_Listener::_closeCell ( void   )  [protected]
void s_LaTeX_Listener::_closeList ( void   )  [protected]
void s_LaTeX_Listener::_closeLists ( void   )  [protected]

References _closeList(), list_stack, and m_bInList.

Referenced by _closeSection(), and _openParagraph().

void s_LaTeX_Listener::_closeParagraph ( void   )  [protected]
void s_LaTeX_Listener::_closeSection ( void   )  [protected]
void s_LaTeX_Listener::_closeSpan ( void   )  [protected]
void s_LaTeX_Listener::_closeTable ( void   )  [protected]

References m_pie, m_pqRect, and IE_Exp::write().

Referenced by populateStrux().

void s_LaTeX_Listener::_convertColor ( UT_String szDest,
const char *  pszColor 
) [protected]

References UT_String_sprintf().

Referenced by _openSpan().

void s_LaTeX_Listener::_convertFontSize ( UT_String szDest,
const char *  pszFontSize 
) [protected]
void s_LaTeX_Listener::_handleDataItems ( void   )  [protected]

Referenced by ~s_LaTeX_Listener().

void s_LaTeX_Listener::_openSection ( PT_AttrPropIndex  api  )  [protected]
void s_LaTeX_Listener::_openTable ( PT_AttrPropIndex  api  )  [protected]
void s_LaTeX_Listener::_outputBabelPackage ( void   )  [protected]
bool s_LaTeX_Listener::change ( fl_ContainerLayout sfh,
const PX_ChangeRecord pcr 
) [virtual]

Implements PL_Listener.

References UT_ASSERT.

virtual bool s_LaTeX_Listener::insertStrux ( fl_ContainerLayout sfh,
const PX_ChangeRecord pcr,
pf_Frag_Strux sdh,
PL_ListenerId  lid,
void(*)(pf_Frag_Strux *sdhNew, PL_ListenerId lid, fl_ContainerLayout *sfhNew)  pfnBindHandles 
) [virtual]

Implements PL_Listener.

bool s_LaTeX_Listener::signal ( UT_uint32  iSignal  )  [virtual]

Implements PL_Listener.


Member Data Documentation

Referenced by _openSection(), and _outputData().

bool s_LaTeX_Listener::m_bInSpan [protected]

Referenced by _closeSpan(), and _openSpan().

Referenced by _closeBlock(), and _openParagraph().

Referenced by _closeSection(), and _openSection().

Referenced by _closeSpan(), and _openSpan().

int s_LaTeX_Listener::m_CellBot [protected]

Referenced by _closeCell(), and _openCell().

Referenced by _closeCell(), and _openCell().

Referenced by _closeCell(), and _openCell().

int s_LaTeX_Listener::m_CellTop [protected]

Referenced by _closeCell(), and _openCell().

int s_LaTeX_Listener::m_Indent [protected]

Referenced by _openParagraph().

unsigned int s_LaTeX_Listener::m_index [protected]

Referenced by _openCell(), and _openTable().

Referenced by _closeSpan(), and _openSpan().

Referenced by _closeSpan(), and _openSpan().

Referenced by _openCell(), and _openTable().

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