[xep-support] Re: Bookmarks - changes in default settings
Michael Sulyaev
msulyaev at renderx.com
Tue Oct 18 04:42:48 PDT 2011
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
More information about the Xep-support
mailing list