From ea493e97e81c249f1cf048bc3718691539471d40 Mon Sep 17 00:00:00 2001 From: Bob Stayton Date: Thu, 29 Dec 2005 19:14:15 +0000 Subject: [PATCH] Fixed bug #1326440 where 'title' in generate.toc was not supported in FO. --- xsl/fo/autotoc.xsl | 10 ++++++++-- xsl/fo/component.xsl | 41 +++++++++++++++++++++++++++-------------- xsl/fo/division.xsl | 8 +++++++- xsl/fo/sections.xsl | 44 ++++++++++++++++++++++++++++++++++---------- 4 files changed, 76 insertions(+), 27 deletions(-) diff --git a/xsl/fo/autotoc.xsl b/xsl/fo/autotoc.xsl index f229476b4..df16f62ed 100644 --- a/xsl/fo/autotoc.xsl +++ b/xsl/fo/autotoc.xsl @@ -53,6 +53,7 @@ + @@ -83,7 +84,9 @@ - + + + @@ -93,6 +96,7 @@ + @@ -110,7 +114,9 @@ - + + + diff --git a/xsl/fo/component.xsl b/xsl/fo/component.xsl index b5a9b2721..fdf6ccdde 100644 --- a/xsl/fo/component.xsl +++ b/xsl/fo/component.xsl @@ -39,7 +39,7 @@ - + 6 5 @@ -95,9 +95,9 @@ font-size there... --> - - - + + + @@ -115,13 +115,13 @@ - - - + + + - - + + @@ -348,11 +348,15 @@ - + - + + + @@ -439,7 +443,10 @@ - + + + @@ -526,7 +533,10 @@ - + + + @@ -613,7 +623,10 @@ - + + + diff --git a/xsl/fo/division.xsl b/xsl/fo/division.xsl index 5811aaa9f..9b462cc34 100644 --- a/xsl/fo/division.xsl +++ b/xsl/fo/division.xsl @@ -377,7 +377,10 @@ select="$lot-master-reference"/> - + + + @@ -910,7 +913,10 @@ + + diff --git a/xsl/fo/sections.xsl b/xsl/fo/sections.xsl index 551fd7e11..4abe24640 100644 --- a/xsl/fo/sections.xsl +++ b/xsl/fo/sections.xsl @@ -101,9 +101,11 @@ + and (count(ancestor::section)+1) <= + $generate.section.toc.level"> - + @@ -185,8 +187,12 @@ - + and (count(ancestor::section)+1) <= + $generate.section.toc.level"> + + + @@ -299,7 +305,10 @@ - + + + @@ -382,7 +391,10 @@ - + + + @@ -408,7 +420,10 @@ - + + + @@ -433,7 +448,10 @@ - + + + @@ -458,7 +476,10 @@ - + + + @@ -483,7 +504,10 @@ - + + + -- 2.40.0