pub struct Summary {Show 14 fields
pub paragraphs: usize,
pub tables: usize,
pub fields: usize,
pub sections: usize,
pub comments: usize,
pub revisions: usize,
pub footnotes: usize,
pub endnotes: usize,
pub headers: usize,
pub footers: usize,
pub images: usize,
pub list_numbering: bool,
pub track_changes: bool,
pub input_validity: Option<InputValidity>,
}Expand description
Package facts. Counts are XML facts, not rendered-page facts.
Fields§
§paragraphs: usizeBody paragraphs, table cells included.
tables: usizeTop-level body tables, numbered as the view’s tN.
fields: usizew:fldSimple plus complex-field begin markers in the body.
sections: usizeBody section properties, excluding saved revision copies.
comments: usizeComment definitions in the related comments part.
revisions: usizeTracked changes, as jubarte changes lists them: the body, headers,
footers, notes and styles, a move’s sides and a text box’s two copies
counted once each, and a change Word wrote as several marks once.
footnotes: usizeFootnotes excluding separators.
endnotes: usizeEndnotes excluding separators.
headers: usizeRelated header parts.
Related footer parts.
images: usizeParts whose content type starts with image/.
list_numbering: boolBody or paragraph-style numbering declarations exist.
track_changes: boolSettings enable tracking of new revisions.
input_validity: Option<InputValidity>The input’s own validity findings, which read --json reports here
(#1309); absent where nothing validated the input.
Trait Implementations§
impl Eq for Summary
Source§impl Serialize for Summary
impl Serialize for Summary
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl StructuralPartialEq for Summary
Auto Trait Implementations§
impl Forget for Summary
impl Freeze for Summary
impl Move for Summary
impl RefUnwindSafe for Summary
impl Send for Summary
impl Sync for Summary
impl Unpin for Summary
impl UnsafeUnpin for Summary
impl UnwindSafe for Summary
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
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> 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
key and return true if they are equal.