|
Re: Multiple Masterpages? [message #143257 is a reply to message #143176] |
Sun, 12 March 2006 16:26 |
Eclipse User |
|
|
|
Originally posted by: David.Peterson.mtvnmix.com
Peter,
I'm far from a Birt expert, but I hope this helps you. The module API does
reference multiple master pages in the pageSetup section.
http://help.eclipse.org/help31/index.jsp?topic=/org.eclipse. birt.doc/birt/birt-24-18.html
So it appears to be possible at least. As for the automatic, there is a
caveat for that in the API that auto doesn't work if the pageType is custom.
<The page orientation. The allowable values for this property are Portrait,
Landscape and Auto, which is the default. This property is ignored if
pageType is set to Custom.>
However, I'd think that you could still use Custom and override the
orientation to what you want via scripting at run time.
"Peter Fopma" <peter.fopma@ifb-group.com> wrote in message
news:3b34e0963471a45f8470263eefab58af$1@www.eclipse.org...
> Not long and I'll start begging for an answer!
>
> Can anybody tell we whether it is possible to have multiple
> MasterPages. And if, can a single report use both?
> Or is there another way to mix landscape and portrait?
> Or is it planned to support this in the future?
> Or should 'Automatic' in the MasterPage do the trick? Well, it doesn't
> for me...
>
> Please, a short answer - Yes, you can! Or No, forget it! And we never
> will!
>
> Thanks
> Peter
>
>
|
|
|
|
Re: Multiple Masterpages? [message #144096 is a reply to message #143735] |
Wed, 15 March 2006 17:28 |
Eclipse User |
|
|
|
Originally posted by: David.Peterson.mtvnmix.com
I hope this helps.
Here is an example of setting up a report library.
http://www.theserverside.com/articles/article.tss?l=EclipseB RT
From Module->PageSetup BIRT documentation:
http://help.eclipse.org/help31/index.jsp?topic=/org.eclipse. birt.doc/birt/birt-24-18.html
PageSetup
Defines the way that the report appears when printed. It consists of a
master page that defines the page size, page decoration, margins and so
forth. Some reports need to use different master pages, perhaps to have the
first page of the report appear in letterhead, with the remaining pages on
plain paper. Other reports may be printed and bound, requiring differing
page layout for the left and right pages.
A report can omit the page setup information, in which case page setup is
taken from a library, if provided. If the library is not provided or does
not have a page setup, or the master page does not have page dimensions, the
setup comes from BIRT preferences, or from locale-specific defaults.
If the user lists multiple master pages, but no page sequences, BIRT uses
the first master page by default. If the user defines one or more page
sequences, BIRT uses the first page sequence by default. Other than these
two cases, the order of elements within the page setup slot is unimportant.
This slot defines a name space; the name of each master page and page
sequence must be unique across the set of other page setup elements.
The page setup element can contain zero or more master pages of either type
and zero or more page sequences of either type.
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03584 seconds