Skip to content

Commit

Permalink
1.4.4-rc.001 (2023-08-10)
Browse files Browse the repository at this point in the history
+ [fj-doc-lib-simpletable] Fix on simple table special characters
+ [fj-doc-lib-simpletable] Fix DocTypeHandlerXML rendering for simple
table
  • Loading branch information
fugerit79 committed Aug 10, 2023
1 parent d70fa53 commit e097180
Show file tree
Hide file tree
Showing 26 changed files with 38 additions and 29 deletions.
4 changes: 2 additions & 2 deletions docgen/parameters.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"title" : "Venus (Fugerit Document Generation Framework)",
"name": "Venus",
"version" : "1.4.3-rc.001",
"date" : "02/08/2023",
"version" : "1.4.4-rc.001",
"date" : "10/08/2023",
"organization" : {
"name" : "Fugerit Org",
"url" : "https://www.fugerit.org"
Expand Down
7 changes: 6 additions & 1 deletion docgen/release-notes.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
1.4.3-rc.001 (2023-08-02)
1.4.4-rc.001 (2023-08-10)
------------------
+ [fj-doc-lib-simpletable] Fix on simple table special characters
+ [fj-doc-lib-simpletable] Fix DocTypeHandlerXML rendering for simple table

1.4.3-rc.001 (2023-08-02)
------------------
+ Updated freemarker version to 2.3.32

Expand Down
2 changes: 1 addition & 1 deletion fj-doc-base-json/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.fugerit.java</groupId>
<artifactId>fj-doc</artifactId>
<version>1.4.3-rc.001</version>
<version>1.4.4-rc.001</version>
</parent>

<name>fj-doc-base-json</name>
Expand Down
2 changes: 1 addition & 1 deletion fj-doc-base-yaml/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.fugerit.java</groupId>
<artifactId>fj-doc</artifactId>
<version>1.4.3-rc.001</version>
<version>1.4.4-rc.001</version>
</parent>

<name>fj-doc-base-yaml</name>
Expand Down
2 changes: 1 addition & 1 deletion fj-doc-base/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.fugerit.java</groupId>
<artifactId>fj-doc</artifactId>
<version>1.4.3-rc.001</version>
<version>1.4.4-rc.001</version>
</parent>

<name>fj-doc-base</name>
Expand Down
2 changes: 1 addition & 1 deletion fj-doc-bom-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.fugerit.java</groupId>
<artifactId>fj-doc</artifactId>
<version>1.4.3-rc.001</version>
<version>1.4.4-rc.001</version>
</parent>

<name>fj-doc-bom-core</name>
Expand Down
2 changes: 1 addition & 1 deletion fj-doc-bom-fop/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.fugerit.java</groupId>
<artifactId>fj-doc</artifactId>
<version>1.4.3-rc.001</version>
<version>1.4.4-rc.001</version>
</parent>

<name>fj-doc-bom-fop</name>
Expand Down
2 changes: 1 addition & 1 deletion fj-doc-freemarker/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.fugerit.java</groupId>
<artifactId>fj-doc</artifactId>
<version>1.4.3-rc.001</version>
<version>1.4.4-rc.001</version>
</parent>

<name>fj-doc-freemarker</name>
Expand Down
2 changes: 1 addition & 1 deletion fj-doc-lib-autodoc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.fugerit.java</groupId>
<artifactId>fj-doc</artifactId>
<version>1.4.3-rc.001</version>
<version>1.4.4-rc.001</version>
</parent>

<name>fj-doc-lib-autodoc</name>
Expand Down
2 changes: 1 addition & 1 deletion fj-doc-lib-simpletable-import/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.fugerit.java</groupId>
<artifactId>fj-doc</artifactId>
<version>1.4.3-rc.001</version>
<version>1.4.4-rc.001</version>
</parent>

<name>fj-doc-lib-simpletable-import</name>
Expand Down
2 changes: 1 addition & 1 deletion fj-doc-lib-simpletable/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.fugerit.java</groupId>
<artifactId>fj-doc</artifactId>
<version>1.4.3-rc.001</version>
<version>1.4.4-rc.001</version>
</parent>

<name>fj-doc-lib-simpletable</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ public void processSimpleTable( SimpleTable simpleTableModel, DocTypeHandler ha
DocProcessData data = new DocProcessData();
DocProcessContext context = DocProcessContext.newContext( SimpleTable.ATT_NAME, simpleTableModel );
process( CHAIN_ID_SIMPLE_TABLE , context, data );
DocBase docBase = DocFacade.parse( data.getCurrentXmlReader() );
DocInput docInput = DocInput.newInput( handler.getType() , docBase );
DocInput docInput = DocInput.newInput( handler.getType() , data.getCurrentXmlReader() );
DocOutput docOutput = DocOutput.newOutput( os );
handler.handle( docInput , docOutput );
} catch (Exception e) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<#list simpleTableModel.rows as simpleRow>
<row header="${simpleRow.head}">
<#list simpleRow.cells as simpleCell>
<cell <#if (simpleCell.align)?? > align="${simpleCell.align}" </#if> border-width="${simpleCell.borderWidth}"><para <#if (simpleCell.style)?? > style="${simpleCell.style}" </#if> ><#if (simpleCell.content)??>${simpleCell.content}</#if></para></cell>
<cell <#if (simpleCell.align)?? > align="${simpleCell.align}" </#if> border-width="${simpleCell.borderWidth}"><para <#if (simpleCell.style)?? > style="${simpleCell.style}" </#if> ><#if (simpleCell.content)??><![CDATA[${simpleCell.content}]]></#if></para></cell>
</#list>
</row>
</#list>
Expand Down
2 changes: 1 addition & 1 deletion fj-doc-mod-fop/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.fugerit.java</groupId>
<artifactId>fj-doc</artifactId>
<version>1.4.3-rc.001</version>
<version>1.4.4-rc.001</version>
</parent>

<name>fj-doc-mod-fop</name>
Expand Down
2 changes: 1 addition & 1 deletion fj-doc-mod-opencsv/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.fugerit.java</groupId>
<artifactId>fj-doc</artifactId>
<version>1.4.3-rc.001</version>
<version>1.4.4-rc.001</version>
</parent>

<name>fj-doc-mod-opencsv</name>
Expand Down
2 changes: 1 addition & 1 deletion fj-doc-mod-poi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.fugerit.java</groupId>
<artifactId>fj-doc</artifactId>
<version>1.4.3-rc.001</version>
<version>1.4.4-rc.001</version>
</parent>

<name>fj-doc-mod-poi</name>
Expand Down
2 changes: 1 addition & 1 deletion fj-doc-mod-poi5/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.fugerit.java</groupId>
<artifactId>fj-doc</artifactId>
<version>1.4.3-rc.001</version>
<version>1.4.4-rc.001</version>
</parent>

<name>fj-doc-mod-poi5</name>
Expand Down
2 changes: 1 addition & 1 deletion fj-doc-playground-quarkus/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.fugerit.java</groupId>
<artifactId>fj-doc</artifactId>
<version>1.4.3-rc.001</version>
<version>1.4.4-rc.001</version>
</parent>
<artifactId>fj-doc-playground-quarkus</artifactId>
<properties>
Expand Down
2 changes: 1 addition & 1 deletion fj-doc-sample/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.fugerit.java</groupId>
<artifactId>fj-doc</artifactId>
<version>1.4.3-rc.001</version>
<version>1.4.4-rc.001</version>
</parent>

<name>fj-doc-sample</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import org.fugerit.java.core.cfg.ConfigException;
import org.fugerit.java.core.lang.helpers.BooleanUtils;
import org.fugerit.java.doc.base.config.DocTypeHandler;
import org.fugerit.java.doc.base.config.DocTypeHandlerXML;
import org.fugerit.java.doc.lib.simpletable.SimpleTableDocConfig;
import org.fugerit.java.doc.lib.simpletable.SimpleTableFacade;
import org.fugerit.java.doc.lib.simpletable.model.SimpleCell;
Expand All @@ -25,7 +26,7 @@
@Slf4j
public class TestSimpleTable {

private static final DocTypeHandler[] HANDLERS = { XlsxPoiTypeHandler.HANDLER, OpenCSVTypeHandler.HANDLER, new PdfFopTypeHandler() };
private static final DocTypeHandler[] HANDLERS = { DocTypeHandlerXML.HANDLER_UTF8, XlsxPoiTypeHandler.HANDLER, OpenCSVTypeHandler.HANDLER, new PdfFopTypeHandler() };

private SimpleTableDocConfig docConfig;

Expand Down Expand Up @@ -58,7 +59,11 @@ public void testSimpleTable01() {
thorinRow.addCell( "Thorin" );
thorinRow.addCell( "Oakshield" );
thorinRow.addCell( SimpleCell.newCell( "King" ).bold().center() );
simpleTableModel.addRow( thorinRow );
SimpleRow lastRow = new SimpleRow();
lastRow.addCell( "Bilbo" );
lastRow.addCell( "Baggins" );
lastRow.addCell( SimpleCell.newCell( "<Hero>" ).bold().center() );
simpleTableModel.addRow( lastRow );
for ( int k=0; k<HANDLERS.length; k++ ) {
DocTypeHandler handler = HANDLERS[k];
File file = new File( this.baseDir, "simple_table_01."+handler.getType() );
Expand Down
2 changes: 1 addition & 1 deletion fj-doc-tool/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.fugerit.java</groupId>
<artifactId>fj-doc</artifactId>
<version>1.4.3-rc.001</version>
<version>1.4.4-rc.001</version>
</parent>

<name>fj-doc-tool</name>
Expand Down
2 changes: 1 addition & 1 deletion fj-doc-val-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.fugerit.java</groupId>
<artifactId>fj-doc</artifactId>
<version>1.4.3-rc.001</version>
<version>1.4.4-rc.001</version>
</parent>

<name>fj-doc-val-core</name>
Expand Down
2 changes: 1 addition & 1 deletion fj-doc-val-pdfbox/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.fugerit.java</groupId>
<artifactId>fj-doc</artifactId>
<version>1.4.3-rc.001</version>
<version>1.4.4-rc.001</version>
</parent>

<name>fj-doc-val-pdfbox</name>
Expand Down
2 changes: 1 addition & 1 deletion fj-doc-val-poi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.fugerit.java</groupId>
<artifactId>fj-doc</artifactId>
<version>1.4.3-rc.001</version>
<version>1.4.4-rc.001</version>
</parent>

<name>fj-doc-val-poi</name>
Expand Down
2 changes: 1 addition & 1 deletion fj-doc-val/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.fugerit.java</groupId>
<artifactId>fj-doc</artifactId>
<version>1.4.3-rc.001</version>
<version>1.4.4-rc.001</version>
</parent>

<name>fj-doc-val</name>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<artifactId>fj-doc</artifactId>

<version>1.4.3-rc.001</version>
<version>1.4.4-rc.001</version>
<packaging>pom</packaging>

<name>fj-doc</name>
Expand Down

0 comments on commit e097180

Please sign in to comment.