Exporting Multiple Tables to the Same PDF

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

blonggovnl
Posts: 16
Joined: Thu Aug 22, 2013 7:45 am

Exporting Multiple Tables to the Same PDF

Postby blonggovnl » Wed Sep 04, 2013 10:13 am

Hi,

Is there a way for me to export multiple tables to the same pdf in a report-style format?

BL

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: Exporting Multiple Tables to the Same PDF

Postby EViews Gareth » Wed Sep 04, 2013 10:39 am

Put them into a spool object, then save the spool as PDF.

blonggovnl
Posts: 16
Joined: Thu Aug 22, 2013 7:45 am

Re: Exporting Multiple Tables to the Same PDF

Postby blonggovnl » Tue Sep 10, 2013 6:32 am

I have two follow-up questions:

1) How can I change 'object properties' using commands of objects in a spool. Specifically, I want to change the horizontal indent.

2) Is there a way for me to specify how individual objects within the spool are placed when printed to a pdf. For example, I want a graph to take up a pdf page by itself whereas I want multiple tables on a single page.

Any suggestions?

Thanks,

BL

EViews Jason
EViews Developer
Posts: 870
Joined: Tue Sep 16, 2008 3:50 pm

Re: Exporting Multiple Tables to the Same PDF

Postby EViews Jason » Tue Sep 10, 2013 10:04 am

1) see the 'horizindent' command. From the docs
spool_name.horizindent object_arg size_arg
where object_arg is the name or the position of a specific object to which you wish to apply indenting, and size_arg is an new indentation in virtual inches.
2)You will need to put the tables into a sub spool. I would first add the tables to a spool and then add that spool to a parent spool. From there you can add the graphs to parent spool.

For example

Code: Select all

spool tab_spool tab_spool.append table1 table2 spool parent_spool parent_spool.append tab_spool graph1 graph2
When saving the spool to a PDF file, be sure you to set the 'Print Mode:' to Individual and that the 'Apply print mode to child spools' check box is NOT checked.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests