pub enum StyleUse {
Default,
Named,
Automatic,
}Expand description
Placement of a style. office:styles or office:automatic-styles Defines the usage pattern for the style.
Variants§
Default
The style:default-style element represents default styles. A default style specifies default formatting properties for a style family. These defaults are used if a formatting property is neither specified by an automatic nor a common style. Default styles exist for all style families that are represented by the style:style element specified by the style:family attribute 19.480. An OpenDocument document should contain the default styles of the style families for which are used in common or automatic styles in the document.
Named
The office:styles element contains common styles used in a document. A common style is a style chosen by a user for a document or portion thereof.
Automatic
The office:automatic-styles element contains automatic styles used in a document. An automatic style is a set of formatting properties treated as properties of the object to which the style is assigned.
Note: Common and automatic styles behave differently in OpenDocument editing consumers. Common styles present to a user as a named set of formatting properties. The formatting properties of an automatic style present to a user as properties of the object to which the style is applied.
Trait Implementations§
Source§impl GetSize for StyleUse
impl GetSize for StyleUse
Source§fn get_heap_size(&self) -> usize
fn get_heap_size(&self) -> usize
Source§fn get_heap_size_with_tracker<TRACKER: GetSizeTracker>(
&self,
tracker: TRACKER,
) -> (usize, TRACKER)
fn get_heap_size_with_tracker<TRACKER: GetSizeTracker>( &self, tracker: TRACKER, ) -> (usize, TRACKER)
tracker. Read moreSource§fn get_stack_size() -> usize
fn get_stack_size() -> usize
Source§fn get_size_with_tracker<T>(&self, tracker: T) -> (usize, T)where
T: GetSizeTracker,
fn get_size_with_tracker<T>(&self, tracker: T) -> (usize, T)where
T: GetSizeTracker,
tracker. Read moreimpl Copy for StyleUse
impl Eq for StyleUse
impl StructuralPartialEq for StyleUse
Auto Trait Implementations§
impl Freeze for StyleUse
impl RefUnwindSafe for StyleUse
impl Send for StyleUse
impl Sync for StyleUse
impl Unpin for StyleUse
impl UnwindSafe for StyleUse
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
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.