-
Notifications
You must be signed in to change notification settings - Fork 399
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add properties for PDF/UA and generate metadata * Set DisplayDocTitle and infer language from locale * Create tagged PDF (but wrong) * Minor Performance tuning hints * Correct PDF tags - start with uppercase * Mark content in page header/footer as artifact * Remove forbidden image transparency for PDF/A-1 * PDF/UA image support WIP, alt text is at wrong level * Add PDF/UA support for images at block level (WIP) * Add PDF/UA support for images - alt text (WIP) * Add PDF/UA support for images (WIP), avoid PAC error about missing BBox * Working on tables and HTML, but it is a mess * Add support for rowspan and colspan * Mark background colors and borders as artifacts * Workaround for PAC 2024 error message regarding RG operator: Do not call setStrokeColor when a system property is set * Basic support for adding TH structure element wehn creating PDF/UA * Fix PAC 2024 parser error when color is used * Remove launch artifact needed for Black&White mode * Add support for complex PDF/UA tables, fix some compiler warnings * Generate tag structure only when needed (PDF/A-1A or PDF/UA-1) * Some example reports for PDF/UA * Fixed EngineIRIOTest failure and simplified code * Corrected version numbers
- Loading branch information
Showing
43 changed files
with
1,890 additions
and
164 deletions.
There are no files selected for viewing
531 changes: 531 additions & 0 deletions
531
...mplereports/samplereports/Reporting Feature Examples/Accessibility/complexTable.rptdesign
Large diffs are not rendered by default.
Oops, something went wrong.
66 changes: 66 additions & 0 deletions
66
...ereports/samplereports/Reporting Feature Examples/Accessibility/headings_images.rptdesign
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<report xmlns="http://www.eclipse.org/birt/2005/design" version="3.2.26" id="1"> | ||
<property name="author">Henning von Bargen</property> | ||
<property name="createdBy">Eclipse BIRT Designer Version 4.17.0.qualifier Build <@BUILD@></property> | ||
<text-property name="title">Das ist der Titel</text-property> | ||
<property name="units">in</property> | ||
<property name="iconFile">/templates/blank_report.gif</property> | ||
<property name="bidiLayoutOrientation">ltr</property> | ||
<property name="imageDPI">96</property> | ||
<property name="locale">de_DE</property> | ||
<property name="pdfVersion">1.7</property> | ||
<property name="pdfConformance">PDF.A1A</property> | ||
<property name="pdfUAConformance">PDF.UA-1</property> | ||
<property name="pdfaDocumentTitleEmbed">true</property> | ||
<styles> | ||
<style name="report" id="6"> | ||
<property name="fontFamily">"Arial"</property> | ||
</style> | ||
</styles> | ||
<page-setup> | ||
<simple-master-page name="Simple MasterPage" id="2"> | ||
<property name="type">a4</property> | ||
<page-header> | ||
<label id="7"> | ||
<text-property name="text">Das ist ein Label im Header der MasterPage</text-property> | ||
</label> | ||
</page-header> | ||
</simple-master-page> | ||
</page-setup> | ||
<body> | ||
<label id="8"> | ||
<property name="fontSize">12pt</property> | ||
<property name="fontWeight">bold</property> | ||
<text-property name="text">Überschrift auf Ebene 1</text-property> | ||
<property name="tagType">H1</property> | ||
</label> | ||
<label id="9"> | ||
<property name="fontSize">11pt</property> | ||
<property name="fontWeight">bold</property> | ||
<text-property name="text">Erste Überschrift auf Ebene 2</text-property> | ||
<property name="tagType">H2</property> | ||
</label> | ||
<label id="5"> | ||
<text-property name="text">Und das ist normaler Text.</text-property> | ||
</label> | ||
<label id="10"> | ||
<text-property name="text">Noch mehr Text</text-property> | ||
</label> | ||
<label id="11"> | ||
<property name="fontSize">11pt</property> | ||
<property name="fontWeight">bold</property> | ||
<text-property name="text">Zweite Überschrift auf Ebene 2</text-property> | ||
<property name="tagType">H2</property> | ||
</label> | ||
<label id="12"> | ||
<text-property name="text">Und das ist normaler Text innerhalb der zweiten Überschrift 2.</text-property> | ||
</label> | ||
<image id="13"> | ||
<property name="height">5.171717171717172in</property> | ||
<property name="width">5.171717171717172in</property> | ||
<expression name="altText">"Eine gemalte Sonne mit Gesicht"</expression> | ||
<property name="source">file</property> | ||
<expression name="uri" type="constant">./sonne.png</expression> | ||
</image> | ||
</body> | ||
</report> |
35 changes: 35 additions & 0 deletions
35
...amplereports/samplereports/Reporting Feature Examples/Accessibility/hello_world.rptdesign
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<report xmlns="http://www.eclipse.org/birt/2005/design" version="3.2.26" id="1"> | ||
<property name="author">Henning von Bargen</property> | ||
<property name="createdBy">Eclipse BIRT Designer Version 4.17.0.qualifier Build <@BUILD@></property> | ||
<text-property name="title">Das ist der Titel</text-property> | ||
<property name="units">in</property> | ||
<property name="iconFile">/templates/blank_report.gif</property> | ||
<property name="bidiLayoutOrientation">ltr</property> | ||
<property name="imageDPI">96</property> | ||
<property name="locale">de_DE</property> | ||
<property name="pdfVersion">1.7</property> | ||
<property name="pdfConformance">PDF.A1A</property> | ||
<property name="pdfUAConformance">PDF.UA-1</property> | ||
<property name="pdfaDocumentTitleEmbed">true</property> | ||
<styles> | ||
<style name="report" id="6"> | ||
<property name="fontFamily">"Arial"</property> | ||
</style> | ||
</styles> | ||
<page-setup> | ||
<simple-master-page name="Simple MasterPage" id="2"> | ||
<property name="type">a4</property> | ||
</simple-master-page> | ||
</page-setup> | ||
<body> | ||
<label id="4"> | ||
<property name="fontSize">12pt</property> | ||
<text-property name="text">Das ist die Überschrift</text-property> | ||
<property name="tagType">H1</property> | ||
</label> | ||
<label id="5"> | ||
<text-property name="text">Und das ist normaler Text.</text-property> | ||
</label> | ||
</body> | ||
</report> |
Binary file added
BIN
+149 KB
....samplereports/samplereports/Reporting Feature Examples/Accessibility/sonne.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.