#include <oofrepeditx.h>
Inheritance diagram for oofRepEditingEnv:


setup interaction | |
| virtual void | addInteractionArea (short inX, short inY, short inCol, long inRow, oofRepEditLink *inEditor, oofRepInteractorStrategy *inInteractor=0, short width=0, short height=0) |
| Add entry used in Flyweight pattern to react to clicks, etc. | |
| virtual void | addInteractionArea (const OOF_InteractionArea &) |
| void | pageAdoptsEditLink (oofRepEditLink *) |
| add edit link entry to page, which implies adoption of link if 1st time added to a page | |
| void | changeAreasToNewLink (long matchingRow, oofRepEditLink *matchingLink, oofRepEditLink *newLink) |
| void | startNonEditableArea () |
Public Types | |
| typedef oofRepMacGUIPreviewPP | parentGUIenvT |
| enum | { eRenderType = 'Mac ' } |
Public Member Functions | |
| oofRepEditingEnv (oofRepEditor *) | |
| virtual | ~oofRepEditingEnv () |
| virtual void | startEnvironment () |
| virtual void | endEnvironment () |
| we don't delete mAreas here but leave it active now that we've finished drawing the report it maps - the user is using the preview window to possibly interact with the report, mapped through mAreas to oofRepEditLink's. | |
| parentGUIenvT * | parentGUIenv () const |
| oofRepEditor * | editor () const |
| virtual void | makeRenderDispatch (oofRepDrawable *) const |
| virtual void | makeRenderDispatch (oofAdorner *) const |
| virtual void | drawPageBreak () |
| virtual void | splitBandOverPage () |
| Save a copy of the interaction area that we can use to create a new one at the top of the next page. | |
| virtual void | resumeBandOverPage () |
| virtual void | startMonitoringWindowInteractions (LPane *) |
| The default interactor will be used by most users but it is possible that in future they will have report objects that create their own interactors. | |
| virtual void | singleClick (short x, short y) |
| interaction in progress | |
| void | finishConstruction (dbRepPICTs *PICTs, THPrint pageSetup=nil) |
| virtual void | changeTextStyle (oofRepTextStyle *) |
| virtual unsigned short | heightOfTextStyle (oofRepTextStyle *) |
| virtual unsigned long | calcPageHeight () |
| virtual unsigned long | calcPageWidth () |
| Point | printableOffset () |
| void | parentCommander (LCommander *) |
| LCommander * | parentCommander () const |
| unsigned long | previewPageOrdinal () const |
| returns ordinal number, NOT the printable page number which may reset | |
| THPrint | pageSetup () const |
| void | pageSetup (THPrint) |
| virtual oofRepRenderT | renderType () const |
| virtual void | drawPageBorder (long top, long left, long bottom, long right) |
| virtual void | drawSectionBreak () |
| virtual void | startSection () |
| virtual bool | canDraw () |
| virtual bool | isPrintingEnvironment () const |
| virtual void | makeRender () |
| virtual bool | preprocessesPageHeadersAndFooters () const |
Protected Attributes | |
| oofRepEditor * | mEditor |
| OOF_InteractionArea * | mLastAreaOnPrevPage |
| OOF_InteractionPages * | mInteractionPages |
| owned | |
| THPrint | mPrintRecordH |
| GrafPtr | mSavedPort |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||||||||||||||||||||||
|
Add entry used in Flyweight pattern to react to clicks, etc.
|
|
|
Implements oofRepEnvironment. |
|
|
Implements oofRepEnvironment. |
|
|
Reimplemented in oofRepStreamEnv. |
|
||||||||||||||||
|
|
|
|
Implements oofRepEnvironment. |
|
||||||||||||||||||||
|
Reimplemented from oofRepEnvironment. |
|
|
Reimplemented from oofRepMacGUIPreviewPP. |
|
|
|
|
|
|
|
|
we don't delete mAreas here but leave it active now that we've finished drawing the report it maps - the user is using the preview window to possibly interact with the report, mapped through mAreas to oofRepEditLink's.
Reimplemented from oofRepMacGUIPreviewPP. |
|
||||||||||||
|
|
|
|
Implements oofRepEnvironment. |
|
|
Reimplemented in oofMacCarbonPrint, oofRepWinPrint, and oofRepMacPrint. |
|
|
|
|
|
Reimplemented from oofRepMacEnv. |
|
|
Reimplemented from oofRepMacEnv. |
|
|
add edit link entry to page, which implies adoption of link if 1st time added to a page
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented in oofRepCSVEnv, oofRepRTFEnv, oofRepTSVEnv, and oofRepXMLEnv. |
|
|
returns ordinal number, NOT the printable page number which may reset
|
|
|
|
|
|
Implements oofRepEnvironment. |
|
|
Reimplemented from oofRepEnvironment. |
|
||||||||||||
|
interaction in progress
|
|
|
Save a copy of the interaction area that we can use to create a new one at the top of the next page.
Reimplemented from oofRepEnvironment. |
|
|
Reimplemented from oofRepMacGUIPreviewPP. |
|
|
The default interactor will be used by most users but it is possible that in future they will have report objects that create their own interactors. Here we create a listener that will pass simple clicks to the interactor so WARNING we are implicitly limiting even user overridden interactors. So, if you are using fancier interactors you will need to override startMonitoringWindowInteractions as well. In your override, create an LMouseTracker (see LMouseTracker.cp) if you want to respond to mouse movement within the pane. You will probably also need to subclass CHandlePicture to override its MouseWithin method. Alternatively copy LMouseTracker and have it despatch to some other method. |
|
|
|
|
|
Reimplemented in oofRepRTFEnv, and oofRepXMLEnv. |
|
|
|
|
|
owned
|
|
|
|
|
|
|
|
|
|
1.3.5