Trait windows::Win32::Storage::Xps::IXpsOMPackage_Impl
pub trait IXpsOMPackage_Impl: Sized {
// Required methods
fn GetDocumentSequence(&self) -> Result<IXpsOMDocumentSequence>;
fn SetDocumentSequence(
&self,
documentsequence: Option<&IXpsOMDocumentSequence>,
) -> Result<()>;
fn GetCoreProperties(&self) -> Result<IXpsOMCoreProperties>;
fn SetCoreProperties(
&self,
coreproperties: Option<&IXpsOMCoreProperties>,
) -> Result<()>;
fn GetDiscardControlPartName(&self) -> Result<IOpcPartUri>;
fn SetDiscardControlPartName(
&self,
discardcontrolparturi: Option<&IOpcPartUri>,
) -> Result<()>;
fn GetThumbnailResource(&self) -> Result<IXpsOMImageResource>;
fn SetThumbnailResource(
&self,
imageresource: Option<&IXpsOMImageResource>,
) -> Result<()>;
fn WriteToFile(
&self,
filename: &PCWSTR,
securityattributes: *const SECURITY_ATTRIBUTES,
flagsandattributes: u32,
optimizemarkupsize: BOOL,
) -> Result<()>;
fn WriteToStream(
&self,
stream: Option<&ISequentialStream>,
optimizemarkupsize: BOOL,
) -> Result<()>;
}
Required Methods§
fn GetDocumentSequence(&self) -> Result<IXpsOMDocumentSequence>
fn SetDocumentSequence( &self, documentsequence: Option<&IXpsOMDocumentSequence>, ) -> Result<()>
fn GetCoreProperties(&self) -> Result<IXpsOMCoreProperties>
fn SetCoreProperties( &self, coreproperties: Option<&IXpsOMCoreProperties>, ) -> Result<()>
fn GetDiscardControlPartName(&self) -> Result<IOpcPartUri>
fn SetDiscardControlPartName( &self, discardcontrolparturi: Option<&IOpcPartUri>, ) -> Result<()>
fn GetThumbnailResource(&self) -> Result<IXpsOMImageResource>
fn SetThumbnailResource( &self, imageresource: Option<&IXpsOMImageResource>, ) -> Result<()>
fn WriteToFile( &self, filename: &PCWSTR, securityattributes: *const SECURITY_ATTRIBUTES, flagsandattributes: u32, optimizemarkupsize: BOOL, ) -> Result<()>
fn WriteToStream( &self, stream: Option<&ISequentialStream>, optimizemarkupsize: BOOL, ) -> Result<()>
Object Safety§
This trait is not object safe.