Ess Kay
asked on
xslt change page positions
When using <fo:repeatable-page-master -alternati ves> statement, how to specify page-position=8 (or any other number)?
<fo:conditional-page-maste r-referenc e master-reference="your-pag e-1" page-position="first"/>
<fo:conditional-page-maste r-referenc e master-reference="your-pag e-2"/> page-position="8"/>
</fo:repeatable-page-maste r-alternat ives>
in other words, we would kile to have all pages portrait, but page 8-10 to be landscape.
<fo:conditional-page-maste
<fo:conditional-page-maste
</fo:repeatable-page-maste
in other words, we would kile to have all pages portrait, but page 8-10 to be landscape.
ASKER
doesnt matter, its adaptable. just need an example on how to change the layout of specific pages to landscape
IE page 8-10
IE page 8-10
it does matter
- you can't say 8 - 10 here
<fo:conditional-page-maste r-referenc e master-reference="your-pag e-2"/> page-position="8"/>
as I told you
so your options are
- break your flows in different page sequences based on your content
- look for a processor that has an extension that allows this (I don't know any that does)
- do a whole lot of hocus pocus making all portrait but pull out the content for the landscape, stuff that in a different PDF and merge programmatically using iText or something
If you told me what exactly the requirements are, and how the content looks like, I could help you pick the right route
If "doesnt matter" is all I can get from you then "it is impossible apart from the options I told you" is the best I can do
- you can't say 8 - 10 here
<fo:conditional-page-maste
as I told you
so your options are
- break your flows in different page sequences based on your content
- look for a processor that has an extension that allows this (I don't know any that does)
- do a whole lot of hocus pocus making all portrait but pull out the content for the landscape, stuff that in a different PDF and merge programmatically using iText or something
If you told me what exactly the requirements are, and how the content looks like, I could help you pick the right route
If "doesnt matter" is all I can get from you then "it is impossible apart from the options I told you" is the best I can do
ASKER
Thank you
can you give an example using blank pages,
where page 1-3 are portrait, and page 4-6 and landscape, then page 7-end are portrait
can you give an example using blank pages,
where page 1-3 are portrait, and page 4-6 and landscape, then page 7-end are portrait
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Ive not comfirmed this as we have abandoned the project due to lack of information, but thanks anyway
http://www.datypic.com/sc/fo11/a-page-position-1.html
for the only allowed values for page-position in a conditional page master
fixed numbers are not part of that
maybe some processor extensions do that.
Do you need a flow all over the pages or can you break the flows and adddifferent layout options alltogether
It feels to me that you know what data needs to get into the landscape view
maybe you need to tell us more about the requirement