fop svn-trunk

org.apache.fop.afp.modca.triplets
Class PresentationSpaceMixingRulesTriplet

java.lang.Object
  extended by org.apache.fop.afp.modca.triplets.AbstractTriplet
      extended by org.apache.fop.afp.modca.triplets.PresentationSpaceMixingRulesTriplet
All Implemented Interfaces:
Streamable, StructuredData

public class PresentationSpaceMixingRulesTriplet
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 Summary
static byte BLEND
          blend
static byte DEFAULT
          MO:DCA default mixing
static byte OVERPAINT
          overpaint
static byte RULE_BACK_ON_BACK
          background on background mixing rule
static byte RULE_BACK_ON_FORE
          background on foreground mixing rule
static byte RULE_FORE_ON_BACK
          foreground on background mixing rule
static byte RULE_FORE_ON_FORE
          foreground on foreground mixing rule
static byte UNDERPAINT
          underpaint
 
Fields inherited from class org.apache.fop.afp.modca.triplets.AbstractTriplet
AREA_DEFINITION, ATTRIBUTE_QUALIFIER, ATTRIBUTE_VALUE, CHARACTER_ROTATION, CMR_TAG_FIDELITY, CODED_GRAPHIC_CHARACTER_SET_GLOBAL_IDENTIFIER, COLOR_FIDELITY, COLOR_MANAGEMENT_RESOURCE_DESCRIPTOR, COLOR_SPECIFICATION, COMMENT, DATA_OBJECT_FONT_DESCRIPTOR, DESCRIPTOR_POSITION, DEVICE_APPEARANCE, ENCODING_SCHEME_ID, EXTENDED_RESOURCE_LOCAL_IDENTIFIER, FINISHING_FIDELITY, FINISHING_OPERATION, FONT_DESCRIPTOR_SPECIFICATION, FONT_FIDELITY, FONT_HORIZONTAL_SCALE_FACTOR, FONT_RESOLUTION_AND_METRIC_TECHNOLOGY, FULLY_QUALIFIED_NAME, id, LOCALE_SELECTOR, MAPPING_OPTION, MEASUREMENT_UNITS, MEDIA_EJECT_CONTROL, MEDIA_FIDELITY, MEDIUM_MAP_PAGE_NUMBER, MEDIUM_ORIENTATION, MODCA_INTERCHANGE_SET, OBJECT_AREA_SIZE, OBJECT_BYTE_EXTENT, OBJECT_BYTE_OFFSET, OBJECT_CLASSIFICATION, OBJECT_COUNT, OBJECT_DATE_AND_TIMESTAMP, OBJECT_FUNCTION_SET_SPECIFICATION, OBJECT_OFFSET, OBJECT_STRUCTURED_FIELD_EXTENT, OBJECT_STRUCTURED_FIELD_OFFSET, PAGE_OVERLAY_CONDITIONAL_PROCESSING, PAGE_POSITION_INFORMATION, PARAMETER_VALUE, PRESENTATION_CONTROL, PRESENTATION_SPACE_MIXING_RULE, PRESENTATION_SPACE_RESET_MIXING, RENDERING_INTENT, RESOURCE_LOCAL_IDENTIFIER, RESOURCE_OBJECT_INCLUDE, RESOURCE_SECTION_NUMBER, RESOURCE_USAGE_ATTRIBUTE, TEXT_FIDELITY, TONER_SAVER, UNIVERSAL_DATE_AND_TIMESTAMP, UP3I_FINISHING_OPERATION
 
Constructor Summary
PresentationSpaceMixingRulesTriplet(byte[] rules)
          Main constructor
 
Method Summary
 int getDataLength()
          Returns the data length of this structured field
 void writeToStream(java.io.OutputStream os)
          DataStream objects must implement the writeToStream() method to write its data to the given OutputStream
 
Methods inherited from class org.apache.fop.afp.modca.triplets.AbstractTriplet
getData, getId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RULE_BACK_ON_BACK

public static final byte RULE_BACK_ON_BACK
background on background mixing rule

See Also:
Constant Field Values

RULE_BACK_ON_FORE

public static final byte RULE_BACK_ON_FORE
background on foreground mixing rule

See Also:
Constant Field Values

RULE_FORE_ON_BACK

public static final byte RULE_FORE_ON_BACK
foreground on background mixing rule

See Also:
Constant Field Values

RULE_FORE_ON_FORE

public static final byte RULE_FORE_ON_FORE
foreground on foreground mixing rule

See Also:
Constant Field Values

OVERPAINT

public static final byte OVERPAINT
overpaint

See Also:
Constant Field Values

UNDERPAINT

public static final byte UNDERPAINT
underpaint

See Also:
Constant Field Values

BLEND

public static final byte BLEND
blend

See Also:
Constant Field Values

DEFAULT

public static final byte DEFAULT
MO:DCA default mixing

See Also:
Constant Field Values
Constructor Detail

PresentationSpaceMixingRulesTriplet

public PresentationSpaceMixingRulesTriplet(byte[] rules)
Main constructor

Parameters:
rules - the mixing rules
Method Detail

getDataLength

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

Returns:
the data length of this structured field

writeToStream

public void writeToStream(java.io.OutputStream os)
                   throws java.io.IOException
DataStream objects must implement the writeToStream() method to write its data to the given OutputStream

Parameters:
os - the outputsteam stream
Throws:
java.io.IOException - an I/O exception of some sort has occurred.

fop svn-trunk

Copyright 1999-2009 The Apache Software Foundation. All Rights Reserved.