Trait IXpsOMPackageWriter_Impl
pub trait IXpsOMPackageWriter_Impl: IUnknownImpl {
// Required methods
fn StartNewDocument(
&self,
documentpartname: Ref<'_, IOpcPartUri>,
documentprintticket: Ref<'_, IXpsOMPrintTicketResource>,
documentstructure: Ref<'_, IXpsOMDocumentStructureResource>,
signatureblockresources: Ref<'_, IXpsOMSignatureBlockResourceCollection>,
restrictedfonts: Ref<'_, IXpsOMPartUriCollection>,
) -> Result<()>;
fn AddPage(
&self,
page: Ref<'_, IXpsOMPage>,
advisorypagedimensions: *const XPS_SIZE,
discardableresourceparts: Ref<'_, IXpsOMPartUriCollection>,
storyfragments: Ref<'_, IXpsOMStoryFragmentsResource>,
pageprintticket: Ref<'_, IXpsOMPrintTicketResource>,
pagethumbnail: Ref<'_, IXpsOMImageResource>,
) -> Result<()>;
fn AddResource(&self, resource: Ref<'_, IXpsOMResource>) -> Result<()>;
fn Close(&self) -> Result<()>;
fn IsClosed(&self) -> Result<BOOL>;
}
Required Methods§
fn StartNewDocument( &self, documentpartname: Ref<'_, IOpcPartUri>, documentprintticket: Ref<'_, IXpsOMPrintTicketResource>, documentstructure: Ref<'_, IXpsOMDocumentStructureResource>, signatureblockresources: Ref<'_, IXpsOMSignatureBlockResourceCollection>, restrictedfonts: Ref<'_, IXpsOMPartUriCollection>, ) -> Result<()>
fn AddPage( &self, page: Ref<'_, IXpsOMPage>, advisorypagedimensions: *const XPS_SIZE, discardableresourceparts: Ref<'_, IXpsOMPartUriCollection>, storyfragments: Ref<'_, IXpsOMStoryFragmentsResource>, pageprintticket: Ref<'_, IXpsOMPrintTicketResource>, pagethumbnail: Ref<'_, IXpsOMImageResource>, ) -> Result<()>
fn AddResource(&self, resource: Ref<'_, IXpsOMResource>) -> Result<()>
fn Close(&self) -> Result<()>
fn IsClosed(&self) -> Result<BOOL>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.