192 lines
7.3 KiB
XML
192 lines
7.3 KiB
XML
<?xml version='1.0' encoding='UTF-8'?>
|
||
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||
|
||
<xsd:complexType name ="ChapterType">
|
||
<xsd:sequence>
|
||
<xsd:element name="Chapter" type="ChapterType" minOccurs="0" maxOccurs="unbounded"/>
|
||
</xsd:sequence>
|
||
<xsd:attribute name="name" type="xsd:string"/>
|
||
<xsd:attribute name="page" type="xsd:unsignedInt"/>
|
||
</xsd:complexType>
|
||
|
||
<xsd:complexType name ="SourceOptionsType">
|
||
<xsd:sequence>
|
||
<xsd:element name="Password" type="xsd:string" minOccurs="0" maxOccurs="1"/>
|
||
</xsd:sequence>
|
||
</xsd:complexType>
|
||
|
||
<xsd:complexType name="OptionsType">
|
||
<xsd:all>
|
||
<!-- <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> -->
|
||
<xsd:element name="FileInfo" minOccurs="0" maxOccurs="1">
|
||
<xsd:complexType>
|
||
<xsd:sequence>
|
||
<xsd:element name="Title" type="xsd:string" minOccurs="0" maxOccurs="1"/>
|
||
<xsd:element name="Subject" type="xsd:string" minOccurs="0" maxOccurs="1"/>
|
||
<xsd:element name="Category" type="xsd:string" minOccurs="0" maxOccurs="1"/>
|
||
<xsd:element name="Keywords" type="xsd:string" minOccurs="0" maxOccurs="1"/>
|
||
<xsd:element name="Comments" type="xsd:string" minOccurs="0" maxOccurs="1"/>
|
||
<xsd:element name="Author" type="xsd:string" minOccurs="0" maxOccurs="1"/>
|
||
<xsd:element name="RevisionNumber" type="xsd:string" minOccurs="0" maxOccurs="1"/>
|
||
</xsd:sequence>
|
||
</xsd:complexType>
|
||
</xsd:element>
|
||
|
||
<!-- <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> -->
|
||
<xsd:element name ="DocumentPages" minOccurs="0" maxOccurs="1">
|
||
<xsd:complexType>
|
||
<xsd:sequence>
|
||
<xsd:element name="Page" type="xsd:unsignedInt" minOccurs="1" maxOccurs="unbounded"/>
|
||
</xsd:sequence>
|
||
</xsd:complexType>
|
||
</xsd:element>
|
||
|
||
<!-- WaterMark <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> xml c <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> ImageStudio -->
|
||
<xsd:element name="WaterMarks" minOccurs="0" maxOccurs="1">
|
||
<xsd:complexType>
|
||
<xsd:sequence>
|
||
<xsd:any minOccurs="0" maxOccurs="unbounded" processContents="skip"/>
|
||
</xsd:sequence>
|
||
</xsd:complexType>
|
||
</xsd:element>
|
||
|
||
<xsd:element name="AddObjects" minOccurs="0" maxOccurs="1">
|
||
<xsd:complexType>
|
||
<xsd:sequence>
|
||
<xsd:element name="Paragraph" minOccurs="1" maxOccurs="unbounded">
|
||
<xsd:complexType>
|
||
<xsd:sequence>
|
||
<xsd:element name="Text" minOccurs="0" maxOccurs="unbounded">
|
||
<xsd:complexType>
|
||
<xsd:attribute name="value" type="xsd:string" use="required"/>
|
||
</xsd:complexType>
|
||
</xsd:element>
|
||
<xsd:element name="Link" minOccurs="0" maxOccurs="unbounded">
|
||
<xsd:complexType>
|
||
<xsd:attribute name="value" type="xsd:string" use="required"/>
|
||
<xsd:attribute name="href" type="xsd:string" use="required"/>
|
||
</xsd:complexType>
|
||
</xsd:element>
|
||
</xsd:sequence>
|
||
</xsd:complexType>
|
||
</xsd:element>
|
||
</xsd:sequence>
|
||
</xsd:complexType>
|
||
</xsd:element>
|
||
|
||
<!-- <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> -->
|
||
<!-- PDF Options -->
|
||
<xsd:element name="PDFOptions" minOccurs="0" maxOccurs="1">
|
||
<xsd:complexType>
|
||
<xsd:sequence>
|
||
<xsd:element name="Outline" type="ChapterType" minOccurs="0" maxOccurs="1"/>
|
||
<xsd:element name="Encryption" minOccurs="0" maxOccurs="1">
|
||
<xsd:complexType>
|
||
<xsd:sequence>
|
||
<xsd:element name="OwnerPassword" minOccurs="0" maxOccurs="1">
|
||
<xsd:complexType>
|
||
<xsd:attribute name="value" type="xsd:string" use="required"/>
|
||
</xsd:complexType>
|
||
</xsd:element>
|
||
<xsd:element name="UserPassword" minOccurs="0" maxOccurs="1">
|
||
<xsd:complexType>
|
||
<xsd:attribute name="value" type="xsd:string" use="required"/>
|
||
<xsd:attribute name="print" type="xsd:boolean" use="optional"/>
|
||
<xsd:attribute name ="modify" type="xsd:boolean" use="optional"/>
|
||
<xsd:attribute name ="copy" type="xsd:boolean" use="optional"/>
|
||
</xsd:complexType>
|
||
</xsd:element>
|
||
</xsd:sequence>
|
||
</xsd:complexType>
|
||
</xsd:element>
|
||
</xsd:sequence>
|
||
</xsd:complexType>
|
||
</xsd:element>
|
||
|
||
<!-- TXT Options -->
|
||
<xsd:element name="TXTOptions" minOccurs="0" maxOccurs="1">
|
||
<xsd:complexType>
|
||
<xsd:sequence>
|
||
<xsd:element name="Encoding" minOccurs="0" maxOccurs="1">
|
||
<xsd:simpleType>
|
||
<xsd:restriction base="xsd:unsignedInt"/>
|
||
</xsd:simpleType>
|
||
</xsd:element>
|
||
</xsd:sequence>
|
||
</xsd:complexType>
|
||
</xsd:element>
|
||
|
||
<!-- Jpeg Options -->
|
||
<xsd:element name="JPGOptions" minOccurs="0" maxOccurs="1">
|
||
<xsd:complexType>
|
||
<xsd:sequence>
|
||
<xsd:element name="Quality" minOccurs="0" maxOccurs="1">
|
||
<xsd:simpleType>
|
||
<xsd:restriction base="xsd:unsignedInt">
|
||
<xsd:minInclusive value="0"/>
|
||
<xsd:maxInclusive value="100"/>
|
||
</xsd:restriction>
|
||
</xsd:simpleType>
|
||
</xsd:element>
|
||
</xsd:sequence>
|
||
</xsd:complexType>
|
||
</xsd:element>
|
||
|
||
<!-- TIFF Options -->
|
||
<xsd:element name="TIFFOptions" minOccurs="0" maxOccurs="1">
|
||
<xsd:complexType>
|
||
<xsd:sequence>
|
||
<xsd:element name="Compression" minOccurs="0" maxOccurs="1">
|
||
<xsd:simpleType>
|
||
<xsd:restriction base="xsd:unsignedInt"/>
|
||
</xsd:simpleType>
|
||
</xsd:element>
|
||
</xsd:sequence>
|
||
</xsd:complexType>
|
||
</xsd:element>
|
||
</xsd:all>
|
||
</xsd:complexType>
|
||
|
||
<xsd:attribute name="filename" type="xsd:string"/>
|
||
<xsd:attribute name="filetype" type="xsd:unsignedInt"/>
|
||
<xsd:attribute name="id" type="xsd:unsignedInt"/>
|
||
|
||
<xsd:complexType name="DocumentConverterType">
|
||
<xsd:sequence>
|
||
<xsd:element name="Document" minOccurs="1" maxOccurs="unbounded">
|
||
<xsd:complexType>
|
||
<xsd:sequence>
|
||
<xsd:element name="Source" nillable="true" minOccurs="1" maxOccurs="1">
|
||
<xsd:complexType>
|
||
<xsd:all>
|
||
<xsd:element name="Options" type="SourceOptionsType" minOccurs="0" maxOccurs="1"/>
|
||
</xsd:all>
|
||
<xsd:attribute ref="filename" use="required"/>
|
||
<xsd:attribute ref="id" use="required"/>
|
||
<xsd:attribute ref="filetype" use="optional"/>
|
||
</xsd:complexType>
|
||
</xsd:element>
|
||
<xsd:element name="Destinations">
|
||
<xsd:complexType>
|
||
<xsd:sequence>
|
||
<xsd:element name="Destination" nillable="true" minOccurs="1" maxOccurs="unbounded">
|
||
<xsd:complexType>
|
||
<xsd:all>
|
||
<xsd:element name="Options" type="OptionsType" minOccurs="0" maxOccurs="1"/>
|
||
</xsd:all>
|
||
<xsd:attribute ref="filename" use="required"/>
|
||
<xsd:attribute ref="filetype" use="optional"/>
|
||
</xsd:complexType>
|
||
</xsd:element>
|
||
</xsd:sequence>
|
||
</xsd:complexType>
|
||
</xsd:element>
|
||
</xsd:sequence>
|
||
</xsd:complexType>
|
||
</xsd:element>
|
||
</xsd:sequence>
|
||
</xsd:complexType>
|
||
|
||
<xsd:element name="DocumentConverter" type="DocumentConverterType"/>
|
||
|
||
</xsd:schema> |