Class PresentationSpaceResetMixingTriplet

java.lang.Object
org.apache.fop.afp.modca.AbstractAFPObject
org.apache.fop.afp.modca.triplets.AbstractTriplet
org.apache.fop.afp.modca.triplets.PresentationSpaceResetMixingTriplet
All Implemented Interfaces:
Triplet, Streamable, StructuredData

public class PresentationSpaceResetMixingTriplet extends AbstractTriplet
This triplet is used to specify the resulting appearance when data in a new presentation space is merged with data in an existing presentation space.
  • Field Details

    • NOT_RESET

      public static final byte NOT_RESET
      Do not reset to the color of the medium prior to placing data into this MO:DCA presentation space.
      See Also:
    • RESET

      public static final byte RESET
      Reset to the color of the medium prior to placing data into this MO:DCA presentation space.
      See Also:
  • Constructor Details

    • PresentationSpaceResetMixingTriplet

      public PresentationSpaceResetMixingTriplet(byte backgroundMixFlag)
      Main constructor
      Parameters:
      backgroundMixFlag - the background mixing flag
  • Method Details

    • getDataLength

      public int getDataLength()
      Returns the data length of this structured field
      Returns:
      the data length of this structured field
    • writeToStream

      public void writeToStream(OutputStream os) throws IOException
      DataStream objects must implement the writeToStream() method to write its data to the given OutputStream
      Parameters:
      os - the outputsteam stream
      Throws:
      IOException - an I/O exception of some sort has occurred.