#[non_exhaustive]pub enum Limit {
LineMultiple,
GridColumns,
BalanceTrials,
TableDashes,
LineRange,
FontSize,
FieldDepth,
}Expand description
A limit of F-Office’s work that a value of the file can reach, which
Warning::LimitReached names. It bounds the work, and is not a measure of Word.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
LineMultiple
The largest multiple of automatic line spacing (MAX_LINE_MULTIPLE): a w:line of the
rule auto, or a DrawingML share of a line, beyond it or below its negative.
GridColumns
The most grid columns of a table (MAX_GRID_COLUMNS): a w:gridSpan or a
w:gridBefore above it, a w:tblGrid of more columns, or a row that would widen the
grid beyond it.
BalanceTrials
The most trials of balanced columns (MAX_BALANCE_TRIALS): a section whose columns
end at a continuous section break and fit within no trial, which keeps its columns as
they fill.
TableDashes
The most items of a page with the dashes of table lines (MAX_DASHED_PAGE_ITEMS): a
piece of a dashed table line whose dashes would take its page beyond them, which is
drawn whole.
LineRange
The range of a length: a line of a table row whose edges lie beyond it, which no file
gives, since every length that a reader takes lies within Length::FILE_LIMIT, and
which leaves the row’s lines whole, not cut at their junctions.
FontSize
The largest font size of a run (MAX_FONT_SIZE): a w:sz or a w:szCs above it.
FieldDepth
The most fields open at one place of a story (MAX_FIELD_DEPTH): a field that begins
while that many are open, which is read as content of the field around it.
Trait Implementations§
impl Copy for Limit
impl Eq for Limit
impl StructuralPartialEq for Limit
Auto Trait Implementations§
impl Forget for Limit
impl Freeze for Limit
impl Move for Limit
impl RefUnwindSafe for Limit
impl Send for Limit
impl Sync for Limit
impl Unpin for Limit
impl UnsafeUnpin for Limit
impl UnwindSafe for Limit
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.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
T, using the provided data to resolve any offsets.