Class PageLayout

java.lang.Object
org.audiveris.proxymusic.PageLayout

public class PageLayout extends Object
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 Details

  • Constructor Details

    • PageLayout

      public PageLayout()
  • Method Details

    • getPageHeight

      public BigDecimal getPageHeight()
      Gets the value of the pageHeight property.
      Returns:
      possible object is BigDecimal
    • setPageHeight

      public void setPageHeight(BigDecimal value)
      Sets the value of the pageHeight property.
      Parameters:
      value - allowed object is BigDecimal
    • getPageWidth

      public BigDecimal getPageWidth()
      Gets the value of the pageWidth property.
      Returns:
      possible object is BigDecimal
    • setPageWidth

      public void setPageWidth(BigDecimal value)
      Sets the value of the pageWidth property.
      Parameters:
      value - allowed object is BigDecimal
    • getPageMargins

      public List<PageMargins> 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 set method 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