Provides encoding services for strings and oofPict's.
|
Public Types |
| enum | { eRenderType = 'RTF '
} |
Public Member Functions |
| | oofRepRTFEnv () |
| | oofRepRTFEnv (std::ostream &) |
| | oofRepRTFEnv (const char *fileName) |
| virtual void | changeTextStyle (oofRepTextStyle *) |
| virtual unsigned short | heightOfTextStyle (oofRepTextStyle *) |
| virtual void | drawPageBreak () |
| virtual void | startSection () |
| | called before each section, regardless of settings unlike drawSectionBreak which may not be called if no page breaks specified
|
| virtual unsigned long | calcPageHeight () |
| virtual unsigned long | calcPageWidth () |
| virtual void | startEnvironment () |
| | Setup the start of document including font, color, stylesheet and page dimensions.
|
| virtual void | endEnvironment () |
| virtual bool | preprocessesPageHeadersAndFooters () const |
| virtual void | makeRenderDispatch (oofRepDrawable *) const |
| virtual void | makeRenderDispatch (oofAdorner *) const |
| virtual oofRepRenderT | renderType () const |
| virtual bool | canDraw () |
| | Confirm can draw to stream - only used for GUI to choose destination.
|
| virtual void | drawSectionBreak () |
| virtual bool | isPrintingEnvironment () const |
| virtual void | makeRender () |
| virtual void | drawPageBorder (long top, long left, long bottom, long right) |
| virtual void | splitBandOverPage () |
| virtual void | resumeBandOverPage () |
Static Public Member Functions |
| void | encodeToRTFStream (std::ostream &, const char *) |
| void | encodeToRTFStream (std::ostream &os, oofPict *, int widthPixels, int heightPixels) |
| | Write as Mac Pict or Windows Bitmap.
|
| oofString | encodeRTFString (const oofString &) |
| void | writeWrappedRTFasHexData (std::ostream &os, const char *inBuf, const unsigned int inBufLen) |
| | Helper function for encodeToRTFStream.
|
| bool | exportingBitmapsNotMetafiles () |
| std::ostream & | out () |
Static Public Attributes |
| bool | sExportBitmapsNotMetafiles = true |
| | Due to major import problems with Metafiles in RTF, have default true on this flag.
|
| std::ostream * | sOut = 0 |
Protected Attributes |
| int | mSectionNumber |
| std::ostream * | mOut |
| std::ofstream * | mOwnedofstream |