Ask a suppor to share the logic of customize PDF transformation
Posted: Tue Jul 11, 2017 9:50 am
Hi Oxygen expert,
My tools: Dita OT2.5
I have download your pdf plugin and test it successfully.
Then I want to update your plugin for PDF transfor mation
. Add footer and header
. Add new cover page , first page and last page.
.format the pragraph, table and other elements of PDF.
What I understand now:
In Customization
-----fo
---attrs (includes attributes xls files)
---xsl ( includes how to transform attributes)
For example, if i want to change the header and footer, i need to rewrite the static-content-attr.xsl in attrs folder and static-content.xsl in xsl folder. of course I need to added them in the seperate custom.xsl.
My question comes:
1. how do I know which xsl i need to rewrite in attr and xsl folder? their name and their content. doese this mean I need to copy some file from somewhere?
2. how do I know which part should be rewrite? for example, in static-content.xsl , there are several templates about oddfooter, evenfooter, indexfooter and others. How should I know which one is used for what?
3. if it is possible, as I mentioned in above, to achieve these functions, which xls should I rewrite and what content should I rewrite?
I really want to understand the logic of how to customize the pdf output as I tried to use it for next pdf publicaion, which might come in 2 weeks.
Thanks so much!
My tools: Dita OT2.5
I have download your pdf plugin and test it successfully.
Then I want to update your plugin for PDF transfor mation
. Add footer and header
. Add new cover page , first page and last page.
.format the pragraph, table and other elements of PDF.
What I understand now:
In Customization
-----fo
---attrs (includes attributes xls files)
---xsl ( includes how to transform attributes)
For example, if i want to change the header and footer, i need to rewrite the static-content-attr.xsl in attrs folder and static-content.xsl in xsl folder. of course I need to added them in the seperate custom.xsl.
My question comes:
1. how do I know which xsl i need to rewrite in attr and xsl folder? their name and their content. doese this mean I need to copy some file from somewhere?
2. how do I know which part should be rewrite? for example, in static-content.xsl , there are several templates about oddfooter, evenfooter, indexfooter and others. How should I know which one is used for what?
3. if it is possible, as I mentioned in above, to achieve these functions, which xls should I rewrite and what content should I rewrite?
I really want to understand the logic of how to customize the pdf output as I tried to use it for next pdf publicaion, which might come in 2 weeks.
Thanks so much!