On 10/18/2011 01:04 PM, Jan Tošovskı wrote:
> I've encounter changes in default settings between 4.18 and 4.19.
> While in the former version all bookmarks were collapsed, in the
> latter one they are expanded. I've found a special 'collapse-subtree'
> attribute in the XEP user guide which can control this behaviour for
> every bookmark, but is there any simple option which changes it
> globally?
Hello Jan,
Indeed, we have changed [1] the default behaviour in 4.19 in order to
meet the default behaviour of bookmarks as defined in XSL 1.1 [2]. The
definition of bookmarks in XSL 1.1 (fo:bookmark-tree) is very similar to
the old RenderX extention (rx:outline), with a few additions and the
opposite default behaviour for collapsing.
Unfortunately, neither @collapse-subtree, nor @starting-state are
inheritable, so you would need to change every bookmark and add
collapse-subtree="true" or starting-state="hide" onto it. However, if
you are using XSLT to receive FO, this is likely to be just one-line
change in the XSLT file.
Regards,
Michael Sulyaev
RenderX
[1] http://www.renderx.com/reference#Bookmarks
[2] http://www.w3.org/TR/xsl/#starting-state
_______________________________________________
(*) To unsubscribe, please visit http://lists.renderx.com/mailman/options/xep-support
(*) By using the Service, you expressly agree to these Terms of Service http://w
ww.renderx.com/terms-of-service.html
Received on Tue Oct 18 04:43:00 2011
This archive was generated by hypermail 2.1.8 : Tue Oct 18 2011 - 04:43:01 PDT