GoogleApi.ContentWarehouse.V1.Model.GoodocOrdinal
Table of Contents ▼
Jump to a specific part of the page:
- Description
- Attribute List
- Attributes
- Type
- Function
- Related links
- Possibly related Modules
Description
An Ordinal message represents a single ordinal component of a page number. It encodes the printed or inferred numbering style (Roman, ASCII, etc.) and the ordinal value of the component. An optional set of variable is defined in order to express a sectioned ordinal. A sectioned ordinal may appear in certain page numbering styles, for example "12-1" where "12" identifies a chapter and "1" identifies the page within it. This case will be encoded with value 1 and section_value 12 both of type ASCII.
Attributes List
This module has the following attributes (case-insensitive ascending order):
Attributes
-
implicit
(type:String.t
, default:nil
)
- -
sectionStringValue
(type:String.t
, default:nil
)
- -
sectionValue
(type:integer()
, default:nil
)
- -
sectionValueType
(type:String.t
, default:nil
)
- The following vars describe the section component of an ordinal (if exists). They are used to express situation where a page number has a section component, usually denoating the chapter number. For example pages 5-14, 5-15 will both have the common section 5. (If exists). The semantcis of the section variables correspond to that of the primary part of the ordinal. (Described above). -
stringValue
(type:String.t
, default:nil
)
- The string page value. -
value
(type:integer()
, default:nil
)
- The numeric page value. -
valueDelta
(type:String.t
, default:nil
)
- The delta in which the value increases between pages. -
valueType
(type:String.t
, default:nil
)
- A value type from the Type enum above.
Type
implicit: String.t() | nil,
sectionStringValue: String.t() | nil,
sectionValue: integer() | nil,
sectionValueType: String.t() | nil,
stringValue: String.t() | nil,
value: integer() | nil,
valueDelta: String.t() | nil,
valueType: String.t() | nil
}
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.GoodocOrdinal