- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Inserting page breaks in journals
Hi Guys,
I am trying to save a journal report with > 1000 parameters into a rtf file. However, when I see the plots in the word file, the plots for the parameters are getting cut. I would like to add page breaks before every parameter so that all the plots for each parameter are on one page. I know if I right click on the blue triangle, I can insert a Break but I don't want to do this for > 1000 parameters. Is there an easier way to do this?
Thanks.
I am trying to save a journal report with > 1000 parameters into a rtf file. However, when I see the plots in the word file, the plots for the parameters are getting cut. I would like to add page breaks before every parameter so that all the plots for each parameter are on one page. I know if I right click on the blue triangle, I can insert a Break but I don't want to do this for > 1000 parameters. Is there an easier way to do this?
Thanks.
9 REPLIES 9
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Inserting page breaks in journals
Anybody has any ideas on this?
Appreciate any help with this.
Thanks.
Appreciate any help with this.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Inserting page breaks in journals
Take a look at the "Manipulating Displays" section of the scripting guide.
There is a "Page Break" message you can send that will do what you're requesting. Without knowing the tree structure of your report it's hard to get too specific.
Below is an example of making a page break in a specific section.
There is a "Page Break" message you can send that will do what you're requesting. Without knowing the tree structure of your report it's hard to get too specific.
Below is an example of making a page break in a specific section.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Inserting page breaks in journals
I don't see the example.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Inserting page breaks in journals
Here is the example taken from the Scripting Index
Help==>Scripting Index
Names Default To Here( 1 );
//This message applies to all display box objects
New Window( "Example",
ob = Outline Box( "Outline Box",
V List Box(
ob2 = Outline Box( "Outline Box 2",
H List Box(
Text Edit Box( "Top Left" ),
Text Edit Box( "Top Right" )
)
),
ob3 = Outline Box( "Outline Box",
H List Box(
Text Edit Box( "Bottom Left" ),
Text Edit Box( "Bottom Right" )
)
)
)
)
);
ob3 << Page Break;
Jim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Inserting page breaks in journals
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Inserting page breaks in journals
How can I undo the page break in journal?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Inserting page breaks in journals
I don't see any clear way to do this. Hopefully some other Community Member may have a solution.
Jim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Inserting page breaks in journals
If we are talking about PageBreakBoxes then...use XPath to get references to all of them and then send << Delete box() message to those references
Names Default To Here(1);
//This message applies to all display box objects
nw = New Window("Example",
ob = Outline Box("Outline Box",
V List Box(
ob2 = Outline Box("Outline Box 2",
H List Box(Text Edit Box("Top Left"), Text Edit Box("Top Right"))
),
ob3 = Outline Box("Outline Box",
H List Box(Text Edit Box("Bottom Left"), Text Edit Box("Bottom Right"))
)
)
)
);
ob3 << Page Break;
nw << Journal;
(Current Journal() << XPath("//PageBreakBox")) << Delete Box;
It also might be enough to just send << Visibility("Collapse") instead of deleting them
-Jarmo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Inserting page breaks in journals
Nice solution!
Jim