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


Reponsible for redirecting to actual render object. When you add a new oofRepEnvironment you will need to add a makeRender method here
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 Member Functions | |
| oofRepDrawable (oofRepTextStyle *adoptedStyle=0) | |
| oofRepDrawable (const oofRepDrawable &rhs) | |
| virtual | ~oofRepDrawable () |
| 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 | fixedHeight () |
| 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. | |
| virtual oofRepTextStyle * | textStyle () const |
| Get the text style owned by this object or a default. | |
| oofAdornerList & | adorners () |
| bool | hasAdorners () const |
Protected Attributes | |
| oofRepRender * | mRender |
| oofString | mID |
| oofRepTextStyle * | mStyle |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 in oofRepBand, oofRepSpaceBand, oofRepGraphBand, oofRepLineBand, oofRepLayoutBand, oofRepViewBand, oofRepBlock, oofRepPictBlock, oofRepPictBand, and oofRepFreeImageBand. |
|
|
|
|
|
|
|
|
|
|
|
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. |
|
|
Get the text style owned by this object or a default.
Reimplemented in oofRepBlock. |
|
||||||||||||||||||||||||
|
Set style owned by this object, creating from the font parameters.
|
|
|
Set style owned by this object.
|
|
|
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