Skip to main content

Hi community,

first of all, I whish you the best for the new year...

 

Second, I have to create some report based on features retrieved by a first query.

These features will be the "header" of the report page.

I will have as much page as I have feature.

 

The report "body" will be build according to query besed on the feature. So for example I will have:

 

1) 3 features : AAA- BBB- CCC

==> 3 PDF pages with

 

AAA

BBB

CCC.

 

The body of the pagze will be a query based on:

 

Get info from AAA

==> Create a table in the page

Get info from BBB

==>Create table in the page

Get info from CCC

==> Create table in the page...

 

and At the end the 3 pages will look like:

 

{MAIN_FEATURE_ID}

 

TABLE WITH DATA

---

I already had a look at the PDFPageFormatter but I don't understand how it has to be configured.

 

I hope you understand what I want to achieve.

Thanks in advance for your help.

Best regards,

Steph.

 

For this kind of data exports I usually write to PowerPoint. This is much more flexible than the PDF Export.

 

You start with a PowerPoint file (FME calls it a template, but it's a normal pptx file), which you edit in PowerPoint to set your own page size, and to define your own style settings.

 

In FME you export each feature to its own Table Slide.

If you want to, you can even start with a Title Slide.

See the PowerPointStyler for more information.

 

Of course there is a (small) downsize: now you have to export the PowerPoint file to PDF yourself.


Reply