pub enum Check {
Show 18 variants
Orphans,
Fields,
Bookmarks,
Package,
Structure,
Ids,
Styles,
Chains,
Elements,
Textbox,
Text,
Xml,
Runs,
Changes,
Tables,
StyleDefs,
Numbering,
Render,
}Expand description
Which reports to print.
Variants§
Orphans
Deleted text outside its story’s deletion, live text inside one. Triage check.
Fields
Field structure and deletion state. Triage check.
Bookmarks
Bookmark integrity and crossings. Triage check.
Package
Content types, relationships, cross-part references. Triage check.
Structure
Cell, row, revision and section shapes Word rejects. Triage check.
Ids
Revision and drawing ids used twice.
Styles
Style links and references naming no style; two styles with one type and name.
Chains
Bookmark parent chains, tallied.
Elements
Element counts.
Textbox
Text box stories as XML.
Text
Paragraph text per story with revision marks ({+ins+}, [-del-],
a deleted or inserted paragraph mark as ¶- / ¶+).
Xml
Part XML without namespace declarations, rsids and paragraph ids, one element per line.
Runs
Text with each paragraph’s direct properties and each run’s direct
formatting, revision marks left out; adjacent runs formatted alike
merge.
Changes
Property-change records (pPrChange, tcPrChange, sectPrChange,
…): where each sits and what the live properties add and drop
against the recorded ones.
Tables
Tables per story part: the grid (and the old one a tblGridChange
records), each row’s mark, gridBefore/gridAfter and
trPrChange, each cell’s mark (cellIns, cellDel, cellMerge),
span, width and vMerge with the old ones a tcPrChange records,
and its paragraphs as Text shows them.
StyleDefs
Style definitions by type and name (ids name nothing across documents): docDefaults, then each style’s default flag, basedOn and link by name, and its pPr/rPr/tblPr/trPr/tcPr items.
Numbering
List levels by numId and level, as paragraphs see them: the
abstract definition with the list’s overrides applied.
Render
What each story part should put on the page: sections, tables (size,
style, float, direct, cell and style shading, first row), frames,
anchored drawings, fields, paragraph styles and shading, text colour,
highlight, run shading, hidden text, requested fonts and the order of
deleted and inserted runs; (layout) adds jubarte’s page count and
the face each font resolved to.
Trait Implementations§
impl Copy for Check
impl Eq for Check
Source§impl From<DebugCheck> for Check
impl From<DebugCheck> for Check
Source§fn from(c: DebugCheck) -> Self
fn from(c: DebugCheck) -> Self
impl StructuralPartialEq for Check
Auto Trait Implementations§
impl Forget for Check
impl Freeze for Check
impl Move for Check
impl RefUnwindSafe for Check
impl Send for Check
impl Sync for Check
impl Unpin for Check
impl UnsafeUnpin for Check
impl UnwindSafe for Check
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.