#include <clipext.h>
Inheritance diagram for ClipboardView:
Public Member Functions | |
virtual | ~ClipboardView () |
Destroys a ClipboardView, deallocating it's associated ViewState. | |
BOOL | Init () |
Initialise the ClipboardView for rendering. | |
virtual BOOL | ViewStateChanged () |
virtual void | SetViewPixelSize () |
Sets up the pixel size for this view object. | |
virtual void | ContinueRenderView (RenderRegion *, Spread *, BOOL=TRUE, BOOL=TRUE, BOOL bForceImmediate=FALSE) |
None - ClipboardView is a skeleton class that is only used to access screen characteristics. | |
virtual CDC * | GetRenderDC () |
None - ClipboardView is a skeleton class that is only used to access screen characteristics. | |
virtual BOOL | GetForeBackMode () |
None - ClipboardView is a skeleton class that is only used to access screen characteristics. | |
virtual void | SetForeBackMode (BOOL) |
None - ClipboardView is a skeleton class that is only used to access screen characteristics. | |
virtual DocRect | GetDocViewRect (Spread *) |
To determine the docrect area that this view is viewing. | |
virtual void | SetExtent (DocCoord, DocCoord) |
Informs the DocView that the extent of the document has changed in some way and that the view must be altered to take this into account (namely the scrollbars). | |
virtual WorkRect | GetViewRect () |
None - ClipboardView is a skeleton class that is only used to access screen characteristics. | |
Private Member Functions | |
CC_DECLARE_DYNAMIC (ClipboardView) |
Definition at line 396 of file clipext.h.
|
Destroys a ClipboardView, deallocating it's associated ViewState.
Definition at line 2188 of file clipext.cpp.
|
|
|
|
None - ClipboardView is a skeleton class that is only used to access screen characteristics.
Implements View. Definition at line 2300 of file clipext.cpp. 02302 { 02303 ERROR3("ClipboardView::ContinueRenderView() should not be called!"); 02304 }
|
|
To determine the docrect area that this view is viewing.
Implements View. Definition at line 2380 of file clipext.cpp. 02381 { 02382 return InternalClipboard::GetObjectsBounds(); 02383 }
|
|
None - ClipboardView is a skeleton class that is only used to access screen characteristics.
Implements View. Definition at line 2339 of file clipext.cpp. 02340 { 02341 // ClipboardViews don't background render. 02342 return FALSE; 02343 }
|
|
None - ClipboardView is a skeleton class that is only used to access screen characteristics.
Implements View. Definition at line 2320 of file clipext.cpp. 02321 { 02322 return NULL; 02323 }
|
|
None - ClipboardView is a skeleton class that is only used to access screen characteristics.
Implements View. Definition at line 2424 of file clipext.cpp. 02425 { 02426 WorkRect Empty; 02427 return Empty; 02428 }
|
|
Initialise the ClipboardView for rendering.
Reimplemented from SimpleCCObject. Definition at line 2211 of file clipext.cpp. 02212 { 02213 // Think up a particularly stupid dpi value... 02214 INT32 pixwidth = 150; 02215 INT32 pixheight = 150; 02216 02217 // Set up our pixel size 02218 PixelWidth = FIXED16(72000.0 / pixwidth); 02219 PixelHeight = FIXED16(72000.0 / pixheight); 02220 ScaledPixelWidth = PixelWidth; 02221 ScaledPixelHeight = PixelHeight; 02222 02223 // Get ourselves a ViewState object 02224 pVState = new ViewState; 02225 if (pVState == NULL) 02226 return FALSE; 02227 02228 // Connect this view state to this view 02229 pVState->pView = this; 02230 02231 // Always uses the internal clipboard document 02232 pDoc = InternalClipboard::Instance(); 02233 02234 // All ok 02235 return TRUE; 02236 }
|
|
Informs the DocView that the extent of the document has changed in some way and that the view must be altered to take this into account (namely the scrollbars).
Implements View. Definition at line 2403 of file clipext.cpp. 02404 { 02405 // Convert the extent given in DocCoord to WorkCoords... 02406 pVState->WorkAreaExtent.lo = lolog.ToWork(pDoc, this); 02407 pVState->WorkAreaExtent.hi = hilog.ToWork(pDoc, this); 02408 }
|
|
None - ClipboardView is a skeleton class that is only used to access screen characteristics.
Implements View. Definition at line 2361 of file clipext.cpp. 02362 { 02363 ERROR3("ClipboardView::SetForeBackMode() should not be called!"); 02364 }
|
|
Sets up the pixel size for this view object.
Implements View. Definition at line 2277 of file clipext.cpp. 02278 { 02279 // Set the scaled pixel size 02280 ScaledPixelWidth = PixelWidth / Scale; 02281 ScaledPixelHeight = PixelHeight / Scale; 02282 }
|
|
Implements View. Definition at line 2251 of file clipext.cpp. 02252 { 02253 // Local variables... 02254 DocCoord ExtentLo; // coord of bottom-left of logical extent 02255 DocCoord ExtentHi; // coord of top-right of logical extent 02256 02257 // Read DocCoords extent of document & set extent in platform-indy ViewState struct. 02258 pDoc->GetExtents(&ExtentLo, &ExtentHi, &PhysExtent, this); 02259 SetExtent(ExtentLo, ExtentHi); 02260 02261 return TRUE; 02262 }
|