Trait windows::Win32::Storage::Xps::IXpsOMPackageWriter_Impl
pub trait IXpsOMPackageWriter_Impl: Sized {
// Required methods
fn StartNewDocument(
&self,
documentpartname: Option<&IOpcPartUri>,
documentprintticket: Option<&IXpsOMPrintTicketResource>,
documentstructure: Option<&IXpsOMDocumentStructureResource>,
signatureblockresources: Option<&IXpsOMSignatureBlockResourceCollection>,
restrictedfonts: Option<&IXpsOMPartUriCollection>,
) -> Result<()>;
fn AddPage(
&self,
page: Option<&IXpsOMPage>,
advisorypagedimensions: *const XPS_SIZE,
discardableresourceparts: Option<&IXpsOMPartUriCollection>,
storyfragments: Option<&IXpsOMStoryFragmentsResource>,
pageprintticket: Option<&IXpsOMPrintTicketResource>,
pagethumbnail: Option<&IXpsOMImageResource>,
) -> Result<()>;
fn AddResource(&self, resource: Option<&IXpsOMResource>) -> Result<()>;
fn Close(&self) -> Result<()>;
fn IsClosed(&self) -> Result<BOOL>;
}
Required Methods§
fn StartNewDocument( &self, documentpartname: Option<&IOpcPartUri>, documentprintticket: Option<&IXpsOMPrintTicketResource>, documentstructure: Option<&IXpsOMDocumentStructureResource>, signatureblockresources: Option<&IXpsOMSignatureBlockResourceCollection>, restrictedfonts: Option<&IXpsOMPartUriCollection>, ) -> Result<()>
fn AddPage( &self, page: Option<&IXpsOMPage>, advisorypagedimensions: *const XPS_SIZE, discardableresourceparts: Option<&IXpsOMPartUriCollection>, storyfragments: Option<&IXpsOMStoryFragmentsResource>, pageprintticket: Option<&IXpsOMPrintTicketResource>, pagethumbnail: Option<&IXpsOMImageResource>, ) -> Result<()>
fn AddResource(&self, resource: Option<&IXpsOMResource>) -> Result<()>
fn Close(&self) -> Result<()>
fn IsClosed(&self) -> Result<BOOL>
Object Safety§
This trait is not object safe.