Trait windows::Win32::Storage::Xps::IXpsOMPage_Impl
pub trait IXpsOMPage_Impl: Sized + IXpsOMPart_Impl {
Show 22 methods
// Required methods
fn GetOwner(&self) -> Result<IXpsOMPageReference>;
fn GetVisuals(&self) -> Result<IXpsOMVisualCollection>;
fn GetPageDimensions(&self) -> Result<XPS_SIZE>;
fn SetPageDimensions(&self, pagedimensions: *const XPS_SIZE) -> Result<()>;
fn GetContentBox(&self) -> Result<XPS_RECT>;
fn SetContentBox(&self, contentbox: *const XPS_RECT) -> Result<()>;
fn GetBleedBox(&self) -> Result<XPS_RECT>;
fn SetBleedBox(&self, bleedbox: *const XPS_RECT) -> Result<()>;
fn GetLanguage(&self) -> Result<PWSTR>;
fn SetLanguage(&self, language: &PCWSTR) -> Result<()>;
fn GetName(&self) -> Result<PWSTR>;
fn SetName(&self, name: &PCWSTR) -> Result<()>;
fn GetIsHyperlinkTarget(&self) -> Result<BOOL>;
fn SetIsHyperlinkTarget(&self, ishyperlinktarget: BOOL) -> Result<()>;
fn GetDictionary(&self) -> Result<IXpsOMDictionary>;
fn GetDictionaryLocal(&self) -> Result<IXpsOMDictionary>;
fn SetDictionaryLocal(
&self,
resourcedictionary: Option<&IXpsOMDictionary>,
) -> Result<()>;
fn GetDictionaryResource(&self) -> Result<IXpsOMRemoteDictionaryResource>;
fn SetDictionaryResource(
&self,
remotedictionaryresource: Option<&IXpsOMRemoteDictionaryResource>,
) -> Result<()>;
fn Write(
&self,
stream: Option<&ISequentialStream>,
optimizemarkupsize: BOOL,
) -> Result<()>;
fn GenerateUnusedLookupKey(&self, type: XPS_OBJECT_TYPE) -> Result<PWSTR>;
fn Clone(&self) -> Result<IXpsOMPage>;
}
Required Methods§
fn GetOwner(&self) -> Result<IXpsOMPageReference>
fn GetVisuals(&self) -> Result<IXpsOMVisualCollection>
fn GetPageDimensions(&self) -> Result<XPS_SIZE>
fn SetPageDimensions(&self, pagedimensions: *const XPS_SIZE) -> Result<()>
fn GetContentBox(&self) -> Result<XPS_RECT>
fn SetContentBox(&self, contentbox: *const XPS_RECT) -> Result<()>
fn GetBleedBox(&self) -> Result<XPS_RECT>
fn SetBleedBox(&self, bleedbox: *const XPS_RECT) -> Result<()>
fn GetLanguage(&self) -> Result<PWSTR>
fn SetLanguage(&self, language: &PCWSTR) -> Result<()>
fn GetName(&self) -> Result<PWSTR>
fn SetName(&self, name: &PCWSTR) -> Result<()>
fn GetIsHyperlinkTarget(&self) -> Result<BOOL>
fn SetIsHyperlinkTarget(&self, ishyperlinktarget: BOOL) -> Result<()>
fn GetDictionary(&self) -> Result<IXpsOMDictionary>
fn GetDictionaryLocal(&self) -> Result<IXpsOMDictionary>
fn SetDictionaryLocal( &self, resourcedictionary: Option<&IXpsOMDictionary>, ) -> Result<()>
fn GetDictionaryResource(&self) -> Result<IXpsOMRemoteDictionaryResource>
fn SetDictionaryResource( &self, remotedictionaryresource: Option<&IXpsOMRemoteDictionaryResource>, ) -> Result<()>
fn Write( &self, stream: Option<&ISequentialStream>, optimizemarkupsize: BOOL, ) -> Result<()>
fn GenerateUnusedLookupKey(&self, type: XPS_OBJECT_TYPE) -> Result<PWSTR>
fn Clone(&self) -> Result<IXpsOMPage>
Object Safety§
This trait is not object safe.