Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PDF/UA support, part 2 #2018

Open
wants to merge 23 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
607c161
First step towards correct tag structure for multi-page tables etc
hvbargen Dec 1, 2024
c7efab8
PDF/UA next step: repeated headers of tables are marked as artifacts
hvbargen Dec 3, 2024
c9bb0c1
PDF/UA Add support for table captions
hvbargen Dec 4, 2024
67cafbe
Correct tag structure if page-break inside table row, and remove supe…
hvbargen Dec 11, 2024
dada017
Improved method comment for split method
hvbargen Dec 11, 2024
05a88df
Refactoring and some documentation
hvbargen Dec 11, 2024
4d03f53
Save some bytes by moving all the split data into a separate object w…
hvbargen Dec 11, 2024
76a115b
Support a new PDF tag type auto for elements where the correct tag de…
hvbargen Dec 12, 2024
da60fca
Add /Type property for artifacts, and remove invalid Em and Strong ma…
hvbargen Dec 12, 2024
3e02d3a
Fixed typo
hvbargen Dec 12, 2024
4cb43eb
Fixed typo and fixed auto tag for TR
hvbargen Dec 12, 2024
4d4bda8
Generate THead, TBody, TFoot tags
hvbargen Dec 13, 2024
df40bf8
Fix undefined document language and table page-break error
hvbargen Dec 15, 2024
5c69104
Add PDF/UA support for hyperlinks in HTML text, fix PDF syntax error,…
hvbargen Dec 15, 2024
031944e
Add minimal hyperlink example
hvbargen Dec 15, 2024
c3c3af0
Renamed methods pushTag/popTag to openTag/closeTag and created consta…
hvbargen Dec 21, 2024
bc2ac33
Sample reports for PDF/UA
hvbargen Dec 22, 2024
83dccbd
PDF/UA hyperlinks for images and eg labels
hvbargen Dec 22, 2024
d1a660c
Removed compiler warnings and remove support for Adobe Flash
hvbargen Dec 26, 2024
f24a286
Add support for newer PDF/A versions, combined with PDF/UA, too.
hvbargen Dec 30, 2024
4f4bfd3
PDF/UA support, part 2
hvbtup Jan 2, 2025
638bce7
Fix page numbering causing exception
hvbargen Jan 4, 2025
abcc2a4
Merge commit '638bce7928b481e25bab0716d6ba3d8d4e648bb1' into PDF-UA-p…
hvbtup Jan 6, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public class TableHandleAdapter extends ReportItemtHandleAdapter {
private static final String NAME_NULL = ""; //$NON-NLS-1$
private static final String NAME_DETAIL = Messages.getString("TableHandleAdapter.name.detail"); //$NON-NLS-1$
private static final String NAME_FOOTER = Messages.getString("TableHandleAdapter.name.footer"); //$NON-NLS-1$
private static final String NAME_HEADRER = Messages.getString("TableHandleAdapter.name.header"); //$NON-NLS-1$
private static final String NAME_HEADER = Messages.getString("TableHandleAdapter.name.header"); //$NON-NLS-1$
private static final String TRANS_LABEL_NOT_INCLUDE = Messages
.getString("TableHandleAdapter.transLabel.notInclude"); //$NON-NLS-1$
private static final String TRANS_LABEL_INCLUDE = Messages.getString("TableHandleAdapter.transLabel.include"); //$NON-NLS-1$
Expand Down Expand Up @@ -1502,7 +1502,7 @@ public void deleteRowInSlotHandle(int id) throws SemanticException {
protected static String getOperationName(int id) {
switch (id) {
case HEADER:
return NAME_HEADRER;
return NAME_HEADER;
case FOOTER:
return NAME_FOOTER;
case DETAIL:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>pdf-ua</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
</buildSpec>
<natures>
<nature>org.eclipse.birt.report.designer.ui.reportprojectnature</nature>
</natures>
</projectDescription>

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
<?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.18.0.qualifier Build &lt;@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="5">
<text-property name="text">Und das ist normaler Text.</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>
<list-property name="action">
<structure>
<property name="linkType">hyperlink</property>
<property name="toolTip">Die Website der Eclipse Stiftung</property>
<expression name="uri" type="constant">https://eclipse.org</expression>
<property name="targetWindow">_blank</property>
</structure>
</list-property>
</image>
</body>
</report>
Loading
Loading