pub enum TextStory {
Header {
page: usize,
},
Body,
Endnotes,
Frame {
page: usize,
number: u32,
},
TextBox {
page: usize,
number: u32,
},
Footnotes,
Footer {
page: usize,
},
}Expand description
A story of the text map (Story): text that reads on by itself, and that a selection stays in. The stories of one page compare in their reading order: the header, the body, the endnotes, the frames, the text boxes, the footnotes and the footer, and the frames and the text boxes each in the order of their layout.
Variants§
Header
The header of a page.
Body
The main text of the document.
Endnotes
The endnotes, in the order of their pages.
Frame
The content of a frame of the body.
Fields
TextBox
The text of a text box or a shape.
Fields
Footnotes
The footnotes, in the order of their pages.
The footer of a page.
Implementations§
Trait Implementations§
impl Copy for TextStory
impl Eq for TextStory
Source§impl Ord for TextStory
impl Ord for TextStory
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for TextStory
impl PartialOrd for TextStory
impl StructuralPartialEq for TextStory
Auto Trait Implementations§
impl Forget for TextStory
impl Freeze for TextStory
impl Move for TextStory
impl RefUnwindSafe for TextStory
impl Send for TextStory
impl Sync for TextStory
impl Unpin for TextStory
impl UnsafeUnpin for TextStory
impl UnwindSafe for TextStory
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.impl<T> ErasedDestructor for Twhere
T: 'static,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
Source§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.