xml-commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 40204] New: - XLS FO - AUTOMATIC TABLE OF CONTENTS AND NUMBERS OF PAGES
Date Mon, 07 Aug 2006 17:39:09 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40204>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40204

           Summary: XLS FO - AUTOMATIC TABLE OF CONTENTS AND NUMBERS OF
                    PAGES
           Product: XmlCommons
           Version: 1.x
          Platform: HP
        OS/Version: Windows XP
            Status: NEW
          Severity: blocker
          Priority: P1
         Component: XmlStylebook
        AssignedTo: commons-dev@xml.apache.org
        ReportedBy: brice_coves@yahoo.fr


Hello, can you help me with this difficult problem?

I can't modify a XML document (because the rules are that we can't modify it), 
i can only use XLS file.

So, How can i make an automatic table of contents using XLS file exclusively ?

I want to insert the number of pages too at the right of each parts/contents! 
I try lots of tests such as fo:page-number but it didn't work.

Example:

1. Work definition ...............p3
   1.1 How to use this............p4
2. Found a bug....................p5


here is a part of code

<xsl:template match="Body/Document/Contents/Section_1">
	<fo:block>
		<fo:inline font-size="12pt">
			<xsl:value-of select="Num"/>
			<xsl:value-of select="Title"/>  
		</fo:inline>
		<xsl:apply-templates select="Text"/>
	</fo:block>
</xsl:template>

We know num and title but how can we insert in this code the DYNAMIC number of 
the page generated by page-number??

Is there any solution??

Thanks a lot for your time.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Mime
View raw message