#include <oofrep.h>
Inheritance diagram for oofRepBlock:


multi-method dispatch to factories for rendering report objects. | |
| one for each environment
| |
| virtual void | makeRender (const oofRepMacEnv &) |
| virtual void | makeRender (const oofRepWinEnv &) |
| virtual void | makeRender (const oofRepTextEnv &) |
| virtual void | makeRender (const oofRepRTFEnv &) |
| virtual void | makeRender (const oofRepHTMLEnv &) |
| virtual void | makeRender (const oofRepCSVEnv &) |
| virtual void | makeRender (const oofRepTSVEnv &) |
| virtual void | makeRender (const oofRepXMLEnv &) |
| virtual void | makeRender (const oofRepEditingEnv &) |
| Just make a renderer for the GUI environment as if not editing because by default most drawables are not editable! | |
Public Types | |
| enum | blockAlignT { alignLeft, alignCentre, alignRight } |
Public Member Functions | |
| oofRepBlock (oofRepTextStyle *adoptedStyle=0) | |
| virtual | ~oofRepBlock () |
| virtual oofRepBlock * | clone () const=0 |
| virtual oofRepTextStyle * | textStyle () const |
| blockAlignT | align () const |
| oofRepBlock & | align (blockAlignT) |
| bool | moveDownAfter () const |
| Indicate if a layout band should start a new row of blocks. | |
| oofRepBlock & | moveDownAfter (bool) |
| Set the flag to be returned by moveDownAfter(). | |
| virtual unsigned long | fixedHeight () |
| unsigned long | fixedWidth () |
| oofRepBlock & | fixedWidth (unsigned long) |
| virtual unsigned int | countCells () const |
| virtual oofString | getCellText (bool *outIsEditable=0, oofString *outLocationName=0, long row=0, short col=0) const |
| virtual void | setCellText (const oofString &, long row=0, short col=0) |
| virtual void | finishConstruction () |
| null base method occasionally overriden | |
| virtual void | draw () |
| central default call for drawing, but still able to be overriden in extreme cases. | |
| virtual void | describeLayout () |
| central default call like draw() but still able to be overriden in extreme cases. | |
| virtual dbView * | view (unsigned short whichView=0) const |
| Request a dbView which may be the source of data for the item. | |
| virtual unsigned long | width () |
| virtual oofRepEditLink * | makeEditLink (const oofRepEditingEnv &) |
| Make an editor for this drawable - by default return a null link. | |
| oofString | ID () const |
| void | ID (const oofString &) |
| void | clearID () |
| oofRepTextStyle * | localTextStyle () const |
| Get style owned by this object. | |
| oofRepTextStyle * | uniqueTextStyle () |
| Get a style unique to this object, cloning the one we'd normally use if necessary. | |
| void | textStyle (oofRepTextStyle *adoptedStyle) |
| Set style owned by this object. | |
| void | textStyle (const char *fontName, unsigned short fontSize, unsigned char styleNum=0, short leading=0, oofColor color=oofColor::Black) |
| Set style owned by this object, creating from the font parameters. | |
| oofAdornerList & | adorners () |
| bool | hasAdorners () const |
Protected Attributes | |
| unsigned long | mFixedWidth |
| blockAlignT | mAlignment |
| bool | mMoveDownAfter |
| oofRepRender * | mRender |
| oofString | mID |
| oofRepTextStyle * | mStyle |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Implemented in oofRepTextBlock, oofRepPictBlock, oofRepFieldBlock, and oofRepPageNoBlock. |
|
|
Reimplemented in oofRepTextBlock, oofRepBracketedTextBlock, and oofRepPictBlock. |
|
|
central default call like draw() but still able to be overriden in extreme cases. Provides a second virtual function for renderers used by backends such as XML which have distinct drawing time and declarative time operations |
|
|
central default call for drawing, but still able to be overriden in extreme cases. Now that all is factored out to the render objects (Strategy pattern) we shouldn't need to do anything.regarding actual output Reimplemented in oofRepGraphBand, oofRepLayoutBand, and oofRepViewBand. |
|
|
null base method occasionally overriden
Reimplemented in oofRepGraphBand. |
|
|
Reimplemented from oofRepDrawable. Reimplemented in oofRepPictBlock. |
|
|
|
|
|
|
|
||||||||||||||||||||
|
Reimplemented in oofRepTextBlock, oofRepPictBlock, oofRepFieldBlock, and oofRepPageNoBlock. |
|
|
|
|
|
|
|
|
|
|
|
Get style owned by this object.
|
|
|
Make an editor for this drawable - by default return a null link. Note that this is separated from the making of render wrappers as editing may have its own complexities - a given drawable may therefore provide a subclassed edit link but use standard wrapping. Reimplemented in oofRepViewBand. |
|
|
Just make a renderer for the GUI environment as if not editing because by default most drawables are not editable!
Reimplemented in oofRepLayoutBand, oofRepViewBand, oofRepTextBlock, and oofRepPictBlock. |
|
|
Reimplemented in oofRepSpaceBand, oofRepGraphBand, oofRepLineBand, oofRepLayoutBand, oofRepViewBand, oofRepTextBlock, oofRepPictBlock, oofRepPageNoBlock, and oofRepPictBand. |
|
|
Reimplemented in oofRepSpaceBand, oofRepGraphBand, oofRepLineBand, oofRepLayoutBand, oofRepViewBand, oofRepTextBlock, oofRepPictBlock, and oofRepPictBand. |
|
|
Reimplemented in oofRepSpaceBand, oofRepGraphBand, oofRepLineBand, oofRepLayoutBand, oofRepViewBand, oofRepTextBlock, oofRepPictBlock, and oofRepPictBand. |
|
|
Reimplemented in oofRepSpaceBand, oofRepGraphBand, oofRepLineBand, oofRepLayoutBand, oofRepViewBand, oofRepTextBlock, oofRepPictBlock, and oofRepPictBand. |
|
|
Reimplemented in oofRepSpaceBand, oofRepGraphBand, oofRepLineBand, oofRepLayoutBand, oofRepViewBand, oofRepTextBlock, oofRepPictBlock, oofRepPageNoBlock, oofRepPictBand, and oofRepFreeImageBand. |
|
|
Reimplemented in oofRepSpaceBand, oofRepGraphBand, oofRepLineBand, oofRepLayoutBand, oofRepViewBand, oofRepTextBlock, oofRepPictBlock, and oofRepPictBand. |
|
|
Reimplemented in oofRepSpaceBand, oofRepGraphBand, oofRepLineBand, oofRepLayoutBand, oofRepViewBand, oofRepTextBlock, oofRepPictBlock, oofRepPictBand, and oofRepFreeImageBand. |
|
|
Reimplemented in oofRepSpaceBand, oofRepGraphBand, oofRepLineBand, oofRepLayoutBand, oofRepViewBand, oofRepTextBlock, oofRepPictBlock, and oofRepPictBand. |
|
|
Set the flag to be returned by moveDownAfter(). Same effect achieved by ending an oofRepTextBlock with a linefeed. |
|
|
Indicate if a layout band should start a new row of blocks.
|
|
||||||||||||||||
|
Reimplemented in oofRepTextBlock, oofRepFieldBlock, and oofRepPageNoBlock. |
|
||||||||||||||||||||||||
|
Set style owned by this object, creating from the font parameters.
|
|
|
Set style owned by this object.
|
|
|
Reimplemented from oofRepTextStylable. |
|
|
Get a style unique to this object, cloning the one we'd normally use if necessary.
|
|
|
Request a dbView which may be the source of data for the item.
Reimplemented in oofRepGraphBand, and oofRepViewBand. |
|
|
Reimplemented in oofRepPictBlock. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.5