RemoveEmbeddedFrame
TheRemoveEmbeddedFramemethod should remove the specified embedded frame from this part's content.
void RemoveEmbeddedFrame (in ODFrame embeddedFrame);
embeddedFrame- A reference to an embedded frame of this part.
DISCUSSION
An embedded part calls this part'sRemoveEmbeddedFramemethod when it no longer wants to display itself in the specified frame.If your part supports embedding, your part's
RemoveEmbeddedFramemethod should respond to a request to remove an embedded frame. Your part'sRemoveEmbeddedFramemethod should only remove frames that were added by calls to your part'sRequestEmbeddedFramemethod.OVERRIDING
When you subclassODPart, you can override this method. Your override method must not call its inherited method; that is, your override method must implement this method's functionality completely. This method needs to be implemented only by container parts.EXCEPTIONS
kODErrCannotEmbed- This part does not support embedding.
kODErrInvalidFrame- The specified frame is not an embedded frame of this part.
SEE ALSO
TheODPart::RequestEmbeddedFramemethod (page 542).
Table 2-1 on page 89 in OpenDoc Programmer's Guide.
"Removing a Display Frame" on page 112 in OpenDoc Programmer's Guide.
"Removing an Embedded Frame" on page 121 in OpenDoc Programmer's Guide.