Author |
Message |
21/08/2009 15:45:31
|
hartmann
Power User
Joined: 20/08/2008 16:27:48
Messages: 73
Offline
|
Hi,
we use the 'onOpenGridFunctions()' for exporting griddata to clipboard...
Unfortunately the gridheaders and gridfooters will not be copied. Is there any reason for that? We use the gridfooter for building summaries, so it would be nice to export these.
Horst
|
|
|
21/08/2009 15:50:02
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5542
Offline
|
Hi,
luckily there is exactly the same post - and we already agreed to (try to somehow) do this.
Of course the footer and header are a bit more difficult to manage, because the data referred by elements is not contained in the grid-object itself...
Will take something like two/three weeks, so no immediate solution. OK?
Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
21/08/2009 15:54:13
|
hartmann
Power User
Joined: 20/08/2008 16:27:48
Messages: 73
Offline
|
Fine,
that's no problem.
Horst
|
|
|
25/08/2009 11:29:32
|
levy
Power User
Joined: 12/03/2008 16:38:22
Messages: 308
Location: XpertCenter
Offline
|
Hi,
May be you could consider additionally the possibility of passing somehow an overall title?
Regards, Daniel
|
|
|
26/08/2009 06:39:26
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5542
Offline
|
Hi,
...yes, we can extend the API accordingly, a title is no problem.
In general: please have a look into the API documentation behind the FIXGRID-export functions, they are quite flexible so that you can add own issues. Of course you need to now itext-API but this is quite simple from my perspective...
But, again: "title" is OK to be added...
Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
31/08/2009 11:48:17
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5542
Offline
|
...title API was added, see change log of today's update.
Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
23/09/2009 10:40:42
|
hartmann
Power User
Joined: 20/08/2008 16:27:48
Messages: 73
Offline
|
Hi Björn,
now header and footers are exported to PDF when using 'onOpenGridFunctions()', but unfortunately not exported to clipboard (what we need most).
Is there any technical reason for that?
Horst
|
|
|
24/09/2009 06:38:46
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5542
Offline
|
Hi,
no technical reason for it, we can add it there as well.
If someone does not like this - or tells us that this is an incompatible upgrade of the CSV export: please add your opinion to this post!
Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
10/12/2009 17:23:52
|
levy
Power User
Joined: 12/03/2008 16:38:22
Messages: 308
Location: XpertCenter
Offline
|
CaptainCasa wrote:
Hi,
...yes, we can extend the API accordingly, a title is no problem.
In general: please have a look into the API documentation behind the FIXGRID-export functions, they are quite flexible so that you can add own issues. Of course you need to now itext-API but this is quite simple from my perspective...
But, again: "title" is OK to be added...
Björn
Hi,
can you give me a hint how to find the API documentation behind the FIXGRID-export functions mentioned above?
Regards, Daniel
|
|
|
10/12/2009 21:44:37
|
mreich
Power User
Joined: 30/01/2009 08:34:23
Messages: 750
Offline
|
Hi,
you can check the JavaDoc http://www.captaincasa.com/javadoc/eclntjsfserver.zip, just download the zip extract and jump to to eclntjsfserver/org/eclnt/jsfserver/elements/impl/FIXGRIDBinding.Exporter.html
Markus
|
|
|
11/12/2009 08:55:32
|
levy
Power User
Joined: 12/03/2008 16:38:22
Messages: 308
Location: XpertCenter
Offline
|
Hi,
I have downloaded the zip file, but it arrives corrupted to my client. So I have looked directly in http://captaincasa.com/javadoc/eclntjsfserver/org/eclnt/jsfserver/elements/impl/FIXGRIDBinding.Exporter.html.
I can't see there the approach for modifying the generated PDF with iText. Could you give an example? I would like to add a logo next to the title.
Daniel
|
|
|
11/12/2009 09:04:05
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5542
Offline
|
Hi,
??? zip file corrupt ??? - just tested this, and receive perfect zip-file. Please check with Swiss border control. ;-)
In the doc:
(1) ...FIXGRIDBinding.getExporter()
(2) ...Exporter.setPDFExporter(FIXGRIDPDFExporter pdfExporter)
You can assign an own implementation of IFIXGRIDPDFExporter - if not set by you then an instance of FIXGRIDPDFExporter is created automatically.
(3) so you create an own Exporter: new FIXGRIDPDFExporter, in this you can set the title with setTitle()
Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
11/12/2009 09:41:20
|
levy
Power User
Joined: 12/03/2008 16:38:22
Messages: 308
Location: XpertCenter
Offline
|
Hi,
I can't find FIXGRIDPDFExporter nor IFIXGRIDPDFExporter (in http://captaincasa.com/javadoc/eclntjsfserver/allclasses-noframe.html).
I suppose I can reuse FIXGRIDPDFExporter. Somehow I should subclass FIXGRIDPDFExporter and implement the method setLogo. How can I manipulate the iText-Object to add the logo?
Daniel
|
|
|
13/12/2009 16:18:15
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5542
Offline
|
....since some months we only upload the zipped documentation, so the link that you hit is an outdated one. (If you reached this page through a link on our current pages: please tell us - thanks!)
The zipped documentation is accessible through the download page Documentation for Developers > JavaDoc.
Regards, Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
|