pub struct OcUsage {Show 13 fields
pub view: Option<bool>,
pub print: Option<bool>,
pub print_subtype: Option<String>,
pub export: Option<bool>,
pub zoom_min: Option<f64>,
pub zoom_max: Option<f64>,
pub language: Option<String>,
pub language_preferred: bool,
pub page_element: Option<String>,
pub creator: Option<String>,
pub creator_subtype: Option<String>,
pub user_type: Option<String>,
pub user_names: Vec<String>,
}Expand description
An optional content usage dictionary (ISO 32000-1 §8.11.4.4, Table 102):
what the group’s content is for. Every field is None, false or empty
when its entry is absent.
Fields§
§view: Option<bool>/View /ViewState: whether the group should be on when the document
is opened on screen.
print: Option<bool>/Print /PrintState: whether the group should be on when printed.
print_subtype: Option<String>/Print /Subtype: the kind of print content, such as Trapping,
PrintersMarks or Watermark.
export: Option<bool>/Export /ExportState: whether the group should be on when exported
to a format without optional content.
zoom_min: Option<f64>/Zoom /min: the magnification the group is on from; the table’s
default is 0.
zoom_max: Option<f64>/Zoom /max: the magnification below which the group is on; the
table’s default is infinity.
language: Option<String>/Language /Lang: the content’s language tag, such as es-MX.
language_preferred: bool/Language /Preferred: whether the group is preferred on a partial
language match; false by default.
page_element: Option<String>/PageElement /Subtype: HF (header or footer), FG (foreground),
BG (background) or L (logo).
creator: Option<String>/CreatorInfo /Creator: the application that created the group.
creator_subtype: Option<String>/CreatorInfo /Subtype: the kind of content, such as Artwork or
Technical.
user_type: Option<String>/User /Type: Ind (individual), Ttl (title) or Org
(organization).
user_names: Vec<String>/User /Name: the names, one string or an array of strings.