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

Used by oofRepXMLEnv::StartReport to visit all report items and describe them in <layout>. More...

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

Public Member Functions

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

Protected Member Functions

virtual void VisitBandFooterBreaks (oofRepBreakList &)
 
virtual void VisitBandFooters (oofRepBandList &)
 
virtual void VisitBandHeaderBreaks (oofRepBreakList &)
 
virtual void VisitBandHeaders (oofRepBandList &)
 
virtual void VisitBandList (oofRepBandList &)
 
virtual void VisitBreakList (oofRepBreakList &)
 
virtual void VisitComplexBand (oofRepBand *)
 Visit a band which is likely to provide one or more optional interfaces. More...
 
virtual void VisitDrawable (oofRepDrawable *)
 
virtual void VisitFirstPageFooters (oofRepBandList &)
 
virtual void VisitFirstPageHeaders (oofRepBandList &)
 
virtual void VisitLayoutBand (oofRepLayoutBand *)
 
virtual void VisitPageFooters (oofRepBandList &)
 
virtual void VisitPageHeaders (oofRepBandList &)
 
void VisitTypedBand (oofRepBand *)
 
void WriteColumns (oofRepBand *inBand)
 
Visit Associated band or break lists
virtual void VisitBody (oofRepBand *)
 that top body is likely to be complex so doesn't bother testing. More...
 
virtual void VisitIterableBandBody (oofRepBand *)
 Isolates these bands so more complex visitors can optimise their querying. More...
 
core visit methods
virtual void VisitBlockList (oofRepBlockList &)
 
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 *)
 
override these if you need to update some kind of depth counter as the default traverses above are used
virtual void EnterLevel ()
 
virtual void LeaveLevel ()
 

Protected Attributes

oofIDfactorymIdentities
 
oofRepmRep
 

Detailed Description

Used by oofRepXMLEnv::StartReport to visit all report items and describe them in <layout>.

This is the most significant of the visitors - it writes the information crucial to recreating a report.

Note
we overload the term "layout" where this refers to the overall layout of a report and has nothing to do with the use in oofRepLayoutBand or its associated render classes. In that latter case, "layout" refers to layout of fixed sized blocks within a band.

Definition at line 300 of file oofrpXML.cpp.

Constructor & Destructor Documentation

OOF_repXMLlayoutVisitor::OOF_repXMLlayoutVisitor ( oofIDfactory identities)
inline

Definition at line 302 of file oofrpXML.cpp.

Member Function Documentation

void oofRepVisitor::EnterLevel ( )
protectedvirtualinherited
void oofRepVisitor::LeaveLevel ( )
protectedvirtualinherited
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 OOF_repXMLlayoutVisitor::VisitBandFooterBreaks ( oofRepBreakList inBreaks)
protectedvirtual

Reimplemented from oofRepVisitor.

Definition at line 414 of file oofrpXML.cpp.

References oofRepStreamEnv::out().

void OOF_repXMLlayoutVisitor::VisitBandFooters ( oofRepBandList inBands)
protectedvirtual

Reimplemented from oofRepVisitor.

Definition at line 386 of file oofrpXML.cpp.

References oofRepBandList::keepTogether(), and oofRepStreamEnv::out().

void OOF_repXMLlayoutVisitor::VisitBandHeaderBreaks ( oofRepBreakList inBreaks)
protectedvirtual

Reimplemented from oofRepVisitor.

Definition at line 401 of file oofrpXML.cpp.

References oofRepStreamEnv::out().

void OOF_repXMLlayoutVisitor::VisitBandHeaders ( oofRepBandList inBands)
protectedvirtual

Reimplemented from oofRepVisitor.

Definition at line 371 of file oofrpXML.cpp.

References oofRepBandList::keepTogether(), and oofRepStreamEnv::out().

void OOF_repXMLlayoutVisitor::VisitBandList ( oofRepBandList inBands)
protectedvirtual

Reimplemented from oofRepVisitor.

Definition at line 427 of file oofrpXML.cpp.

References oofRepVisitor::VisitBandList().

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 OOF_repXMLlayoutVisitor::VisitBreakList ( oofRepBreakList inBreaks)
protectedvirtual
void OOF_repXMLlayoutVisitor::VisitComplexBand ( oofRepBand inBand)
protectedvirtual

Visit a band which is likely to provide one or more optional interfaces.

Simplifies VisitBand so it doesn't have to check these interfaces:

Reimplemented from oofRepVisitor.

Definition at line 466 of file oofrpXML.cpp.

References oofTagMaker::encodeName(), oofRepDrawable::ID(), oofTagMaker::makeClosingTag(), oofTagMaker::makeOpeningTag(), dbView::name(), oofRepStreamEnv::out(), oofString::quoteString(), oofRepDrawable::view(), and oofRepVisitor::VisitComplexBand().

void OOF_repXMLlayoutVisitor::VisitDrawable ( oofRepDrawable inDrawable)
protectedvirtual

Reimplemented from oofRepVisitor.

Definition at line 618 of file oofrpXML.cpp.

References oofRepDrawable::describeLayout().

void OOF_repXMLlayoutVisitor::VisitFirstPageFooters ( oofRepBandList inBands)
protectedvirtual

Reimplemented from oofRepVisitor.

Definition at line 344 of file oofrpXML.cpp.

References oofRepStreamEnv::out().

void OOF_repXMLlayoutVisitor::VisitFirstPageHeaders ( oofRepBandList inBands)
protectedvirtual

Reimplemented from oofRepVisitor.

Definition at line 331 of file oofrpXML.cpp.

References oofRepStreamEnv::out().

void oofRepVisitor::VisitIterableBandBody ( oofRepBand inBand)
protectedvirtualinherited

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

Default case just treats as normal band.

Reimplemented in OOF_repEditSetupVisitor, and OOF_repXMLstyleVisitor.

Definition at line 1690 of file oofrep2.cpp.

References oofRepVisitor::VisitBand().

Referenced by oofRepVisitor::VisitComplexBand(), and OOF_repXMLstyleVisitor::VisitIterableBandBody().

void OOF_repXMLlayoutVisitor::VisitLayoutBand ( oofRepLayoutBand inBand)
protectedvirtual
void OOF_repXMLlayoutVisitor::VisitPageFooters ( oofRepBandList inBands)
protectedvirtual

Reimplemented from oofRepVisitor.

Definition at line 364 of file oofrpXML.cpp.

void OOF_repXMLlayoutVisitor::VisitPageHeaders ( oofRepBandList inBands)
protectedvirtual

Reimplemented from oofRepVisitor.

Definition at line 357 of file oofrpXML.cpp.

void oofRepVisitor::VisitTypedBand ( oofRepBand inBand)
protectedinherited
void OOF_repXMLlayoutVisitor::WriteColumns ( oofRepBand inBand)
protected

Member Data Documentation

oofIDfactory& OOF_repXMLlayoutVisitor::mIdentities
protected

Definition at line 326 of file oofrpXML.cpp.

oofRep* oofRepVisitor::mRep
protectedinherited

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