StimVinsh / xdocreport

Automatically exported from code.google.com/p/xdocreport
0 stars 0 forks source link

XDocReport and Footnotes #93

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hello,

I want to create a DOCX Document with Paragraphs. For each Paragraph, I want to 
add a Footnote.

For adding Paragraph, It is very simple using FREEMARKER. But I don't find how 
to add a footnote for each Paragraph.

Any idea ?

Thank you !

Original issue reported on code.google.com by rachid.d...@gmail.com on 20 Mar 2012 at 10:31

GoogleCodeExporter commented 8 years ago
Hi,

Could you attach please the : 

* "template" docx that you wish write.
 * docx that you wish generate after mergeing with Java model.

Many thanks.

Regards Angelo

Original comment by angelo.z...@gmail.com on 20 Mar 2012 at 10:37

GoogleCodeExporter commented 8 years ago
Okay.

So the template is named : "template.docx"
The docx that i wish generate is named : "template_out.docx"

Thank you,

Rachid Djazouli

Original comment by rachid.d...@gmail.com on 20 Mar 2012 at 10:58

GoogleCodeExporter commented 8 years ago
Hi Rachid,

Thanks for your attached docx. I understand more what you want to do. 
XDocReport doesn't support Footnote. I don't know when I will have time to do 
that.

Regards Angelo

Original comment by angelo.z...@gmail.com on 20 Mar 2012 at 1:19

GoogleCodeExporter commented 8 years ago
Okay !

Thank you for answering. I will search other ways to do what I want.
If you finally implement footnote in XDocReport, let me know !

Thank you,
Rachid

Original comment by rachid.d...@gmail.com on 20 Mar 2012 at 1:36

GoogleCodeExporter commented 8 years ago
Hi Rachid,

I have started to manage footnotes and it works with your sample. I must just 
add sample+JUNits+docs about footnotes and I tell me too that I could manage 
endnotes which seems looks like footnotes.

Everything is commited on Git. 

Regards Angelo

Original comment by angelo.z...@gmail.com on 26 Mar 2012 at 10:02

GoogleCodeExporter commented 8 years ago
Hi Angelo !

Thanks for what you did ! I'm really grateful for your work !

What do you mean by "Everything is commited on Git". I don't understand. Maybe 
because I'm french and english is not my first language or maybe because I 
don't know what is "Git" :)

Thank you

Original comment by rachid.d...@gmail.com on 26 Mar 2012 at 11:57

GoogleCodeExporter commented 8 years ago
Hi Rachid,

For your information I have added a wiki page with Footnotes/Endnotes at 
http://code.google.com/p/xdocreport/wiki/DocxReportingJavaMainNotes

If you want test now you can use maven to get the SNAPSHOT JARs or otherwise 
you must wait that we do the release (this week I think).

Regards Angelo

Original comment by angelo.z...@gmail.com on 27 Mar 2012 at 9:30

GoogleCodeExporter commented 8 years ago

Original comment by angelo.z...@gmail.com on 27 Mar 2012 at 9:41

GoogleCodeExporter commented 8 years ago
Hi Angelo,

I tried to generate report with footnotes using version 0.9.7 founded in 
SNAPSHOT. I downloaded those JAR's :

- fr.opensagres.xdocreport.converter-0.9.7-20120314.233445-55.jar
- fr.opensagres.xdocreport.core-0.9.7-20120314.233417-55.jar
- fr.opensagres.xdocreport.document-0.9.7-20120314.233505-55.jar
- fr.opensagres.xdocreport.document.docx-0.9.7-20120314.233613-55.jar
- fr.opensagres.xdocreport.document.odt-0.9.7-20120314.233641-55.jar
- fr.opensagres.xdocreport.document.tools-0.9.7-20120314.233932-47.jar
- fr.opensagres.xdocreport.template-0.9.7-20120314.233433-55.jar
- fr.opensagres.xdocreport.template.freemarker-0.9.7-20120314.233720-55.jar
- fr.opensagres.xdocreport.template.velocity-0.9.7-20120314.233741-55.jar

I put them in my path. And I tested with your code in 
"DocxProjectWithVelocityAndFootnotes.java" and the template 
"DocxProjectWithVelocityAndFootnotes.docx".

But it didn't work. Is there something I forgot to do ? 

Thank you
Rachid

Original comment by rachid.d...@gmail.com on 28 Mar 2012 at 9:26

GoogleCodeExporter commented 8 years ago
Hi,

When I see the date of your JAR (14 march), I think it's normal. I suggest you 
to use maven to get the JARs. I don't know why you have not the last JAR in the 
maven repository? 

@Pascal:coudl you give us an explanation why in the 
https://oss.sonatype.org/content/repositories/snapshots/fr/opensagres/xdocreport
/fr.opensagres.xdocreport.document.docx/0.9.7-SNAPSHOT/ we cannot find last JAR?

If Pascal have time, this week, it will create a new release.

Regards Angelo

Original comment by angelo.z...@gmail.com on 28 Mar 2012 at 9:35

GoogleCodeExporter commented 8 years ago
Okay. So I just have to wait for the maven repository to be updated or for the 
new release.

I will wait :)

Thank you,
Rachid

Original comment by rachid.d...@gmail.com on 28 Mar 2012 at 9:50

GoogleCodeExporter commented 8 years ago
cleanup

Original comment by pascal.leclercq on 10 Oct 2014 at 7:37