Skip to content

Commit c91b26f

Browse files
0.3.9.1 (2022-03-17)
+ Added page-widht and page-height support in mod-fop
1 parent 1a7498e commit c91b26f

File tree

15 files changed

+31
-15
lines changed

15 files changed

+31
-15
lines changed

docgen/parameters.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"title" : "Venus (Fugerit Document Generation Framework)",
33
"name": "Venus",
4-
"version" : "0.3.9.0",
5-
"date" : "10/03/2022",
4+
"version" : "0.3.9.1",
5+
"date" : "17/03/2022",
66
"organization" : {
77
"name" : "Fugerit Org",
88
"url" : "https://www.fugerit.org"

docgen/release-notes.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
0.3.9.0 (2022-03-10)
1+
0.3.9.1 (2022-03-17)
2+
--------------------
3+
+ Added page-widht and page-height support in mod-fop
4+
5+
0.3.9.0 (2022-03-10)
26
--------------------
37
+ Added support for page-break in mod-fop
48

fj-doc-base/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>org.fugerit.java</groupId>
99
<artifactId>fj-doc</artifactId>
10-
<version>0.3.9.0</version>
10+
<version>0.3.9.1</version>
1111
</parent>
1212

1313
<name>fj-doc-base</name>

fj-doc-base/src/main/java/org/fugerit/java/doc/base/model/DocBase.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,14 @@ public void setStableInfo(Properties stableInfo) {
191191
this.stableInfo = stableInfo;
192192
}
193193

194+
public String getInfoPageWidth() {
195+
return this.getStableInfo().getProperty( DocInfo.INFO_NAME_PAGE_WIDTH );
196+
}
197+
198+
public String getInfoPageHeight() {
199+
return this.getStableInfo().getProperty( DocInfo.INFO_NAME_PAGE_HEIGHT );
200+
}
201+
194202
public String getInfoDocVersion() {
195203
return this.getStableInfo().getProperty( DocInfo.INFO_DOC_VERSION );
196204
}

fj-doc-base/src/main/java/org/fugerit/java/doc/base/model/DocInfo.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ public class DocInfo extends DocElement {
4444

4545
public static final String INFO_NAME_PAGE_ORIENT = "page-orient";
4646

47+
public static final String INFO_NAME_PAGE_WIDTH = "page-width";
48+
49+
public static final String INFO_NAME_PAGE_HEIGHT = "page-height";
50+
4751
public static final String INFO_NAME_PDF_FORMAT = "pdf-format";
4852

4953
public static final String INFO_DOC_TITLE = "doc-title";

fj-doc-ent/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>org.fugerit.java</groupId>
99
<artifactId>fj-doc</artifactId>
10-
<version>0.3.9.0</version>
10+
<version>0.3.9.1</version>
1111
</parent>
1212

1313
<name>fj-doc-ent</name>

fj-doc-freemarker/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>org.fugerit.java</groupId>
99
<artifactId>fj-doc</artifactId>
10-
<version>0.3.9.0</version>
10+
<version>0.3.9.1</version>
1111
</parent>
1212

1313
<name>fj-doc-freemarker</name>

fj-doc-mod-fop/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>org.fugerit.java</groupId>
99
<artifactId>fj-doc</artifactId>
10-
<version>0.3.9.0</version>
10+
<version>0.3.9.1</version>
1111
</parent>
1212

1313
<name>fj-doc-mod-fop</name>

fj-doc-mod-fop/src/main/resources/fm_fop/template/fop_doc.ftl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
xmlns:fox="http://xmlgraphics.apache.org/fop/extensions">
99
<fo:layout-master-set>
1010
<fo:simple-page-master
11-
page-width="21cm"
12-
page-height="29.7cm"
11+
page-width="${docBase.infoPageWidth!'21cm'}"
12+
page-height="${docBase.infoPageHeight!'29.7cm'}"
1313
master-name="simpleA4"
1414
margin-left="${docBase.marginLeft!'10'}pt"
1515
margin-right="${docBase.marginRight!'10'}pt"

fj-doc-mod-itext/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>org.fugerit.java</groupId>
99
<artifactId>fj-doc</artifactId>
10-
<version>0.3.9.0</version>
10+
<version>0.3.9.1</version>
1111
</parent>
1212

1313
<name>fj-doc-mod-itext</name>

0 commit comments

Comments
 (0)