IDEMPIERE-1635 Upgrade to zk7. Update jasper report font extension and test bundle.
This commit is contained in:
parent
9e5826b772
commit
1d60634d29
Binary file not shown.
|
@ -1,4 +0,0 @@
|
||||||
source.. = src/
|
|
||||||
output.. = bin/
|
|
||||||
bin.includes = META-INF/,\
|
|
||||||
.
|
|
Binary file not shown.
|
@ -1,6 +1,6 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<projectDescription>
|
<projectDescription>
|
||||||
<name>org.adempiere.report.jasper.font.demo</name>
|
<name>org.adempiere.report.jasper.fonts</name>
|
||||||
<comment></comment>
|
<comment></comment>
|
||||||
<projects>
|
<projects>
|
||||||
</projects>
|
</projects>
|
|
@ -1,7 +1,9 @@
|
||||||
Manifest-Version: 1.0
|
Manifest-Version: 1.0
|
||||||
Bundle-ManifestVersion: 2
|
Bundle-ManifestVersion: 2
|
||||||
Bundle-Name: JasperReport Font Demo
|
Bundle-Name: JasperReport Font Demo
|
||||||
Bundle-SymbolicName: org.adempiere.report.jasper.font.demo
|
Bundle-SymbolicName: org.adempiere.report.jasper.fonts
|
||||||
Bundle-Version: 1.0.0.qualifier
|
Bundle-Version: 1.0.0.qualifier
|
||||||
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
|
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
|
||||||
Fragment-Host: org.adempiere.report.jasper.library;bundle-version="1.0.0"
|
Export-Package: org.adempiere.report.jasper.fonts
|
||||||
|
Fragment-Host: org.adempiere.report.jasper.library
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
source.. = src/
|
||||||
|
output.. = bin/
|
||||||
|
bin.includes = META-INF/,\
|
||||||
|
.,\
|
||||||
|
src/jasperreports_extension.properties
|
||||||
|
jars.compile.order = .
|
|
@ -0,0 +1,2 @@
|
||||||
|
net.sf.jasperreports.extension.registry.factory.fonts=net.sf.jasperreports.engine.fonts.SimpleFontExtensionsRegistryFactory
|
||||||
|
net.sf.jasperreports.extension.simple.font.families.fontfamily=org/adempiere/report/jasper/fonts/fontfamily.xml
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,51 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<fontfamilies>
|
||||||
|
<fontFamily name="Arial">
|
||||||
|
<normal>org/adempiere/report/jasper/fonts/Arial.ttf</normal>
|
||||||
|
<bold>org/adempiere/report/jasper/fonts/Arial_Bold.ttf</bold>
|
||||||
|
<italic>org/adempiere/report/jasper/fonts/Arial_Italic.ttf</italic>
|
||||||
|
<bolditalic>org/adempiere/report/jasper/fonts/Arial_Bold_Italic.ttf</bolditalic>
|
||||||
|
<pdfembedded>true</pdfembedded>
|
||||||
|
</fontFamily>
|
||||||
|
<fontFamily name="Comic Sans Test">
|
||||||
|
<normal>org/adempiere/report/jasper/fonts/Comic_Sans_MS.ttf</normal>
|
||||||
|
<bold>org/adempiere/report/jasper/fonts/Comic_Sans_MS_Bold.ttf</bold>
|
||||||
|
<pdfembedded>true</pdfembedded>
|
||||||
|
</fontFamily>
|
||||||
|
<fontFamily name="Courier New">
|
||||||
|
<normal>org/adempiere/report/jasper/fonts/Courier_New.ttf</normal>
|
||||||
|
<bold>org/adempiere/report/jasper/fonts/Courier_New_Bold.ttf</bold>
|
||||||
|
<italic>org/adempiere/report/jasper/fonts/Courier_New_Italic.ttf</italic>
|
||||||
|
<bolditalic>org/adempiere/report/jasper/fonts/Courier_New_Bold_Italic.ttf</bolditalic>
|
||||||
|
<pdfembedded>true</pdfembedded>
|
||||||
|
</fontFamily>
|
||||||
|
<fontFamily name="Georgia">
|
||||||
|
<normal>org/adempiere/report/jasper/fonts/Georgia.ttf</normal>
|
||||||
|
<bold>org/adempiere/report/jasper/fonts/Georgia_Bold.ttf</bold>
|
||||||
|
<italic>org/adempiere/report/jasper/fonts/Georgia_Italic.ttf</italic>
|
||||||
|
<bolditalic>org/adempiere/report/jasper/fonts/Georgia_Bold_Italic.ttf</bolditalic>
|
||||||
|
<pdfembedded>true</pdfembedded>
|
||||||
|
</fontFamily>
|
||||||
|
<fontFamily name="Monospaced">
|
||||||
|
<normal>org/adempiere/report/jasper/fonts/LiberationMono-Regular.ttf</normal>
|
||||||
|
<bold>org/adempiere/report/jasper/fonts/LiberationMono-Bold.ttf</bold>
|
||||||
|
<italic>org/adempiere/report/jasper/fonts/LiberationMono-Italic.ttf</italic>
|
||||||
|
<bolditalic>org/adempiere/report/jasper/fonts/LiberationMono-BoldItalic.ttf</bolditalic>
|
||||||
|
<pdfembedded>true</pdfembedded>
|
||||||
|
</fontFamily>
|
||||||
|
<fontFamily name="Times New Roman">
|
||||||
|
<normal>org/adempiere/report/jasper/fonts/Times_New_Roman.ttf</normal>
|
||||||
|
<bold>org/adempiere/report/jasper/fonts/Times_New_Roman_Bold.ttf</bold>
|
||||||
|
<italic>org/adempiere/report/jasper/fonts/Times_New_Roman_Italic.ttf</italic>
|
||||||
|
<bolditalic>org/adempiere/report/jasper/fonts/Times_New_Roman_Bold_Italic.ttf</bolditalic>
|
||||||
|
<pdfembedded>true</pdfembedded>
|
||||||
|
</fontFamily>
|
||||||
|
<fontFamily name="Verdana">
|
||||||
|
<normal>org/adempiere/report/jasper/fonts/Verdana.ttf</normal>
|
||||||
|
<bold>org/adempiere/report/jasper/fonts/Verdana_Bold.ttf</bold>
|
||||||
|
<italic>org/adempiere/report/jasper/fonts/Verdana_Italic.ttf</italic>
|
||||||
|
<bolditalic>org/adempiere/report/jasper/fonts/Verdana_Bold_Italic.ttf</bolditalic>
|
||||||
|
<pdfembedded>true</pdfembedded>
|
||||||
|
</fontFamily>
|
||||||
|
</fontfamilies>
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<classpath>
|
||||||
|
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
|
||||||
|
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
|
||||||
|
<classpathentry kind="src" path="src"/>
|
||||||
|
<classpathentry kind="output" path="bin"/>
|
||||||
|
</classpath>
|
|
@ -0,0 +1,28 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<projectDescription>
|
||||||
|
<name>org.adempiere.report.jasper.fragment.test</name>
|
||||||
|
<comment></comment>
|
||||||
|
<projects>
|
||||||
|
</projects>
|
||||||
|
<buildSpec>
|
||||||
|
<buildCommand>
|
||||||
|
<name>org.eclipse.jdt.core.javabuilder</name>
|
||||||
|
<arguments>
|
||||||
|
</arguments>
|
||||||
|
</buildCommand>
|
||||||
|
<buildCommand>
|
||||||
|
<name>org.eclipse.pde.ManifestBuilder</name>
|
||||||
|
<arguments>
|
||||||
|
</arguments>
|
||||||
|
</buildCommand>
|
||||||
|
<buildCommand>
|
||||||
|
<name>org.eclipse.pde.SchemaBuilder</name>
|
||||||
|
<arguments>
|
||||||
|
</arguments>
|
||||||
|
</buildCommand>
|
||||||
|
</buildSpec>
|
||||||
|
<natures>
|
||||||
|
<nature>org.eclipse.pde.PluginNature</nature>
|
||||||
|
<nature>org.eclipse.jdt.core.javanature</nature>
|
||||||
|
</natures>
|
||||||
|
</projectDescription>
|
|
@ -0,0 +1,7 @@
|
||||||
|
eclipse.preferences.version=1
|
||||||
|
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
|
||||||
|
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
|
||||||
|
org.eclipse.jdt.core.compiler.compliance=1.6
|
||||||
|
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
|
||||||
|
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
|
||||||
|
org.eclipse.jdt.core.compiler.source=1.6
|
|
@ -0,0 +1,3 @@
|
||||||
|
eclipse.preferences.version=1
|
||||||
|
pluginProject.extensions=false
|
||||||
|
resolve.requirebundle=false
|
Binary file not shown.
|
@ -0,0 +1,7 @@
|
||||||
|
Manifest-Version: 1.0
|
||||||
|
Bundle-ManifestVersion: 2
|
||||||
|
Bundle-Name: Test
|
||||||
|
Bundle-SymbolicName: org.adempiere.report.jasper.fragment.test
|
||||||
|
Bundle-Version: 1.0.0.qualifier
|
||||||
|
Fragment-Host: org.adempiere.report.jasper.webapp;bundle-version="1.0.0"
|
||||||
|
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
|
|
@ -0,0 +1,6 @@
|
||||||
|
source.. = src/
|
||||||
|
output.. = bin/
|
||||||
|
bin.includes = META-INF/,\
|
||||||
|
.,\
|
||||||
|
test.jrxml
|
||||||
|
src.includes = test.jrxml
|
|
@ -0,0 +1,152 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!-- Created using an evaluation version of JasperAssistant (http://www.jasperassistant.com) -->
|
||||||
|
<!DOCTYPE jasperReport PUBLIC "-//JasperReports//DTD Report Design//EN" "http://jasperreports.sourceforge.net/dtds/jasperreport.dtd">
|
||||||
|
|
||||||
|
<jasperReport language="java" name="standalone" pageWidth="595" pageHeight="842" whenNoDataType="AllSectionsNoDetail" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="30" bottomMargin="30">
|
||||||
|
<title>
|
||||||
|
<band height="782">
|
||||||
|
<staticText>
|
||||||
|
<reportElement x="0" y="50" width="150" height="40"/>
|
||||||
|
<textElement/>
|
||||||
|
<text><![CDATA[The quick brown fox jumps over the lazy dog.]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement x="160" y="50" width="390" height="40"/>
|
||||||
|
<textElement/>
|
||||||
|
<text><![CDATA[<staticText><reportElement x="0" y="50" width="150" height="40"/><text>The quick brown fox jumps over the lazy dog.</text></staticText>]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement x="0" y="100" width="150" height="40"/>
|
||||||
|
<textElement>
|
||||||
|
<font size="12"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[The quick brown fox jumps over the lazy dog.]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement x="160" y="100" width="390" height="40"/>
|
||||||
|
<textElement/>
|
||||||
|
<text><![CDATA[<staticText><reportElement x="0" y="100" width="150" height="40"/><textElement><font size="14"/></textElement><text>The quick brown fox jumps over the lazy dog.</text></staticText>]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement x="0" y="150" width="150" height="40"/>
|
||||||
|
<textElement>
|
||||||
|
<font fontName="Times New Roman" size="12" />
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[The quick brown fox jumps over the lazy dog.]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement x="160" y="150" width="390" height="40"/>
|
||||||
|
<textElement/>
|
||||||
|
<text><![CDATA[<staticText><reportElement x="0" y="150" width="150" height="40"/><textElement><font fontName="Times New Roman" size="12" /></textElement><text>The quick brown fox jumps over the lazy dog.</text></staticText>]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement x="0" y="200" width="150" height="40"/>
|
||||||
|
<textElement>
|
||||||
|
<font fontName="Times New Roman" size="12" isBold="true" isItalic="true" />
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[The quick brown fox jumps over the lazy dog.]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement x="160" y="200" width="390" height="40"/>
|
||||||
|
<textElement/>
|
||||||
|
<text><![CDATA[<staticText><reportElement x="0" y="200" width="150" height="40"/><textElement><font fontName="Times New Roman" size="12" isBold="true" isItalic="true" /></textElement><text>The quick brown fox jumps over the lazy dog.</text></staticText>]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement x="0" y="250" width="150" height="40"/>
|
||||||
|
<textElement>
|
||||||
|
<font fontName="Comic Sans Test" size="12" isBold="false" />
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[The quick brown fox jumps over the lazy dog.]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement x="160" y="250" width="390" height="40"/>
|
||||||
|
<textElement/>
|
||||||
|
<text><![CDATA[<staticText><reportElement x="0" y="250" width="150" height="40"/><textElement><font fontName="Comic Sans MS" size="12" isBold="false" /></textElement><text>The quick brown fox jumps over the lazy dog.</text></staticText>]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement x="0" y="300" width="150" height="40"/>
|
||||||
|
<textElement>
|
||||||
|
<font fontName="Comic Sans MS" size="12" isBold="true" />
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[The quick brown fox jumps over the lazy dog.]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement x="160" y="300" width="390" height="40"/>
|
||||||
|
<textElement/>
|
||||||
|
<text><![CDATA[<staticText><reportElement x="0" y="300" width="150" height="40"/><textElement><font fontName="Comic Sans MS" size="12" isBold="true" /></textElement><text>The quick brown fox jumps over the lazy dog.</text></staticText>]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement x="0" y="350" width="150" height="40"/>
|
||||||
|
<textElement>
|
||||||
|
<font fontName="Monospaced" size="12" isItalic="true" isUnderline="true" />
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[The quick brown fox jumps over the lazy dog.]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement x="160" y="350" width="390" height="40"/>
|
||||||
|
<textElement/>
|
||||||
|
<text><![CDATA[<staticText><reportElement x="0" y="350" width="150" height="40"/><textElement><font fontName="Monospaced" size="12" isItalic="true" isUnderline="true" /></textElement><text>The quick brown fox jumps over the lazy dog.</text></staticText>]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement x="0" y="400" width="150" height="40"/>
|
||||||
|
<textElement>
|
||||||
|
<font fontName="Monospaced" size="12" isBold="true" isStrikeThrough="true" />
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[The quick brown fox jumps over the lazy dog.]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement x="160" y="400" width="390" height="40"/>
|
||||||
|
<textElement/>
|
||||||
|
<text><![CDATA[<staticText><reportElement x="0" y="400" width="150" height="40"/><textElement><font fontName="Monospaced" size="12" isBold="true" isStrikeThrough="true" /></textElement><text>The quick brown fox jumps over the lazy dog.</text></staticText>]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement x="0" y="450" width="150" height="40" forecolor="#ff0000"/>
|
||||||
|
<textElement>
|
||||||
|
<font size="14"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[The quick brown fox jumps over the lazy dog.]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement x="160" y="450" width="390" height="40"/>
|
||||||
|
<textElement/>
|
||||||
|
<text><![CDATA[<staticText><reportElement x="0" y="450" width="150" height="40" forecolor="red"/><textElement><font size="14"/></textElement><text>The quick brown fox jumps over the lazy dog.</text></staticText>]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement mode="Opaque" x="0" y="500" width="150" height="40" forecolor="#ff00" backcolor="#ffff00"/>
|
||||||
|
<textElement>
|
||||||
|
<font fontName="Times New Roman" size="12" isBold="true" />
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[The quick brown fox jumps over the lazy dog.]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement x="160" y="500" width="390" height="40"/>
|
||||||
|
<textElement/>
|
||||||
|
<text><![CDATA[<staticText><reportElement x="0" y="500" width="150" height="40" forecolor="green" backcolor="#FFFF00" mode="Opaque"/><textElement><font fontName="Times New Roman" size="12" isBold="true" /></textElement><text>The quick brown fox jumps over the lazy dog.</text></staticText>]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement mode="Opaque" x="0" y="550" width="150" height="90" forecolor="#ff" backcolor="#ffdd99"/>
|
||||||
|
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||||
|
<font fontName="Times New Roman" size="12" isBold="true" />
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[The quick brown fox jumps over the lazy dog.]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement x="160" y="550" width="390" height="90"/>
|
||||||
|
<textElement/>
|
||||||
|
<text><![CDATA[<staticText><reportElement x="0" y="550" width="150" height="90" forecolor="blue" backcolor="#FFDD99" mode="Opaque"/><textElement textAlignment="Center" verticalAlignment="Middle"><font fontName="Times New Roman" size="12" isBold="true" /></textElement><text>The quick brown fox jumps over the lazy dog.</text></staticText>]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement mode="Opaque" x="0" y="650" width="150" height="90" forecolor="#ff0000" backcolor="#99ddff"/>
|
||||||
|
<textElement textAlignment="Right" verticalAlignment="Bottom">
|
||||||
|
<font fontName="Times New Roman" size="12" isBold="true" />
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[The quick brown fox jumps over the lazy dog.]]></text>
|
||||||
|
</staticText>
|
||||||
|
<staticText>
|
||||||
|
<reportElement x="160" y="650" width="390" height="90"/>
|
||||||
|
<textElement/>
|
||||||
|
<text><![CDATA[<staticText><reportElement x="0" y="650" width="150" height="90" forecolor="red" backcolor="#99DDFF" mode="Opaque"/><textElement textAlignment="Right" verticalAlignment="Bottom"><font fontName="Times New Roman" size="12" isBold="true" /></textElement><text>The quick brown fox jumps over the lazy dog.</text></staticText>]]></text>
|
||||||
|
</staticText>
|
||||||
|
</band>
|
||||||
|
</title>
|
||||||
|
</jasperReport>
|
Loading…
Reference in New Issue