diff options
author | Jeremias Maerki <jeremias@apache.org> | 2006-08-03 07:41:39 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2006-08-03 07:41:39 +0000 |
commit | 42471a761cf78619b02aa588c38d0aa85dfa0051 (patch) | |
tree | 67a97f72a34d970ec7584555501ab1b426d38d9b /src/foschema | |
parent | 055b132d624265bf7bfffb4f1c2991fd88849480 (diff) | |
download | xmlgraphics-fop-42471a761cf78619b02aa588c38d0aa85dfa0051.tar.gz xmlgraphics-fop-42471a761cf78619b02aa588c38d0aa85dfa0051.zip |
Documentation update for the "output-profile" value necessary for PDF/X-3:2003.
Some updates for the config schema.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@428277 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/foschema')
-rw-r--r-- | src/foschema/fop-configuration.xsd | 185 |
1 files changed, 109 insertions, 76 deletions
diff --git a/src/foschema/fop-configuration.xsd b/src/foschema/fop-configuration.xsd index 2cc0fca56..f1e792858 100644 --- a/src/foschema/fop-configuration.xsd +++ b/src/foschema/fop-configuration.xsd @@ -60,126 +60,159 @@ <xsd:attribute name="version" use="optional"> <xsd:simpleType> <xsd:restriction base="xsd:string"> - <xsd:enumeration value="1.0"></xsd:enumeration> + <xsd:enumeration value="1.0"/> </xsd:restriction> </xsd:simpleType> </xsd:attribute> </xsd:complexType> </xsd:element> - <xsd:complexType name="rendererType"> - <xsd:annotation> - <xsd:documentation>This type is stricter than required by FOP, in that it imposes an + <xsd:annotation> + <xsd:documentation>This type is stricter than required by FOP, in that it imposes an order of the elements, which is not required by FOP.</xsd:documentation> - </xsd:annotation> - <xsd:sequence> + </xsd:annotation> + <xsd:sequence> <xsd:choice minOccurs="0"> - <xsd:element name="filterList" maxOccurs="2"> - <xsd:annotation> - <xsd:documentation>filterLists are used by the PDF renderer, MIME type - application/pdf.</xsd:documentation> - </xsd:annotation> - <xsd:complexType> - <xsd:sequence> - <xsd:element name="value" type="xsd:string" - maxOccurs="unbounded"> - </xsd:element> - </xsd:sequence> - <xsd:attribute name="type" use="optional"> - <xsd:simpleType> - <xsd:restriction base="xsd:string"> - <xsd:enumeration value="image"></xsd:enumeration> - </xsd:restriction> - </xsd:simpleType> - </xsd:attribute> - </xsd:complexType> - </xsd:element> - <xsd:element name="auto-rotate-landscape"> - <xsd:annotation> - <xsd:documentation>auto-rotate-landscape is used by the PostScript renderer, - MIME type application/postscript.</xsd:documentation> - </xsd:annotation> - <xsd:simpleType> - <xsd:restriction base="xsd:string"> - <xsd:enumeration value="false"></xsd:enumeration> - <xsd:enumeration value="true"></xsd:enumeration> - </xsd:restriction> - </xsd:simpleType> - </xsd:element> <xsd:sequence> - <xsd:annotation> - <xsd:documentation>rendering and text-rendering are used by the PCL renderer, + <xsd:annotation> + <xsd:documentation>Configuration elements used by the PDF renderer, + MIME type application/pdf</xsd:documentation> + </xsd:annotation> + <xsd:element name="filterList" minOccurs="0" maxOccurs="unbounded"> + <xsd:annotation> + <xsd:documentation>filterLists are used by the PDF renderer, MIME type + application/pdf.</xsd:documentation> + </xsd:annotation> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" maxOccurs="unbounded"/> + </xsd:sequence> + <xsd:attribute name="type" use="optional"> + <xsd:simpleType> + <xsd:restriction base="xsd:string"> + <xsd:enumeration value="default"/> + <xsd:enumeration value="content"/> + <xsd:enumeration value="image"/> + <xsd:enumeration value="jpeg"/> + <xsd:enumeration value="tiff"/> + <xsd:enumeration value="font"/> + <xsd:enumeration value="metadata"/> + <!-- Available values: see PDFFilterList.java --> + </xsd:restriction> + </xsd:simpleType> + </xsd:attribute> + </xsd:complexType> + </xsd:element> + <xsd:element name="output-profile" type="xsd:string" minOccurs="0"> + <xsd:annotation> + <xsd:documentation>Output color profile used by the PDF renderer. Specifies a + filename to an ICC file.</xsd:documentation> + </xsd:annotation> + </xsd:element> + </xsd:sequence> + <xsd:sequence> + <xsd:annotation> + <xsd:documentation>Configuration elements used by the PostScript renderer, + MIME type application/postscript</xsd:documentation> + </xsd:annotation> + <xsd:element name="auto-rotate-landscape"> + <xsd:annotation> + <xsd:documentation>auto-rotate-landscape is used by the PostScript renderer, + MIME type application/postscript.</xsd:documentation> + </xsd:annotation> + <xsd:simpleType> + <xsd:restriction base="xsd:string"> + <xsd:enumeration value="false"/> + <xsd:enumeration value="true"/> + </xsd:restriction> + </xsd:simpleType> + </xsd:element> + </xsd:sequence> + <xsd:sequence> + <xsd:annotation> + <xsd:documentation>rendering and text-rendering are used by the PCL renderer, MIME type application/vnd.hp-PCL</xsd:documentation> - </xsd:annotation> - <xsd:element name="rendering" minOccurs="0"> + </xsd:annotation> + <xsd:element name="rendering" minOccurs="0"> <xsd:simpleType> <xsd:restriction base="xsd:string"> - <xsd:enumeration value="speed"></xsd:enumeration> - <xsd:enumeration value="quality"></xsd:enumeration> + <xsd:enumeration value="speed"/> + <xsd:enumeration value="quality"/> </xsd:restriction> </xsd:simpleType> </xsd:element> <xsd:element name="text-rendering" minOccurs="0"> <xsd:simpleType> <xsd:restriction base="xsd:string"> - <xsd:enumeration value="auto"></xsd:enumeration> - <xsd:enumeration value="bitmap"></xsd:enumeration> + <xsd:enumeration value="auto"/> + <xsd:enumeration value="bitmap"/> </xsd:restriction> </xsd:simpleType> </xsd:element> </xsd:sequence> + <xsd:sequence> + <xsd:annotation> + <xsd:documentation>The elements in this sequence apply only to the text renderer, + MIME type text/plain.</xsd:documentation> + </xsd:annotation> + <xsd:element name="encoding" type="xsd:string" default="UTF-8" minOccurs="0"/> + </xsd:sequence> </xsd:choice> <xsd:element name="fonts" minOccurs="0"> <xsd:complexType> <xsd:sequence> - <xsd:element name="font" type="fontType" - maxOccurs="unbounded"> - </xsd:element> + <xsd:element name="font" type="fontType" maxOccurs="unbounded"/> </xsd:sequence> </xsd:complexType> </xsd:element> + <xsd:element name="xml-handler" minOccurs="0" maxOccurs="unbounded"> + <xsd:complexType> + <xsd:complexContent> + <xsd:extension base="xsd:anyType"/> + </xsd:complexContent> + </xsd:complexType> + </xsd:element> </xsd:sequence> - <xsd:attribute name="mime" type="MimeConstants" use="required"></xsd:attribute> + <xsd:attribute name="mime" type="MimeConstants" use="required"/> </xsd:complexType> - <xsd:complexType name="fontType"> <xsd:sequence> - <xsd:element name="font-triplet" type="fontTripletType" maxOccurs="unbounded"></xsd:element> + <xsd:element name="font-triplet" type="fontTripletType" maxOccurs="unbounded"/> </xsd:sequence> - <xsd:attribute name="metrics-url" type="xsd:anyURI" use="required"></xsd:attribute> - <xsd:attribute name="embed-url" type="xsd:anyURI" use="optional"></xsd:attribute> - <xsd:attribute name="kerning" use="optional"> + <xsd:attribute name="metrics-url" type="xsd:anyURI" use="required"/> + <xsd:attribute name="embed-url" type="xsd:anyURI" use="optional"/> + <xsd:attribute name="kerning" use="optional" default="no"> <xsd:simpleType> <xsd:restriction base="xsd:string"> - <xsd:enumeration value="yes"></xsd:enumeration> + <xsd:enumeration value="yes"/> + <xsd:enumeration value="no"/> </xsd:restriction> </xsd:simpleType> </xsd:attribute> </xsd:complexType> - <xsd:complexType name="fontTripletType"> - <xsd:attribute name="name" type="xsd:string" use="required"></xsd:attribute> - <xsd:attribute name="style" type="xsd:string" use="required"></xsd:attribute> - <xsd:attribute name="weight" type="xsd:string" use="required"></xsd:attribute> + <xsd:attribute name="name" type="xsd:string" use="required"/> + <xsd:attribute name="style" type="xsd:string" use="required"/> + <xsd:attribute name="weight" type="xsd:string" use="required"/> </xsd:complexType> - <xsd:simpleType name="MimeConstants"> <xsd:restriction base="xsd:string"> - <xsd:enumeration value="application/pdf"></xsd:enumeration> - <xsd:enumeration value="application/postscript"></xsd:enumeration> - <xsd:enumeration value="application/x-pcl"></xsd:enumeration> - <xsd:enumeration value="application/vnd.hp-PCL"></xsd:enumeration> - <xsd:enumeration value="application/x-afp"></xsd:enumeration> - <xsd:enumeration value="application/vnd.ibm.modcap"></xsd:enumeration> - <xsd:enumeration value="text/plain"></xsd:enumeration> - <xsd:enumeration value="application/rtf"></xsd:enumeration> - <xsd:enumeration value="text/richtext"></xsd:enumeration> - <xsd:enumeration value="text/rtf"></xsd:enumeration> - <xsd:enumeration value="application/mif"></xsd:enumeration> - <xsd:enumeration value="application/X-fop-awt-preview"></xsd:enumeration> - <xsd:enumeration value="application/X-fop-print"></xsd:enumeration> - <xsd:enumeration value="application/X-fop-areatree"></xsd:enumeration> + <xsd:enumeration value="application/pdf"/> + <xsd:enumeration value="application/postscript"/> + <xsd:enumeration value="application/x-pcl"/> + <xsd:enumeration value="application/vnd.hp-PCL"/> + <xsd:enumeration value="application/x-afp"/> + <xsd:enumeration value="application/vnd.ibm.modcap"/> + <xsd:enumeration value="text/plain"/> + <xsd:enumeration value="application/rtf"/> + <xsd:enumeration value="text/richtext"/> + <xsd:enumeration value="text/rtf"/> + <xsd:enumeration value="application/mif"/> + <xsd:enumeration value="application/X-fop-awt-preview"/> + <xsd:enumeration value="application/X-fop-print"/> + <xsd:enumeration value="application/X-fop-areatree"/> + <xsd:enumeration value="image/png"/> + <xsd:enumeration value="image/tiff"/> </xsd:restriction> </xsd:simpleType> - </xsd:schema> |