Jacopo Cappellato
15d63246d6
Added support for xsl-fo and xml templates to the platform-specific screen widget element. Now it is possible to define the same screen that can be rendered with different renderers. An example of this is the SimpleDecorator that is now used to render simple PDF report (xsl-fo), xml export and printer friendly html output. You can test it in the Edit Example screen (and some other screens as well): the PDF and Printer Friendly links in that page both share the same screen definition. Misc fixes to the widget FO and XML renderers, for issues found while testing.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@659935 13f79535-47bb-0310-9956-ffa450edef68
2008-05-25 08:00:10 +00:00
David E. Jones
cee5387a8d
Removed xml header from fo wrapper, it is now added by the view handler if not there already; fixes problem with widget.verbose=true; fixes problem with widget.verbose=true; various cleanups too
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@644081 13f79535-47bb-0310-9956-ffa450edef68
2008-04-02 21:53:06 +00:00
Jacopo Cappellato
d689cb65f1
I forgot to include this file in my last commit.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@564555 13f79535-47bb-0310-9956-ffa450edef68
2007-08-10 11:20:59 +00:00
Jacques Le Roux
dad67935f7
A (large) patch from Scott Gray "Update ASL header" ( https://issues.apache.org/jira/browse/OFBIZ-637 ).
...
I put also some svn:ignore for shark build and lib diretories and assetmaint/build
I did some by hand lately, too much to remember. They were files with old header but without copyright. A 1st attempt I suppose, will have to check this after this commit.
I add some problems to commit this patch in one piece because it's so huge (specially with Eclipse I had to turn to Tortoise) !
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@499486 13f79535-47bb-0310-9956-ffa450edef68
2007-01-24 17:15:54 +00:00
Jacopo Cappellato
f8e97a814f
""
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@480724 13f79535-47bb-0310-9956-ffa450edef68
2006-11-29 21:44:14 +00:00
Jacopo Cappellato
1fa4deafe7
Now the font size of header, footer and body of simple fo.ftl template can be set in the screen definition.
...
For example, in the action tag of a screen definition:
<set field="headerFontSize" value="10pt"/>
<set field="bodyFontSize" value="12pt"/>
<set field="footerFontSize" value="9pt"/>
The default is 8pt for all.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@479624 13f79535-47bb-0310-9956-ffa450edef68
2006-11-27 14:10:47 +00:00
Jacopo Cappellato
e4db7b26ad
Improved the simple xsl-fo common template for list based report.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@466629 13f79535-47bb-0310-9956-ffa450edef68
2006-10-22 06:38:07 +00:00
Jacopo Cappellato
a92684df66
The <#escape x as x?xml> directive will escape all the ${} interpolations with the ?xml directive to avoid problem with special characters such as the one reported by Eriks Dobelis in OFBIZ-357.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@452803 13f79535-47bb-0310-9956-ffa450edef68
2006-10-04 09:03:58 +00:00
Jacopo Cappellato
9c4a0da540
Very first draft of the implementation of fo widget styles applied using a properties file.
...
Now the Chart of Accounts report looks pretty good.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@430511 13f79535-47bb-0310-9956-ffa450edef68
2006-08-10 20:08:24 +00:00
Jacopo Cappellato
380356c730
Implemented option to render the widget pdf report as portrait or landscape.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@430420 13f79535-47bb-0310-9956-ffa450edef68
2006-08-10 16:16:35 +00:00
Jacopo Cappellato
2bb7fa616e
Small misc cleanups to the form widget pdf template.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@430094 13f79535-47bb-0310-9956-ffa450edef68
2006-08-09 16:55:09 +00:00
Jacopo Cappellato
017027d1ac
Misc small improvements to the global widget decorator for pdf reports.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@430083 13f79535-47bb-0310-9956-ffa450edef68
2006-08-09 16:12:57 +00:00
Jacopo Cappellato
a543d99790
New global decorator for simple pdf reports: it is composed of a small header with the current date, screen name and logo and a footer with number of page/pages.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429657 13f79535-47bb-0310-9956-ffa450edef68
2006-08-08 14:11:31 +00:00