OOFILE  1.9
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members

Used by oofRepXMLEnv::StartReport to visit all stylable items. More...

Inheritance diagram for OOF_repXMLstyleVisitor:
Inheritance graph
[legend]
Collaboration diagram for OOF_repXMLstyleVisitor:
Collaboration graph
[legend]

Public Member Functions

bool adornersEncountered () const
 
 OOF_repXMLstyleVisitor (oofIDfactory &identities)
 
virtual void visit (oofRep *)
 Top-level that iterates all the others, encapsulating report structure. More...
 

Protected Member Functions

virtual void EnterLevel ()
 
virtual void LeaveLevel ()
 
virtual void VisitDrawable (oofRepDrawable *)
 
virtual void VisitIterableBandBody (oofRepBand *)
 Isolates these bands so more complex visitors can optimise their querying. More...
 
void VisitTypedBand (oofRepBand *)
 
Visit Associated band or break lists
virtual void VisitFirstPageHeaders (oofRepBandList &)
 
virtual void VisitFirstPageFooters (oofRepBandList &)
 
virtual void VisitPageHeaders (oofRepBandList &)
 
virtual void VisitPageFooters (oofRepBandList &)
 
virtual void VisitBody (oofRepBand *)
 that top body is likely to be complex so doesn't bother testing. More...
 
virtual void VisitBandHeaders (oofRepBandList &)
 
virtual void VisitBandFooters (oofRepBandList &)
 
virtual void VisitBandHeaderBreaks (oofRepBreakList &)
 
virtual void VisitBandFooterBreaks (oofRepBreakList &)
 
core visit methods
virtual void VisitBandList (oofRepBandList &)
 
virtual void VisitBreakList (oofRepBreakList &)
 
virtual void VisitBlockList (oofRepBlockList &)
 
virtual void VisitComplexBand (oofRepBand *)
 Visit a band which is likely to provide one or more optional interfaces. More...
 
virtual void VisitLayoutBand (oofRepLayoutBand *)
 
virtual void VisitBlock (oofRepBlock *)
 
virtual void VisitBand (oofRepBand *)
 
methods for subclass to visit adorners, not called by default visit traversal
virtual void VisitAdornerList (oofAdornerList &)
 
virtual void VisitAdorner (oofAdorner *)
 

Protected Attributes

bool mAdornersEncountered
 
oofIDfactorymIdentities
 
const oofString mIndent
 
oofRepmRep
 
bool mSetThisIDanyway
 

Detailed Description

Used by oofRepXMLEnv::StartReport to visit all stylable items.

Creates strings in CSS format inside <style> tag.

See also
oofGraphSettings2CSS::emitCSSstyle
oofRepTextStyle2CSS::emitCSSstyle
Warning
MUST be run before the layout visitor, to assign the ID's

Definition at line 66 of file oofrpXML.cpp.

Constructor & Destructor Documentation

OOF_repXMLstyleVisitor::OOF_repXMLstyleVisitor ( oofIDfactory identities)
inline

Definition at line 68 of file oofrpXML.cpp.

Member Function Documentation

bool OOF_repXMLstyleVisitor::adornersEncountered ( ) const
inline

Definition at line 90 of file oofrpXML.cpp.

Referenced by oofRepXMLEnv::StartReport().

void OOF_repXMLstyleVisitor::EnterLevel ( )
protectedvirtual

Reimplemented from oofRepVisitor.

Definition at line 153 of file oofrpXML.cpp.

void OOF_repXMLstyleVisitor::LeaveLevel ( )
protectedvirtual

Reimplemented from oofRepVisitor.

Definition at line 160 of file oofrpXML.cpp.

void oofRepVisitor::visit ( oofRep inRep)
virtualinherited
void oofRepVisitor::VisitAdorner ( oofAdorner )
protectedvirtualinherited

Reimplemented in OOF_repXMLadornerVisitor, and OOF_repMakeRenderVisitor.

Definition at line 1658 of file oofrep2.cpp.

Referenced by oofRepVisitor::VisitAdornerList().

void oofRepVisitor::VisitAdornerList ( oofAdornerList inList)
protectedvirtualinherited
void oofRepVisitor::VisitBand ( oofRepBand inBand)
protectedvirtualinherited
void oofRepVisitor::VisitBandFooterBreaks ( oofRepBreakList inBreaks)
protectedvirtualinherited

Reimplemented in OOF_repXMLlayoutVisitor.

Definition at line 1593 of file oofrep2.cpp.

References oofRepVisitor::VisitBreakList().

Referenced by oofRepVisitor::VisitComplexBand().

