Represents a page graphic assignment with positioning and page-range properties.
More...
|
|
| PageGraphicAssign (const DocumentWeakPtr &document, Cmper partId, ShareMode shareMode, Cmper cmper, Inci inci) |
| | Constructor.
|
| |
| std::optional< PageCmper > | calcStartPageNumber (Cmper forPartId) const |
| | Return the starting page number, taking into account leading blank pages in all parts. This calculation mimics observed behavior in Finale.
|
| |
| std::optional< PageCmper > | calcEndPageNumber (Cmper forPartId) const |
| | Return the ending page number, taking into account leading blank pages in all parts This calculation mimics observed behavior in Finale.
|
| |
|
bool | isMultiPage () const |
| | Returns true if this is a multi-page assignment.
|
| |
|
bool | isMultiAssignedThruLastPage () const |
| | Returns true if this is a multi-page assignment that is assigned to through last page, no matter how many.
|
| |
| void | integrityCheck (const std::shared_ptr< EnigmaBase > &ptrToThis) override |
| | Performs a final consistency check after population.
|
| |
|
| OthersBase (const OthersBase &)=default |
| | explicit default copy constructor
|
| |
|
| OthersBase (OthersBase &&) noexcept=default |
| | explicit default move constructor
|
| |
| Cmper | getCmper () const |
| | Gets the cmper key value.
|
| |
| std::optional< Inci > | getInci () const |
| | Gets the optional array index (inci).
|
| |
|
Cmper | getRequestedPartId () const |
| | If this instance was retrieved from an object pool, it contains the part ID that was used to retrieve it. If this value is different than getSourcePartId, then this instance is a copy of the pool instance.
|
| |
| Cmper | getSourcePartId () const |
| | Gets the source partId for this instance. If an instance is fully shared with the score, the source is SCORE_PARTID. If an instance is partially shared or non shared, the source is the ID of the part that sourced it.
|
| |
|
ShareMode | getShareMode () const |
| | Gets the sharing mode for this instance.
|
| |
|
virtual bool | requireAllFields () const |
| | Returns true if all fields are required for valid input.
|
| |
|
virtual | ~DocumentElement () noexcept(false)=default |
| | Virtual destructor for polymorphic behavior.
|
| |
| DocumentPtr | getDocument () const |
| | Gets a reference to the Document.
|
| |
|
Cmper | getPartId () const |
| | Gets the part id associated with this instance.
|
| |
|
|
uint32_t | version {} |
| | Always 0x100, meaning perhaps "v1.0". (This was intended for tracking changes to the data format, but it was never used.)
|
| |
|
Evpu | left {} |
| | Horizontal position from reference frame.
|
| |
|
Evpu | bottom {} |
| | Vertical position from reference frame.
|
| |
|
Evpu | width {} |
| | Display width of the placed graphic.
|
| |
|
Evpu | height {} |
| | Display height of the placed graphic.
|
| |
|
Cmper | fDescId {} |
| | The Cmper of the assigned FileDescription. (xml tag is <fDescID>)
|
| |
|
PageAssignType | displayType {} |
| | Whether the assignment appears on all/even/odd pages.
|
| |
|
bool | hidden {} |
| | If true, the graphic does not display: inverse of "Show" context menu option. (xml tag is <displayHidden>)
|
| |
|
HorizontalAlignment | hAlign {} |
| | Horizontal alignment for left/all pages. (xml tag is <halign>)
|
| |
|
VerticalAlignment | vAlign {} |
| | Vertical alignment for left/all pages. (xml tag is <valign>)
|
| |
|
PositionFrom | posFrom {} |
| | Position reference for left/all pages.
|
| |
|
bool | fixedPerc {} |
| | If true, preserve aspect ratio. This is a UI setting. Use width/origWidth and height/origHeight for actual scaling.
|
| |
|
PageCmper | startPage {} |
| | First page assignment ID where the graphic appears when cmper==0.
|
| |
|
PageCmper | endPage {} |
| | Last page assignment ID where the graphic appears when cmper==0.
|
| |
|
bool | savedRecord {} |
| | Indicates a stored/saved record. (Used internally by Finale when a graphic is created.)
|
| |
|
Evpu | origWidth {} |
| | Intrinsic/original width of the graphic.
|
| |
|
Evpu | origHeight {} |
| | Intrinsic/original height of the graphic.
|
| |
|
HorizontalAlignment | rightPgHAlign {} |
| | Horizontal alignment on right pages.
|
| |
|
VerticalAlignment | rightPgVAlign {} |
| | Vertical alignment on right pages.
|
| |
| PositionFrom | rightPgPosFrom {} |
| |
|
bool | rightPgFixedPerc {} |
| | If true, preserve aspect ratio on right-pages (UI setting only). The Finale UI appears to sync this with fixedPerc.
|
| |
|
Evpu | rightPgLeft {} |
| | Horizontal position for right pages.
|
| |
|
Evpu | rightPgBottom {} |
| | Vertical position for right pages.
|
| |
| Cmper | graphicCmper {} |
| |
|
| | OthersBase (const DocumentWeakPtr &document, Cmper partId, ShareMode shareMode, Cmper cmper, std::optional< Inci > inci=std::nullopt) |
| | Constructs an OthersBase object.
|
| |
|
OthersBase & | operator= (const OthersBase &other) |
| | Copy assignment preserves the destination DOM instance's document, source and requested part IDs, sharing mode, cmper, and inci.
|
| |
|
OthersBase & | operator= (OthersBase &&other) noexcept |
| | Move assignment preserves the destination DOM instance's document, source and requested part IDs, sharing mode, cmper, and inci.
|
| |
| | EnigmaBase (const DocumentWeakPtr &document, Cmper partId, ShareMode shareMode) |
| | Constructs the base class.
|
| |
|
| EnigmaBase (const EnigmaBase &)=default |
| | explicit default copy constructor
|
| |
|
| EnigmaBase (EnigmaBase &&) noexcept=default |
| | explicit default move constructor
|
| |
|
EnigmaBase & | operator= (const EnigmaBase &) |
| | Copy assignment preserves the destination DOM instance's document, source part, and sharing mode.
|
| |
|
EnigmaBase & | operator= (EnigmaBase &&) noexcept |
| | Move assignment preserves the destination DOM instance's document, source part, and sharing mode.
|
| |
| | DocumentElement (const DocumentWeakPtr &document, Cmper partId) |
| | Constructs the document element.
|
| |
|
| DocumentElement (const DocumentElement &)=default |
| | explicit default copy constructor
|
| |
|
| DocumentElement (DocumentElement &&) noexcept=default |
| | explicit default move constructor
|
| |
|
DocumentElement & | operator= (const DocumentElement &) |
| | Copy assignment preserves the destination DOM instance's document and part ID.
|
| |
|
DocumentElement & | operator= (DocumentElement &&) noexcept |
| | Move assignment preserves the destination DOM instance's document and part ID.
|
| |
Represents a page graphic assignment with positioning and page-range properties.
Instances of PageGraphicAssign use page assignment IDs rather than straightforward page numbers. If the cmper is non-0, startPage is not used and the cmper specifies a page assignment ID that defines which page this graphic is assigned to. If the cmper is 0, startPage specifies the first page assignment ID to which the graphic is assigned (and displayType governs whether it repeats on odd/even/all pages thereafter).
The inci value specifies a particular page graphic when more than one exists for a cmper value.
This class is identified by the XML node name "pageGraphicAssign".