Closed GoogleCodeExporter closed 9 years ago
Hi,
PPTX is for the moment very simply and it manages only what you can read on the
wiki at http://code.google.com/p/xdocreport/wiki/PPTXReportingJavaMainListField
So the table are not manages with PPTX.
PPTX should be a lot improved (like manage loop for slider, etc...)
Any contributions are welcome!
Regards Angelo
Original comment by angelo.z...@gmail.com
on 18 Jun 2012 at 3:24
Hi Angelo
Is there a workaround to achieve this functionality?
Thanks
Saurabh
Original comment by saurabhj...@gmail.com
on 18 Jun 2012 at 6:53
Hi Saurabh,
>Is there a workaround to achieve this functionality?
Today, the only loop whish is managed is with bulleted list :
http://code.google.com/p/xdocreport/wiki/PPTXReportingJavaMainListInBulletedList
I don't know if it can be helpfull for you?
As soon as I will have time, I will try to implement loop for table. The big
problem with PPTX is that you cannot use mergefield and it's very hard to
detect the velocity field name that XDocReport must change to manage loop.
I have developped PPTX for manage my need (just need bulleted list and replace
simple field), but don't hesitate to create issue with your need (ex: loop for
slide, manage image, etc...). After that we could plan to develop the new PPTX
features (just find time to do that).
Regards Angelo
Original comment by angelo.z...@gmail.com
on 19 Jun 2012 at 7:45
Thanks Angelo,
One more thing, let's say I don't even want to loop through the fields inside
the table on the pptx, but want to just assign some values to something that
was formatted in a table and does not have repeating records. Can that be
accomplished with the current implemenation? I just want a way to write the
data to the pptx table and not loop through it.
Original comment by saurabhj...@gmail.com
on 19 Jun 2012 at 3:45
Hi Saurabh,
You mean that you wish a case like this :
-------------------------------
$valA | $valB
-------------------------------
$valC | $valD
-------------------------------
And replace $valA, ...$valD with some values.
Yes it's possible.
Regards Angelo
Original comment by angelo.z...@gmail.com
on 20 Jun 2012 at 7:49
Hi Angelo
Yes, I mean that. How can the above be achieved with the existing code? Could
you please give me an example?
Thanks
Saurabh
Original comment by saurabhj...@gmail.com
on 20 Jun 2012 at 11:27
I mean that it's simple field liek explained here
http://code.google.com/p/xdocreport/wiki/PPTXReportingJavaMain
But I have never tested when field is in a table.
Regards Angelo
Original comment by angelo.z...@gmail.com
on 20 Jun 2012 at 12:34
Hi Angelo
I tried that, but it does not work inside the tables.
Thanks
Saurabh
Original comment by saurabhj...@gmail.com
on 22 Jun 2012 at 8:06
Hi Saurabh,
Could you attach your pptx+java code (main+pojo) please.
Many thank's.
Regards Angelo
Original comment by angelo.z...@gmail.com
on 24 Jun 2012 at 10:46
Hi Angelo
Attached is the code for the same. In the output .pptx file the values are not
getting replaced in the grid, however they are replaced in the text field.
Thanks
Saurabh
Original comment by saurabhj...@gmail.com
on 25 Jun 2012 at 3:35
Attachments:
Hi Angelo
Did you get a chance to look in this issue? Do you have a way to save the data
in a grid with the current available version?
Thanks
Saurabh
Original comment by saurabhj...@gmail.com
on 28 Jun 2012 at 3:51
Hi Saurabh,
I will try to see your problem for the next release 0.9.8 which will be created
soon. But I don't promise you (just find time for that, because I must finish
our SOAP/REST ResourcesService).
Regards Angelo
Original comment by angelo.z...@gmail.com
on 29 Jun 2012 at 7:29
Hi Saurabh,
I have fixed the problem and commited my work on Git. It will be available on
0.9.8. For the moment you can build the project or use 0.9.8 SNAPSHOT with
maven.
Regards Angelo
Original comment by angelo.z...@gmail.com
on 29 Jun 2012 at 3:46
Original comment by angelo.z...@gmail.com
on 8 Jul 2012 at 8:21
Original issue reported on code.google.com by
saurabhj...@gmail.com
on 18 Jun 2012 at 3:19Attachments: