Save As via code

Oxygen general issues.
honyk
Posts: 176
Joined: Wed Apr 29, 2009 4:55 pm

Save As via code

Post by honyk »

Hello,

is there any way how to save current document under different name via api? I am doing some operations and at the end I want to save document into different location.

Jan
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: Save As via code

Post by sorin_ristache »

Hello,

In the current version only a save action is available: authorAccess.getEditorAccess().save(). You should create a copy of the file with the new name, process the new file by reading it from disk as any other file and after that open it in Author. The result is the same.


Regards,
Sorin
Post Reply