format and indent a map?

Post here questions and problems related to editing and publishing DITA content.
sbodoff
Posts: 20
Joined: Tue Jun 14, 2011 10:42 pm

format and indent a map?

Post by sbodoff »

Is there any way to apply the Document > Source > Format and Indent operation to all the topics in a map?
Costin
Posts: 829
Joined: Mon Dec 05, 2011 6:04 pm

Re: format and indent a map?

Post by Costin »

Hi Sbodoff,

Unfortunately, currently it is not possible to perform a batch Format and Indent operation over a set of files.

In order to F&I multiple topics, you could enable the "Format and indent the document on open" option from oXygen menu Options > Preferences > Editor > Format.
All you should do next would be to open the topics you want to format and indent and save them, as they would be automatically formatted.

However, I've logged your feedback as an improvement request in our issue tracking system.
The use-case will be analyzed and probably we could make this possible in a future version of oXygen.

Cheers,
Costin
Costin Sandoi
oXygen XML Editor and Author Support
Eddie
Posts: 106
Joined: Wed Dec 18, 2013 3:07 am

Re: format and indent a map?

Post by Eddie »

Hello,

Was there any movement on this?
We'd also like to have this function - it would be very useful for making sure that topics are formatted in the same way.

Cheers,
Eddie.
adrian
Posts: 2855
Joined: Tue May 17, 2005 4:01 pm

Re: format and indent a map?

Post by adrian »

Hello,

This has not been implemented yet (v16.1).
However, there has been some interest in this feature, so this is coming sooner rather than later.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Eddie
Posts: 106
Joined: Wed Dec 18, 2013 3:07 am

Re: format and indent a map?

Post by Eddie »

Many thanks for adding this in V17.

I don't wish to sound ungrateful but...
Is there any chance of getting this added to the Map Manager or main menu? We're not using projects, so it's a bit out of the way.

Anyway, thanks for the response to the initial request.

Cheers,

Eddie.
Radu
Posts: 9049
Joined: Fri Jul 09, 2004 5:18 pm

Re: format and indent a map?

Post by Radu »

Hi Eddie,

We could consider this.
Would it be enough for you if we add the action to the main Tools menu?
Are your DITA Maps located on the local disk or on a remote location?

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Eddie
Posts: 106
Joined: Wed Dec 18, 2013 3:07 am

Re: format and indent a map?

Post by Eddie »

Hello,

Thanks for the reply.
The Tools menu would be fine, thanks.

The maps are stored in a version control system, but always downloaded to the writer's local machine for editing.

Cheers,

Eddie.
Eddie
Posts: 106
Joined: Wed Dec 18, 2013 3:07 am

Re: format and indent a map?

Post by Eddie »

Hello,

Thanks for including this in 17.1!

Eddie.
Radu
Posts: 9049
Joined: Fri Jul 09, 2004 5:18 pm

Re: format and indent a map?

Post by Radu »

Hi Eddie,

No problem, thanks for the valuable suggestion.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply