Jasperreports的XSD翻译

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Jasperreports的XSD翻译相关的知识,希望对你有一定的参考价值。

介绍
本文是jasperreports的xsd的翻译。




[codesyntax lang="xml"]
<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://jasperreports.sourceforge.net/jasperreports" xmlns:jr="http://jasperreports.sourceforge.net/jasperreports" elementFormDefault="qualified">

<element name="jasperReport">
<annotation>
<documentation>Root element representing the definition of a report.</documentation>
</annotation>
<complexType>
<sequence>
<element ref="jr:property" minOccurs="0" maxOccurs="unbounded"/>
<element name="propertyExpression" type="jr:datasetPropertyExpressionType" minOccurs="0" maxOccurs="unbounded"/>
<element ref="jr:import" minOccurs="0" maxOccurs="unbounded"/>
<element ref="jr:template" minOccurs="0" maxOccurs="unbounded"/>
<element ref="jr:reportFont" minOccurs="0" maxOccurs="unbounded"/>
<element ref="jr:style" minOccurs="0" maxOccurs="unbounded"/>
<element ref="jr:subDataset" minOccurs="0" maxOccurs="unbounded"/>
<element ref="jr:scriptlet" minOccurs="0" maxOccurs="unbounded"/>
<element ref="jr:parameter" minOccurs="0" maxOccurs="unbounded"/>
<element ref="jr:queryString" minOccurs="0" maxOccurs="1"/>
<element ref="jr:field" minOccurs="0" maxOccurs="unbounded"/>
<element ref="jr:sortField" minOccurs="0" maxOccurs="unbounded"/>
<element ref="jr:variable" minOccurs="0" maxOccurs="unbounded"/>
<element ref="jr:filterExpression" minOccurs="0" maxOccurs="1"/>
<element ref="jr:group" minOccurs="0" maxOccurs="unbounded"/>
<element ref="jr:background" minOccurs="0" maxOccurs="1"/>
<element ref="jr:title" minOccurs="0" maxOccurs="1"/>
<element ref="jr:pageHeader" minOccurs="0" maxOccurs="1"/>
<element ref="jr:columnHeader" minOccurs="0" maxOccurs="1"/>
<element ref="jr:detail" minOccurs="0" maxOccurs="1"/>
<element ref="jr:columnFooter" minOccurs="0" maxOccurs="1"/>
<element ref="jr:pageFooter" minOccurs="0" maxOccurs="1"/>
<element ref="jr:lastPageFooter" minOccurs="0" maxOccurs="1"/>
<element ref="jr:summary" minOccurs="0" maxOccurs="1"/>
<element ref="jr:noData" minOccurs="0" maxOccurs="1"/>
</sequence>
<attribute name="name" type="string" use="required">
<annotation>
<documentation>Name of the report.</documentation>
</annotation>
</attribute>
<attribute name="language" type="string" use="optional" default="java">
<annotation>
<documentation>Specifies the language used for the report expressions.</documentation>
</annotation>
</attribute>
<attribute name="columnCount" type="NMTOKEN" use="optional" default="1">
<annotation>
<documentation>Number of columns on the report.</documentation>
</annotation>
</attribute>
<attribute name="printOrder" use="optional" default="Vertical">
<annotation>
<documentation>Columns filling order.</documentation>
</annotation>
<simpleType>
<restriction base="string">
<enumeration value="Vertical">
<annotation>
<documentation>Columns on the report are filled vertically.</documentation>
</annotation>
</enumeration>
<enumeration value="Horizontal">
<annotation>
<documentation>Columns on the report are filled horizontally.</documentation>
</annotation>
</enumeration>
</restriction>
</simpleType>
</attribute>
<attribute name="columnDirection" use="optional" default="LTR">
<annotation>
<documentation>Columns filling direction.</documentation>
</annotation>
<simpleType>
<restriction base="string">
<enumeration value="LTR">
<annotation>
<documentation>Columns on the report are filled from left to right.</documentation>
</annotation>
</enumeration>
<enumeration value="RTL">
<annotation>
<documentation>Columns on the report are filled from right to left.</documentation>
</annotation>
</enumeration>
</restriction>
</simpleType>
</attribute>
<attribute name="pageWidth" type="NMTOKEN" use="optional" default="595">
<annotation>
<documentation>Page width.</documentation>
</annotation>
</attribute>
<attribute name="pageHeight" type="NMTOKEN" use="optional" default="842">
<annotation>
<documentation>Page height.</documentation>
</annotation>
</attribute>
<attribute name="orientation" use="optional" default="Portrait">
<annotation>
<documentation>Page printing orientation.</documentation>
</annotation>
<simpleType>
<restriction base="string">
<enumeration value="Portrait">
<annotation>
<documentation>Portrait page layout.</documentation>
</annotation>
</enumeration>
<enumeration value="Landscape">
<annotation>
<documentation>Landscape page layout.</documentation>
</annotation>
</enumeration>
</restriction>
</simpleType>
</attribute>
<attribute name="whenNoDataType" use="optional">
<annotation>
<documentation>Allows users to customize the behavior of the reporting engine when there are now rows in the data source.</documentation>
</annotation>
<simpleType>
<restriction base="string">
<enumeration value="NoPages">
<annotation>
<documentation>The generated document contains zero pages.</documentation>
</annotation>
</enumeration>
<enumeration value="BlankPage">
<annotation>
<documentation>The generated document contains one blank page.</documentation>
</annotation>
</enumeration>
<enumeration value="AllSectionsNoDetail">
<annotation>
<documentation>All the report sections except the detail section will get printed.</documentation>
</annotation>
</enumeration>
<enumeration value="NoDataSection">
<annotation>
<documentation>The generated document contains only the noData section.</documentation>
</annotation>
</enumeration>
</restriction>
</simpleType>
</attribute>
<attribute name="sectionType" use="optional" default="Band">
<annotation>
<documentation>Specifies if the report design is made of sections containing bands or containing parts.</documentation>
</annotation>
<simpleType>
<restriction base="string">
<enumeration value="Band">
<annotation>
<documentation>The report template is made of sections containing bands.</documentation>
</annotation>
</enumeration>
<enumeration value="Part">
<annotation>
<documentation>The report template is made of sections containing parts.</documentation>
</annotation>
</enumeration>
</restriction>
</simpleType>
</attribute>
<attribute name="columnWidth" type="NMTOKEN" use="optional" default="555">
<annotation>
<documentation>Column width.</documentation>
</annotation>
</attribute>
<attribute name="columnSpacing" type="NMTOKEN" use="optional" default="0">
<annotation>
<documentation>Space between columns.</documentation>
</annotation>
</attribute>
<attribute name="leftMargin" type="NMTOKEN" use="optional" default="20">
<annotation>
<documentation>Left margin.</documentation>
</annotation>
</attribute>
<attribute name="rightMargin" type="NMTOKEN" use="optional" default="20">
<annotation>
<documentation>Right margin.</documentation>
</annotation>
</attribute>
<attribute name="topMargin" type="NMTOKEN" use="optional" default="30">
<annotation>
<documentation>Top margin.</documentation>
</annotation>
</attribute>
<attribute name="bottomMargin" type="NMTOKEN" use="optional" default="30">
<annotation>
<documentation>Bottom margin.</documentation>
</annotation>
</attribute>
<attribute name="isTitleNewPage" use="optional" default="false">
<annotation>
<documentation>Flag used to specify if the title section should be printed on a separate initial page.</documentation>
</annotation>
<simpleType>
<restriction base="string">
<enumeration value="true">
<annotation>
<documentation>Title section will be printed on a separate initial page</documentation>
</annotation>
</enumeration>
<enumeration value="false">
<annotation>
<documentation>Title section will be printed on the first page of the report, along with the other sections.</documentation>
</annotation>
</enumeration>
</restriction>
</simpleType>
</attribute>
<attribute name="isSummaryNewPage" use="optional" default="false">
<annotation>
<documentation>Flag used to specify if the summary section should be printed on a separate last page.</documentation>
</annotation>
<simpleType>
<restriction base="string">
<enumeration value="true">
<annotation>
<documentation>Summary section will be printed on a separate last page.</documentation>
</annotation>
</enumeration>
<enumeration value="false">
<annotation>
<documentation>Summary section will be printed on the last page of the report, along with the other sections, if there is enough space.</documentation>
</annotation>
</enumeration>
</restriction>
</simpleType>
</attribute>
<attribute name="isSummaryWithPageHeaderAndFooter" use="optional" default="false">
<annotation>
<documentation>Flag used to specify if the summary section should be accompanied by the page header and footer.</documentation>
</annotation>
<simpleType>
<restriction base="string">
<enumeration value="true">
<annotation>
<documentation>Summary section will be printed along with the page header and footer.</documentation>
</annotation>
</enumeration>
<enumeration value="false">
<annotation>
<documentation>Summary section will be printed without page header and footer.</documentation>
</annotation>
</enumeration>
</restriction>
</simpleType>
</attribute>
<attribute name="isFloatColumnFooter" use="optional" default="false">
<annotation>
<documentation>Flag used to specify if the column footer section should be printed at the bottom of the column or if it should immediately follow the last detail or group footer printed on the current column.</documentation>
</annotation>
<simpleType以上是关于Jasperreports的XSD翻译的主要内容,如果未能解决你的问题,请参考以下文章

JasperReports教程_编程入门自学教程_菜鸟教程-免费教程分享

我可以像D3.js一样使用JasperReports吗?

JasperReports 怎么与 spring boot集成

JasperReports:找不到子报告

JasperReports 5.2 不适用于 poi-3.7

寻找 JasperReports 的替代品 [关闭]