void oofRepVisitor::VisitBandFooters ( oofRepBandList inBands)
protectedvirtualinherited

Reimplemented in OOF_repXMLlayoutVisitor.

Definition at line 1579 of file oofrep2.cpp.

References oofRepVisitor::VisitBandList().

Referenced by oofRepVisitor::VisitComplexBand().

void oofRepVisitor::VisitBandHeaderBreaks ( oofRepBreakList inBreaks)
protectedvirtualinherited

Reimplemented in OOF_repXMLlayoutVisitor.

Definition at line 1586 of file oofrep2.cpp.

References oofRepVisitor::VisitBreakList().

Referenced by oofRepVisitor::VisitComplexBand().

void oofRepVisitor::VisitBandHeaders ( oofRepBandList inBands)
protectedvirtualinherited

Reimplemented in OOF_repXMLlayoutVisitor.

Definition at line 1572 of file oofrep2.cpp.

References oofRepVisitor::VisitBandList().

Referenced by oofRepVisitor::VisitComplexBand().

void oofRepVisitor::VisitBandList ( oofRepBandList inBands)
protectedvirtualinherited
void oofRepVisitor::VisitBlock ( oofRepBlock inBlock)
protectedvirtualinherited

Definition at line 1665 of file oofrep2.cpp.

References oofRepVisitor::VisitDrawable().

Referenced by oofRepVisitor::VisitBlockList().

void oofRepVisitor::VisitBlockList ( oofRepBlockList inBlocks)
protectedvirtualinherited
void oofRepVisitor::VisitBody ( oofRepBand inBand)
protectedvirtualinherited

that top body is likely to be complex so doesn't bother testing.

Definition at line 1563 of file oofrep2.cpp.

References oofRepVisitor::EnterLevel(), oofRepVisitor::LeaveLevel(), and oofRepVisitor::VisitComplexBand().

void oofRepVisitor::VisitBreakList ( oofRepBreakList inBreaks)
protectedvirtualinherited
void oofRepVisitor::VisitComplexBand ( oofRepBand inBand)
protectedvirtualinherited
void OOF_repXMLstyleVisitor::VisitDrawable ( oofRepDrawable inDrawable)
protectedvirtual
void oofRepVisitor::VisitFirstPageFooters ( oofRepBandList inBands)
protectedvirtualinherited

Reimplemented in OOF_repXMLlayoutVisitor.

Definition at line 1539 of file oofrep2.cpp.

References oofRepVisitor::VisitBandList().

Referenced by oofRepVisitor::visit().

void oofRepVisitor::VisitFirstPageHeaders ( oofRepBandList inBands)
protectedvirtualinherited

Reimplemented in OOF_repXMLlayoutVisitor.

Definition at line 1532 of file oofrep2.cpp.

References oofRepVisitor::VisitBandList().

Referenced by oofRepVisitor::visit().

void OOF_repXMLstyleVisitor::VisitIterableBandBody ( oofRepBand inBand)
protectedvirtual

Isolates these bands so more complex visitors can optimise their querying.

Default case just treats as normal band.

Reimplemented from oofRepVisitor.

Definition at line 145 of file oofrpXML.cpp.

References oofRepVisitor::VisitIterableBandBody().

void oofRepVisitor::VisitLayoutBand ( oofRepLayoutBand inBand)
protectedvirtualinherited
void oofRepVisitor::VisitPageFooters ( oofRepBandList inBands)
protectedvirtualinherited

Reimplemented in OOF_repXMLlayoutVisitor.

Definition at line 1553 of file oofrep2.cpp.

References oofRepVisitor::VisitBandList().

Referenced by oofRepVisitor::visit().

void oofRepVisitor::VisitPageHeaders ( oofRepBandList inBands)
protectedvirtualinherited

Reimplemented in OOF_repXMLlayoutVisitor.

Definition at line 1546 of file oofrep2.cpp.

References oofRepVisitor::VisitBandList().

Referenced by oofRepVisitor::visit().

void oofRepVisitor::VisitTypedBand ( oofRepBand inBand)
protectedinherited

Member Data Documentation

bool OOF_repXMLstyleVisitor::mAdornersEncountered
protected

Definition at line 85 of file oofrpXML.cpp.

oofIDfactory& OOF_repXMLstyleVisitor::mIdentities
protected

Definition at line 83 of file oofrpXML.cpp.

const oofString OOF_repXMLstyleVisitor::mIndent
protected

Definition at line 84 of file oofrpXML.cpp.

oofRep* oofRepVisitor::mRep
protectedinherited
bool OOF_repXMLstyleVisitor::mSetThisIDanyway
protected

Definition at line 85 of file oofrpXML.cpp.


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