Skip to main content

DocApiSections

Struct DocApiSections 

Source
pub struct DocApiSections<'a, I: Invoker> { /* private fields */ }

Implementations§

Source§

impl<'a, I: Invoker> DocApiSections<'a, I>

Source

pub fn new(invoker: &'a I) -> Self

Clear a section header/footer reference for a specific variant.

Clear a section header/footer reference for a specific variant.

Source

pub fn clear_page_borders<'call>( &'call self, params: &'call DocSectionsClearPageBordersBoundParams, ) -> impl Future<Output = Result<DocSectionsClearPageBordersResult>> + Send + 'call

Clear page border configuration for a section.

Source

pub async fn clear_page_borders_with_options( &self, params: &DocSectionsClearPageBordersBoundParams, options: InvokeOptions, ) -> Result<DocSectionsClearPageBordersResult>

Clear page border configuration for a section.

Source

pub fn get<'call>( &'call self, params: &'call DocSectionsGetBoundParams, ) -> impl Future<Output = Result<DocSectionsGetResult>> + Send + 'call

Retrieve full section information by section address.

Source

pub async fn get_with_options( &self, params: &DocSectionsGetBoundParams, options: InvokeOptions, ) -> Result<DocSectionsGetResult>

Retrieve full section information by section address.

Source

pub fn list<'call>( &'call self, params: &'call DocSectionsListBoundParams, ) -> impl Future<Output = Result<DocSectionsListResult>> + Send + 'call

List sections in deterministic order with section-target handles.

Source

pub async fn list_with_options( &self, params: &DocSectionsListBoundParams, options: InvokeOptions, ) -> Result<DocSectionsListResult>

List sections in deterministic order with section-target handles.

Source

pub fn set_break_type<'call>( &'call self, params: &'call DocSectionsSetBreakTypeBoundParams, ) -> impl Future<Output = Result<DocSectionsSetBreakTypeResult>> + Send + 'call

Set the section break type.

Source

pub async fn set_break_type_with_options( &self, params: &DocSectionsSetBreakTypeBoundParams, options: InvokeOptions, ) -> Result<DocSectionsSetBreakTypeResult>

Set the section break type.

Source

pub fn set_columns<'call>( &'call self, params: &'call DocSectionsSetColumnsBoundParams, ) -> impl Future<Output = Result<DocSectionsSetColumnsResult>> + Send + 'call

Set column configuration for a section.

Source

pub async fn set_columns_with_options( &self, params: &DocSectionsSetColumnsBoundParams, options: InvokeOptions, ) -> Result<DocSectionsSetColumnsResult>

Set column configuration for a section.

Set header/footer margin distances for a section.

Set header/footer margin distances for a section.

Set or replace a section header/footer reference for a variant.

Set or replace a section header/footer reference for a variant.

Source

pub fn set_line_numbering<'call>( &'call self, params: &'call DocSectionsSetLineNumberingBoundParams, ) -> impl Future<Output = Result<DocSectionsSetLineNumberingResult>> + Send + 'call

Enable or configure line numbering for a section.

Source

pub async fn set_line_numbering_with_options( &self, params: &DocSectionsSetLineNumberingBoundParams, options: InvokeOptions, ) -> Result<DocSectionsSetLineNumberingResult>

Enable or configure line numbering for a section.

Set or clear link-to-previous behavior for a header/footer variant.

Set or clear link-to-previous behavior for a header/footer variant.

Source

pub fn set_odd_even_headers_footers<'call>( &'call self, params: &'call DocSectionsSetOddEvenHeadersFootersBoundParams, ) -> impl Future<Output = Result<DocSectionsSetOddEvenHeadersFootersResult>> + Send + 'call

Enable or disable odd/even header-footer mode in document settings.

Source

pub async fn set_odd_even_headers_footers_with_options( &self, params: &DocSectionsSetOddEvenHeadersFootersBoundParams, options: InvokeOptions, ) -> Result<DocSectionsSetOddEvenHeadersFootersResult>

Enable or disable odd/even header-footer mode in document settings.

Source

pub fn set_page_borders<'call>( &'call self, params: &'call DocSectionsSetPageBordersBoundParams, ) -> impl Future<Output = Result<DocSectionsSetPageBordersResult>> + Send + 'call

Set page border configuration for a section.

Source

pub async fn set_page_borders_with_options( &self, params: &DocSectionsSetPageBordersBoundParams, options: InvokeOptions, ) -> Result<DocSectionsSetPageBordersResult>

Set page border configuration for a section.

Source

pub fn set_page_margins<'call>( &'call self, params: &'call DocSectionsSetPageMarginsBoundParams, ) -> impl Future<Output = Result<DocSectionsSetPageMarginsResult>> + Send + 'call

Set page-edge margins for a section.

Source

pub async fn set_page_margins_with_options( &self, params: &DocSectionsSetPageMarginsBoundParams, options: InvokeOptions, ) -> Result<DocSectionsSetPageMarginsResult>

Set page-edge margins for a section.

Source

pub fn set_page_numbering<'call>( &'call self, params: &'call DocSectionsSetPageNumberingBoundParams, ) -> impl Future<Output = Result<DocSectionsSetPageNumberingResult>> + Send + 'call

Set page numbering format/start and chapter numbering settings for a section.

Source

pub async fn set_page_numbering_with_options( &self, params: &DocSectionsSetPageNumberingBoundParams, options: InvokeOptions, ) -> Result<DocSectionsSetPageNumberingResult>

Set page numbering format/start and chapter numbering settings for a section.

Source

pub fn set_page_setup<'call>( &'call self, params: &'call DocSectionsSetPageSetupBoundParams, ) -> impl Future<Output = Result<DocSectionsSetPageSetupResult>> + Send + 'call

Set page size/orientation properties for a section.

Source

pub async fn set_page_setup_with_options( &self, params: &DocSectionsSetPageSetupBoundParams, options: InvokeOptions, ) -> Result<DocSectionsSetPageSetupResult>

Set page size/orientation properties for a section.

Source

pub fn set_section_direction<'call>( &'call self, params: &'call DocSectionsSetSectionDirectionBoundParams, ) -> impl Future<Output = Result<DocSectionsSetSectionDirectionResult>> + Send + 'call

Set section text flow direction (LTR/RTL).

Source

pub async fn set_section_direction_with_options( &self, params: &DocSectionsSetSectionDirectionBoundParams, options: InvokeOptions, ) -> Result<DocSectionsSetSectionDirectionResult>

Set section text flow direction (LTR/RTL).

Source

pub fn set_title_page<'call>( &'call self, params: &'call DocSectionsSetTitlePageBoundParams, ) -> impl Future<Output = Result<DocSectionsSetTitlePageResult>> + Send + 'call

Enable or disable title-page behavior for a section.

Source

pub async fn set_title_page_with_options( &self, params: &DocSectionsSetTitlePageBoundParams, options: InvokeOptions, ) -> Result<DocSectionsSetTitlePageResult>

Enable or disable title-page behavior for a section.

Source

pub fn set_vertical_align<'call>( &'call self, params: &'call DocSectionsSetVerticalAlignBoundParams, ) -> impl Future<Output = Result<DocSectionsSetVerticalAlignResult>> + Send + 'call

Set vertical page alignment for a section.

Source

pub async fn set_vertical_align_with_options( &self, params: &DocSectionsSetVerticalAlignBoundParams, options: InvokeOptions, ) -> Result<DocSectionsSetVerticalAlignResult>

Set vertical page alignment for a section.

Auto Trait Implementations§

§

impl<'a, I> Freeze for DocApiSections<'a, I>
where &'a I: Freeze,

§

impl<'a, I> RefUnwindSafe for DocApiSections<'a, I>

§

impl<'a, I> Send for DocApiSections<'a, I>
where &'a I: Send,

§

impl<'a, I> Sync for DocApiSections<'a, I>
where &'a I: Sync,

§

impl<'a, I> Unpin for DocApiSections<'a, I>
where &'a I: Unpin,

§

impl<'a, I> UnsafeUnpin for DocApiSections<'a, I>

§

impl<'a, I> UnwindSafe for DocApiSections<'a, I>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.