Class PageMargins

java.lang.Object
org.audiveris.proxymusic.PageMargins

public class PageMargins extends Object
Page margins are specified either for both even and odd pages, or via separate odd and even page number values. The type attribute is not needed when used as part of a print element. If omitted when the page-margins type is used in the defaults element, "both" is the default value.

Java class for page-margins complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="page-margins">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <group ref="{}all-margins"/>
       <attribute name="type" type="{}margin-type" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • PageMargins

      public PageMargins()
  • Method Details

    • getLeftMargin

      public BigDecimal getLeftMargin()
      Gets the value of the leftMargin property.
      Returns:
      possible object is BigDecimal
    • setLeftMargin

      public void setLeftMargin(BigDecimal value)
      Sets the value of the leftMargin property.
      Parameters:
      value - allowed object is BigDecimal
    • getRightMargin

      public BigDecimal getRightMargin()
      Gets the value of the rightMargin property.
      Returns:
      possible object is BigDecimal
    • setRightMargin

      public void setRightMargin(BigDecimal value)
      Sets the value of the rightMargin property.
      Parameters:
      value - allowed object is BigDecimal
    • getTopMargin

      public BigDecimal getTopMargin()
      Gets the value of the topMargin property.
      Returns:
      possible object is BigDecimal
    • setTopMargin

      public void setTopMargin(BigDecimal value)
      Sets the value of the topMargin property.
      Parameters:
      value - allowed object is BigDecimal
    • getBottomMargin

      public BigDecimal getBottomMargin()
      Gets the value of the bottomMargin property.
      Returns:
      possible object is BigDecimal
    • setBottomMargin

      public void setBottomMargin(BigDecimal value)
      Sets the value of the bottomMargin property.
      Parameters:
      value - allowed object is BigDecimal
    • getType

      public MarginType getType()
      Gets the value of the type property.
      Returns:
      possible object is MarginType
    • setType

      public void setType(MarginType value)
      Sets the value of the type property.
      Parameters:
      value - allowed object is MarginType