From: Jirka Kosek Date: Tue, 20 Sep 2005 19:42:57 +0000 (+0000) Subject: Implemented RFE #1292615. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8567ea22de253c0c98e3d8233912530551d78652;p=docbook-dsssl Implemented RFE #1292615. Added bunch of new parameters (attribute sets) that affect list presentation: list.block.properties, itemizedlist.properties, orderedlist.properties, itemizedlist.label.properties and orderedlist.label.properties. Default behaviour of stylesheets has not been changed but further customizations will be much more easier. --- diff --git a/xsl/fo/lists.xsl b/xsl/fo/lists.xsl index a9adbf2d3..482a5cea1 100644 --- a/xsl/fo/lists.xsl +++ b/xsl/fo/lists.xsl @@ -50,30 +50,22 @@ - - - - - - - 1.5em - - + + + + + + - - - - - - - 1.5em - - + + + + + + @@ -113,7 +105,7 @@ - + @@ -210,30 +202,22 @@ - - - - - - - 2em - - + + + + + + - - - - - - - 2em - - + + + + + + @@ -282,7 +266,7 @@ - + diff --git a/xsl/fo/param.ent b/xsl/fo/param.ent index fcb2ec3dc..edcc6aa35 100644 --- a/xsl/fo/param.ent +++ b/xsl/fo/param.ent @@ -89,12 +89,15 @@ + + + @@ -108,6 +111,8 @@ + + diff --git a/xsl/fo/param.xweb b/xsl/fo/param.xweb index e1ea0df0f..a7267b1ef 100644 --- a/xsl/fo/param.xweb +++ b/xsl/fo/param.xweb @@ -391,6 +391,11 @@ zero by default, so this is simply the page-master region-left. &list.item.spacing; &compact.list.item.spacing; &variablelist.max.termlength; +&list.block.properties; +&itemizedlist.properties; +&itemizedlist.label.properties; +&orderedlist.properties; +&orderedlist.label.properties; Cross References @@ -646,6 +651,8 @@ around all these parameters. + + @@ -656,6 +663,7 @@ around all these parameters. + @@ -678,6 +686,8 @@ around all these parameters. + + diff --git a/xsl/params/itemizedlist.label.properties.xml b/xsl/params/itemizedlist.label.properties.xml new file mode 100644 index 000000000..2fc6cd680 --- /dev/null +++ b/xsl/params/itemizedlist.label.properties.xml @@ -0,0 +1,17 @@ + + +itemizedlist.label.properties +Properties that apply to each label inside itemized list. + + + + + + +Description +Properties that apply to each label inside itemized list. E.g.: + + right +]]> + + diff --git a/xsl/params/itemizedlist.properties.xml b/xsl/params/itemizedlist.properties.xml new file mode 100644 index 000000000..31c6b5bc9 --- /dev/null +++ b/xsl/params/itemizedlist.properties.xml @@ -0,0 +1,14 @@ + + +itemizedlist.properties +Properties that apply to each list-block generated by itemizedlist. + + + + + + +Description +Properties that apply to each fo:list-block generated by itemizedlist. + + diff --git a/xsl/params/list.block.properties.xml b/xsl/params/list.block.properties.xml new file mode 100644 index 000000000..8fbab86a6 --- /dev/null +++ b/xsl/params/list.block.properties.xml @@ -0,0 +1,16 @@ + + +list.block.properties +Properties that apply to each list-block generated by list. + + + + + 0.2em + 1.5em + + +Description +Properties that apply to each fo:list-block generated by itemizedlist/orderedlist. + + diff --git a/xsl/params/orderedlist.label.properties.xml b/xsl/params/orderedlist.label.properties.xml new file mode 100644 index 000000000..ca7d4752d --- /dev/null +++ b/xsl/params/orderedlist.label.properties.xml @@ -0,0 +1,17 @@ + + +orderedlist.label.properties +Properties that apply to each label inside ordered list. + + + + + + +Description +Properties that apply to each label inside ordered list. E.g.: + + right +]]> + + diff --git a/xsl/params/orderedlist.properties.xml b/xsl/params/orderedlist.properties.xml new file mode 100644 index 000000000..fb8303a6d --- /dev/null +++ b/xsl/params/orderedlist.properties.xml @@ -0,0 +1,15 @@ + + +orderedlist.properties +Properties that apply to each list-block generated by orderedlist. + + + + + 2em + + +Description +Properties that apply to each fo:list-block generated by orderedlist. + +