Page 1 of 1
Transformation .pdf destination
Posted: Tue Jan 19, 2010 8:58 pm
by Cloner
Hi, I just updated to oXygen v. 11 and when I transform a file from XML to .pdf, instead of writing the transformed file to my docs&settings folder like it used to, it writes it to my eclipse workspace--where my repository is.
How do I redirect the file output to the folder of my choice?
Thank you,
Colin
Re: Transformation .pdf destination
Posted: Wed Jan 20, 2010 3:15 pm
by adrian
Hello,
You can edit the transformation scenario you are using(Document -> Transformation -> Configure Transformation Scenario, Edit) and in the Output tab, in the Save As field you can specify where the file will be saved and how it will be named. To do this you can use several editor variables(macros) from the list shown when clicking on the Insert Editor Variables button(to the right of the field).
For predefined PDF transformations the default is ${cfd}\${cfn}.pdf meaning <current file directory>\<current file name>.pdf
Regards,
Adrian
Re: Transformation .pdf destination
Posted: Wed Jan 20, 2010 11:18 pm
by Cloner
Hi Adrian,
Thank you very much for the assistance. When I finally get to the "Configure Transformation Scenario" page, all the scenarios are locked. Is that because I'm using a temporary license?
When I click on "Edit," I can create a duplicate DocBook PDF scenario and can see how to effect the changes, but I can't see a way to make that the prescribed file to use for the transformations. My company's working on getting me a new license so I think I may have to wait for that.
If you could confirm my suspicions, I'd be most appreciative.
Colin
Re: Transformation .pdf destination
Posted: Thu Jan 21, 2010 11:33 am
by adrian
Hello,
What you see "locked" are the predefined scenarios which are indeed read-only and cannot be modified. It is not a license related issue. But, like you have discovered, you can duplicate them and change the output as needed.
Cloner wrote:When I click on "Edit," I can create a duplicate DocBook PDF scenario and can see how to effect the changes, I can't see a way to make that the prescribed file to use for the transformations
I'm sorry can you explain what you mean?
You can't specify a default scenario for all transformations if that's what you meant, but you can associate a scenario to a specific XML file to be transformed in the Configure
Transformation Scenario dialog(select the scenario and press OK). Afterwards you will execute that associated scenario by simply invoking
Apply Transformation Scenario.
You can also apply a transformation scenario to multiple files if you have added them to a project by selecting them in the
Project view and choosing
Transform with... from the contextual menu.
Regards,
Adrian