Folding in Author mode

Are you missing a feature? Request its implementation here.
honyk
Posts: 176
Joined: Wed Apr 29, 2009 4:55 pm

Folding in Author mode

Post by honyk »

Hello Everyone,

at present there is folding available only for several elements. It would be nice to have possibility to collapse every element. In XMetal for this purpose there is usefull area of each starting tag, where user can click to collapse/expand element content. Do you plan something similar?

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

Re: Folding in Author mode

Post by sorin_ristache »

Hello,

We implemented two CSS extension properties: foldable and not-foldable-child. Only the elements with the property foldable:true are folded in Author mode.


Regards,
Sorin
honyk
Posts: 176
Joined: Wed Apr 29, 2009 4:55 pm

Re: Folding in Author mode

Post by honyk »

Thanks for reply, I've overlooked such possibility. But suggested tag enhancement would be maybe more general and not requiring this technical background, what can be problem for common document writers.

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

Re: Folding in Author mode

Post by sorin_ristache »

No, the document authors that edit the content of XML documents in Author mode do not have to know about CSS stylesheets and CSS extension functions. Only the one developer that sets up the CSS in a custom document type for the many document authors needs to specify the foldable elements only once in the CSS stylesheet. If a predefined document type is used and you want to customize the set of foldable tags just customize the CSS stylesheet of the predefined document type.

The Oxygen implementation of folding is also general. With only one CSS rule (one line in the CSS stylesheet) all the tags can be set as foldable in Author mode. You don't have to specify each tag name as foldable. The CSS specification does not provide such a feature so we introduced a CSS extension.


Regards,
Sorin
Post Reply