pub enum DebugCheck {
Show 18 variants
Orphans,
Fields,
Bookmarks,
Package,
Structure,
Ids,
Styles,
Chains,
Elements,
Textbox,
Text,
Xml,
Runs,
Changes,
Tables,
Styledefs,
Numbering,
Render,
}Expand description
jubarte debug --check.
Variants§
Orphans
Deleted text outside its story’s w:del; live text inside one; bare runs in a text box whose anchor is deleted.
Fields
Field nesting per story; fields partly deleted.
Bookmarks
Duplicate/unpaired bookmarks; start and end in different sdt, cell, text box or revision; bookmarks in plain-text or list controls.
Package
Content types, relationship ids and targets, dangling note/comment references, undeclared mc:Ignorable prefixes.
Structure
Empty field codes, cells not ending in a paragraph, rows without cells, nested same-kind revisions, a body sectPr that is not last.
Ids
Revision and docPr ids used twice (not in the default triage: Word opens such files).
Styles
Style links and references naming no style; two styles with one type and name (Word pairs styles by name).
Chains
Where bookmark starts and ends sit (parent chains, tallied).
Elements
Element counts.
Textbox
Text box stories as XML (see –grep).
Text
Paragraph text per story part, with {+inserted+} / [-deleted-] runs and the mark state; with two files, the lines that differ.
Xml
Part XML one element per line, without namespace declarations, rsids or paraIds; with two files, the lines that differ.
Runs
text with each paragraph’s direct properties [..], its mark’s «..»
and each run’s direct formatting «..»; with two files, the lines that
differ.
Changes
Property-change records (pPrChange, tcPrChange, sectPrChange, …): where each sits and what the live properties add (+) and drop (-) against the recorded ones; with two files, the lines that differ.
Tables
Tables per story part: the grid (and a tblGridChange’s old grid),
each row’s mark, gridBefore/gridAfter and trPrChange, each cell’s
mark (cellIns +, cellDel -, cellMerge ~), span, width and vMerge with
a tcPrChange’s old ones, and its paragraphs as text shows them;
with two files, the lines that differ.
Styledefs
Style definitions by type and name (localized ids pair): docDefaults, then each style’s default flag and basedOn/link by name, and a line per pPr/rPr/tblPr/… block; with two files, the lines that differ.
Numbering
List levels by numId and level as paragraphs see them (abstract definition plus the list’s overrides; abstract ids renumber, so they are left out); with two files, the lines that differ.
Render
What each story part should put on the page (tables with style, float and shading; shaded, highlighted, coloured and hidden text; fonts; fields; ins/del order; frames; sections), and “(layout)”: jubarte’s page count and the face each font resolved to; with two files, the lines that differ.
Trait Implementations§
Source§impl Clone for DebugCheck
impl Clone for DebugCheck
impl Copy for DebugCheck
Source§impl Debug for DebugCheck
impl Debug for DebugCheck
impl Eq for DebugCheck
Source§impl From<DebugCheck> for Check
impl From<DebugCheck> for Check
Source§fn from(c: DebugCheck) -> Self
fn from(c: DebugCheck) -> Self
Source§impl PartialEq for DebugCheck
impl PartialEq for DebugCheck
Source§impl Serialize for DebugCheck
impl Serialize for DebugCheck
impl StructuralPartialEq for DebugCheck
Source§impl ValueEnum for DebugCheck
impl ValueEnum for DebugCheck
Auto Trait Implementations§
impl Forget for DebugCheck
impl Freeze for DebugCheck
impl Move for DebugCheck
impl RefUnwindSafe for DebugCheck
impl Send for DebugCheck
impl Sync for DebugCheck
impl Unpin for DebugCheck
impl UnsafeUnpin for DebugCheck
impl UnwindSafe for DebugCheck
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.