pub enum CompatibilityOption {
Show 65 variants
UseSingleBorderforContiguousCells,
WpJustification,
NoTabHangInd,
NoLeading,
SpaceForUL,
NoColumnBalance,
BalanceSingleByteDoubleByteWidth,
NoExtraLineSpacing,
DoNotLeaveBackslashAlone,
UlTrailSpace,
DoNotExpandShiftReturn,
SpacingInWholePoints,
LineWrapLikeWord6,
PrintBodyTextBeforeHeader,
PrintColBlack,
WpSpaceWidth,
ShowBreaksInFrames,
SubFontBySize,
SuppressBottomSpacing,
SuppressTopSpacing,
SuppressSpacingAtTopOfPage,
SuppressTopSpacingWP,
SuppressSpBfAfterPgBrk,
SwapBordersFacingPages,
ConvMailMergeEsc,
TruncateFontHeightsLikeWP6,
MwSmallCaps,
UsePrinterMetrics,
DoNotSuppressParagraphBorders,
WrapTrailSpaces,
FootnoteLayoutLikeWW8,
ShapeLayoutLikeWW8,
AlignTablesRowByRow,
ForgetLastTabAlignment,
AdjustLineHeightInTable,
AutoSpaceLikeWord95,
NoSpaceRaiseLower,
DoNotUseHTMLParagraphAutoSpacing,
LayoutRawTableWidth,
LayoutTableRowsApart,
UseWord97LineBreakRules,
DoNotBreakWrappedTables,
DoNotSnapToGridInCell,
SelectFldWithFirstOrLastChar,
ApplyBreakingRules,
DoNotWrapTextWithPunct,
DoNotUseEastAsianBreakRules,
UseWord2002TableStyleRules,
GrowAutofit,
UseFELayout,
UseNormalStyleForList,
DoNotUseIndentAsNumberingTabStop,
UseAltKinsokuLineBreakRules,
AllowSpaceOfSameStyleInTable,
DoNotSuppressIndentation,
DoNotAutofitConstrainedTables,
AutofitToFirstFixedWidthCell,
UnderlineTabInNumList,
DisplayHangulFixedWidth,
SplitPgBreakAndParaMark,
DoNotVertAlignCellWithSp,
DoNotBreakConstrainedForcedTable,
DoNotVertAlignInTxbx,
UseAnsiKerningPairs,
CachedColBalance,
}Expand description
The complete closed CT_Compat on-off child set.
Every w:compat child except w:compatSetting is a CT_OnOff of
identical shape, so one ordered enum carries the family in one place
instead of roughly eighty near-identical struct fields. The variants are
declared in xsd:sequence order, which is what Ord sorts by.
Variants§
UseSingleBorderforContiguousCells
WpJustification
NoTabHangInd
NoLeading
SpaceForUL
NoColumnBalance
BalanceSingleByteDoubleByteWidth
NoExtraLineSpacing
DoNotLeaveBackslashAlone
UlTrailSpace
DoNotExpandShiftReturn
SpacingInWholePoints
LineWrapLikeWord6
PrintBodyTextBeforeHeader
PrintColBlack
WpSpaceWidth
ShowBreaksInFrames
SubFontBySize
SuppressBottomSpacing
SuppressTopSpacing
SuppressSpacingAtTopOfPage
SuppressTopSpacingWP
SuppressSpBfAfterPgBrk
SwapBordersFacingPages
ConvMailMergeEsc
TruncateFontHeightsLikeWP6
MwSmallCaps
UsePrinterMetrics
DoNotSuppressParagraphBorders
WrapTrailSpaces
FootnoteLayoutLikeWW8
ShapeLayoutLikeWW8
AlignTablesRowByRow
ForgetLastTabAlignment
AdjustLineHeightInTable
AutoSpaceLikeWord95
NoSpaceRaiseLower
DoNotUseHTMLParagraphAutoSpacing
LayoutRawTableWidth
LayoutTableRowsApart
UseWord97LineBreakRules
DoNotBreakWrappedTables
DoNotSnapToGridInCell
SelectFldWithFirstOrLastChar
ApplyBreakingRules
DoNotWrapTextWithPunct
DoNotUseEastAsianBreakRules
UseWord2002TableStyleRules
GrowAutofit
UseFELayout
UseNormalStyleForList
DoNotUseIndentAsNumberingTabStop
UseAltKinsokuLineBreakRules
AllowSpaceOfSameStyleInTable
DoNotSuppressIndentation
DoNotAutofitConstrainedTables
AutofitToFirstFixedWidthCell
UnderlineTabInNumList
DisplayHangulFixedWidth
SplitPgBreakAndParaMark
DoNotVertAlignCellWithSp
DoNotBreakConstrainedForcedTable
DoNotVertAlignInTxbx
UseAnsiKerningPairs
CachedColBalance
Implementations§
Source§impl CompatibilityOption
impl CompatibilityOption
Sourcepub const ALL: &'static [CompatibilityOption]
pub const ALL: &'static [CompatibilityOption]
Every option in xsd:sequence order.
pub fn local_name(self) -> &'static str
Trait Implementations§
Source§impl Clone for CompatibilityOption
impl Clone for CompatibilityOption
Source§fn clone(&self) -> CompatibilityOption
fn clone(&self) -> CompatibilityOption
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CompatibilityOption
Source§impl Debug for CompatibilityOption
impl Debug for CompatibilityOption
impl Eq for CompatibilityOption
Source§impl Ord for CompatibilityOption
impl Ord for CompatibilityOption
Source§fn cmp(&self, other: &CompatibilityOption) -> Ordering
fn cmp(&self, other: &CompatibilityOption) -> Ordering
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 PartialEq for CompatibilityOption
impl PartialEq for CompatibilityOption
Source§impl PartialOrd for CompatibilityOption
impl PartialOrd for CompatibilityOption
impl StructuralPartialEq for CompatibilityOption
Auto Trait Implementations§
impl Freeze for CompatibilityOption
impl RefUnwindSafe for CompatibilityOption
impl Send for CompatibilityOption
impl Sync for CompatibilityOption
impl Unpin for CompatibilityOption
impl UnsafeUnpin for CompatibilityOption
impl UnwindSafe for CompatibilityOption
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.