Editing LayoutEngine.java

40 views
Skip to first unread message

Lance

unread,
Jan 13, 2014, 3:55:57 AM1/13/14
to idem...@googlegroups.com
Any can any one tell me how to edit the standard PDF format or idempiere to something like the picture below
any tutorial or example may help or your own LayoutEngine.java customized format will be, dont mind the japanese 
characters just the layout that will llok like that . im using eclipse by the way. thx in advance

Untitled.png

Thomas Bayen

unread,
Jan 13, 2014, 7:02:46 AM1/13/14
to idem...@googlegroups.com
Hi Lance,

You can create a layout like this without editing java code just by
configuring the print format.

Please see at http://demo.idempiere.com at GardenWorld how an invoice
looks if printed. In this form you can see how the output in principle
looks like. Does this suit your need?

You can change the print format when in the print or the report window
by clicking at the "edit print format" button (the one with the crossed
tools).

To do it from scratch I would advice to better look first at the invoice
of GardenWorld to see how it works. Then you should play around creating
and changing tabular reports to get a feeling how this works.

When definining a report as "form" or not you change the whole layout
mode of the report. Do this first and then decide which fields to use where.

To be short you should first do a "form" print format for the header of
your document. The lines are created as a subreport (not "form" but
tabular). In the header format you enter one single entry for the
subreport and give a reference to this report.

If you got it it would be very nice if you begin some better
documentation in our wiki. There is a lack of it. Searching the
adempiere wiki I found some pages that might help a bit but no really
good introduction I could recommend. Read http://www.adempiere.com/Report

Thomas
> --
> You received this message because you are subscribed to the Google
> Groups "iDempiere" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to idempiere+...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/idempiere/9d01821f-80f3-4e79-981a-a805531c331c%40googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

mit freundlichen Grüßen,

Thomas Bayen
--
Jakob Bayen KG, Bleichpfad 20-22, 47799 Krefeld
AG Krefeld HRA 416 Tel +49/2151/65 80 9-0
Reply all
Reply to author
Forward
0 new messages