com.businessobjects.rebean.wi
Interface OutputPropertiesType


public interface OutputPropertiesType

The OutputPropertiesType interface defines properties available for output customization.

Example: retrieving a report's Xml output expressed using the "metric" unit.

   import java.util.Properties;
   import com.businessobjects.rebean.wi.*
     
   class MetricOutput
   { 
       public XmlView getMetricOutput(Report report)
       { 
           Properties properties  = new Properties(); 
           
           properties.setProperty(OutputPropertiesType.XML_UNIT, "metric");
           
           return (XMLView) report.getXMLView(XMLView.CONTENT | XMLView.GRAPH_AS_BINARY, properties);
       } 
   }
 

See Also:
DocumentInstance.getView(OutputFormatType, Properties), DocumentInstance.getReportParts(String[], OutputFormatType, Properties), DocumentInstance.getXmlReportParts(String[], int, Properties), Report.getView(OutputFormatType, Properties), Report.getXMLView(int, Properties)

Field Summary
static java.lang.String DPI_FACTOR
          Explicitly sets the DPI (dots per inch) factor used by the report engine to perform measurement unit conversions.
static java.lang.String XML_FONT_MAPPING
          Requests that the Xml report output maps logical font names, as set in the document definition, to platform specific names.
static java.lang.String XML_UNIT
          Requests the Xml report output to be expressed using a specific measurement unit.
 

Field Detail

XML_UNIT

static final java.lang.String XML_UNIT
Requests the Xml report output to be expressed using a specific measurement unit.

This property exclusively applies to Xml outputs.

Available units:

Default unit: "pixel"

See Also:
Constant Field Values

XML_FONT_MAPPING

static final java.lang.String XML_FONT_MAPPING
Requests that the Xml report output maps logical font names, as set in the document definition, to platform specific names.

This property exclusively applies to Xml outputs.

Available values:

Default value: none (logical font names are used as is).

See Also:
Constant Field Values

DPI_FACTOR

static final java.lang.String DPI_FACTOR
Explicitly sets the DPI (dots per inch) factor used by the report engine to perform measurement unit conversions.

Defaut value: 96

See Also:
Constant Field Values