StimVinsh / xdocreport

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

layout of pdf #174

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I have a really simple docx with a table that has defined table row heights.
When I upload my docx template on the site and create the pdf, than everything 
goed fine. I see all tables as I designed them in docx.
But when I code it myself, the pdf gets created and all labels are translated 
via Velocity, but the rows are all of the same height and lost the predefined 
height fom the original docx.

Can anyone say why this is happening?

Thanks,

Tim

Original issue reported on code.google.com by barbio....@gmail.com on 19 Oct 2012 at 9:18

GoogleCodeExporter commented 8 years ago
Hi Tim,

> When I upload my docx template on the site
You mean our demo http://xdocreport.opensagres.cloudbees.net/ ?

If it's that, this demo uses the 1.0.0 (not released) docx->pdf converter which 
improve a lot the PDF convertion.

If you want to use 1.0.0 (not released) you must use maven (1.0.0-SNAPSHOT) or 
get sources from Git to build yourself XDocReport.

I think we will create the 1.0.0 release in one month, or perhaps before?.

Regards Angelo

Original comment by angelo.z...@gmail.com on 19 Oct 2012 at 9:36

GoogleCodeExporter commented 8 years ago
Hi Angelo,

When I try to use the 1.0.0-SNAPSHOT like below, it's not found.

        ...
        <xdocreport-version>1.0.0-SNAPSHOT</xdocreport-version>
        ...
        <dependency>
          <groupId>fr.opensagres.xdocreport</groupId>
          <artifactId>fr.opensagres.xdocreport.itext.extension</artifactId>
          <version>${xdocreport-version}</version>
        </dependency>

        <dependency>
          <groupId>fr.opensagres.xdocreport</groupId>
          <artifactId>fr.opensagres.xdocreport.document.docx</artifactId>
          <version>${xdocreport-version}</version>
        </dependency>
        <dependency>
          <groupId>fr.opensagres.xdocreport</groupId>
          <artifactId>fr.opensagres.xdocreport.template.velocity</artifactId>
          <version>${xdocreport-version}</version>
        </dependency>
        <dependency>
          <groupId>fr.opensagres.xdocreport</groupId>
          <artifactId>fr.opensagres.xdocreport.converter.docx.xwpf</artifactId>
          <version>${xdocreport-version}</version>
        </dependency>

Isn't this the correct way?

Thanks,

Tim

Original comment by barbio....@gmail.com on 19 Oct 2012 at 9:59

GoogleCodeExporter commented 8 years ago
Hi,

our snapshots are deployed to oss.sonatype.org.

In order to make samples work you have to add this to your pom.xml:

<repositories>
   <repository>
    <id>sonatype</id>
    <url>http://oss.sonatype.org/content/repositories/snapshots/</url>
   </repository>
</repositories>

Alternatively, you can configure your settings.xml (see: 
http://maven.apache.org/settings.html)

Original comment by pascal.leclercq on 19 Oct 2012 at 10:12

GoogleCodeExporter commented 8 years ago
I close this bug, because there is not attached document which causes the 
problem.

Original comment by angelo.z...@gmail.com on 13 Dec 2012 at 3:36

GoogleCodeExporter commented 8 years ago
cleanup

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