Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Status
Operations
Construction
Overridables
Data Members
Status
GetDocument | Returns the server document that contains the item. |
GetItemName | Returns the name of the item. Used for linked items only. |
SetItemName | Sets the name of the item. Used for linked items only. |
IsConnected | Indicates whether the item is currently attached to an active container. |
IsLinkedItem | Indicates whether the item represents a linked OLE item. |
Operations
CopyToClipboard | Copies the item to the Clipboard. |
NotifyChanged | Updates all containers with automatic link update. |
DoDragDrop | Performs a drag-and-drop operation. |
GetClipboardData | Gets the data source for use in data transfer (drag and drop or Clipboard). |
GetEmbedSourceData | Gets the CF_EMBEDSOURCE data for an OLE item. |
AddOtherClipboardData | Places presentation and conversion formats in a COleDataSource object. |
GetLinkSourceData | Gets the CF_LINKSOURCE data for an OLE item. |
GetObjectDescriptorData | Gets the CF_OBJECTDESCRIPTOR data for an OLE item. |
Construction
COleServerItem | Constructs a COleServerItem object. |
GetDataSource | Gets the object used to store conversion formats. |
Overridables
OnDraw | Called when the container requests to draw the item; implementation required. |
OnDrawEx | Called for specialized item drawing. |
OnUpdate | Called when some portion of the document the item belongs in is changed. |
OnInitFromData | Called by the framework to initialize an OLE item using the contents of the data transfer object specified. |
OnGetExtent | Called by the framework to retrieve the size of the OLE item. |
OnSetExtent | Called by the framework to set the size of the OLE item. |
OnGetClipboardData | Called by the framework to get the data that would be copied to the Clipboard. |
OnSetColorScheme | Called to set the item’s color scheme. |
OnSetData | Called to set the item’s data. |
OnDoVerb | Called to execute a verb. |
OnQueryUpdateItems | Called to determine whether any linked items require updating. |
OnRenderData | Retrieves data as part of delayed rendering. |
OnRenderFileData | Retrieves data into a CFile object as part of delayed rendering. |
OnRenderGlobalData | Retrieves data into an HGLOBAL as part of delayed rendering. |
OnUpdateItems | Called to update the presentation cache of all items in the server document. |
OnOpen | Called by the framework to display the OLE item in its own top-level window. |
OnShow | Called when the container requests to show the item. |
OnHide | Called by the framework to hide the OLE item. |
Data Members
m_sizeExtent | Informs the server about how much of the OLE item is visible. |
COleServerItem Overview | Base Class Members | Hierarchy Chart