Package org.audiveris.proxymusic
Class PageLayout
java.lang.Object
org.audiveris.proxymusic.PageLayout
Page layout can be defined both in score-wide defaults and in the print element. Page margins are specified either for both even and odd pages, or via separate odd and even page number values. The type is not needed when used as part of a print element. If omitted when used in the defaults element, "both" is the default.
If no page-layout element is present in the defaults element, default page layout values are chosen by the application.
When used in the print element, the page-layout element affects the appearance of the current page only. All other pages use the default values as determined by the defaults element. If any child elements are missing from the page-layout element in a print element, the values determined by the defaults element are used there as well.
Java class for page-layout complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="page-layout">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<sequence minOccurs="0">
<element name="page-height" type="{}tenths"/>
<element name="page-width" type="{}tenths"/>
</sequence>
<element name="page-margins" type="{}page-margins" maxOccurs="2" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BigDecimalprotected List<PageMargins>protected BigDecimal -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the pageHeight property.Gets the value of the pageMargins property.Gets the value of the pageWidth property.voidsetPageHeight(BigDecimal value) Sets the value of the pageHeight property.voidsetPageWidth(BigDecimal value) Sets the value of the pageWidth property.
-
Field Details
-
pageHeight
-
pageWidth
-
pageMargins
-
-
Constructor Details
-
PageLayout
public PageLayout()
-
-
Method Details
-
getPageHeight
Gets the value of the pageHeight property.- Returns:
- possible object is
BigDecimal
-
setPageHeight
Sets the value of the pageHeight property.- Parameters:
value- allowed object isBigDecimal
-
getPageWidth
Gets the value of the pageWidth property.- Returns:
- possible object is
BigDecimal
-
setPageWidth
Sets the value of the pageWidth property.- Parameters:
value- allowed object isBigDecimal
-
getPageMargins
Gets the value of the pageMargins property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the pageMargins property.For example, to add a new item, do as follows:
getPageMargins().add(newItem);Objects of the following type(s) are allowed in the list
PageMargins
-