Skip to content

Commit

Permalink
fj-doc-mod-fop fix to pdf-a metadata
Browse files Browse the repository at this point in the history
Changed structure of title and creator tag
  • Loading branch information
fugerit79 committed Jul 29, 2023
1 parent 7efe210 commit 8e5d7e6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<rdf:Description rdf:about=""
xmlns:dc="http://purl.org/dc/elements/1.1/">
<#if (docBase.infoDocTitle)??><dc:title>${docBase.infoDocTitle}</dc:title></#if>
<#if (docBase.infoDocAuthor)??><dc:creator>${docBase.infoDocAuthor}</dc:creator></#if>
<#if (docBase.infoDocTitle)??><dc:title><rdf:Alt><rdf:li xml:lang="x-default">${docBase.infoDocTitle}</rdf:li></rdf:Alt></dc:title></#if>
<#if (docBase.infoDocAuthor)??><dc:creator><rdf:Seq><rdf:li>${docBase.infoDocAuthor}</rdf:li></rdf:Seq></dc:creator></#if>
<#if (docBase.infoDocSubject)??><dc:description>${docBase.infoDocSubject}</dc:description></#if>
<#if (docBase.infoDocLanguage)??><dc:language><rdf:Bag><rdf:li>${docBase.infoDocLanguage}</rdf:li></rdf:Bag></dc:language></#if>
</rdf:Description>
Expand Down
6 changes: 6 additions & 0 deletions fj-doc-sample/src/main/resources/free_marker/pdf_a_test.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@
<!-- Margin for document : left;right;top;bottom -->
<info name="margins">10;10;10;30</info>

<!-- documenta meta information -->
<info name="doc-title">Basic example</info>
<info name="doc-subject">fj doc venus sample source xml</info>
<info name="doc-author">fugerit79</info>
<info name="doc-language">en</info>

<!-- id table to be used for xlsx output -->
<info name="excel-table-id">excel-table=print</info>
<info name="excel-width-multiplier">450</info>
Expand Down

0 comments on commit 8e5d7e6

Please sign in to comment.