Transformation .pdf destination

Oxygen general issues.
Cloner
Posts: 4
Joined: Tue Jan 19, 2010 12:58 am

Transformation .pdf destination

Post 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
adrian
Posts: 2890
Joined: Tue May 17, 2005 4:01 pm

Re: Transformation .pdf destination

Post 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
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Cloner
Posts: 4
Joined: Tue Jan 19, 2010 12:58 am

Re: Transformation .pdf destination

Post 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
adrian
Posts: 2890
Joined: Tue May 17, 2005 4:01 pm

Re: Transformation .pdf destination

Post 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
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Post Reply