You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xml-commons-dev@xerces.apache.org by bu...@apache.org on 2006/08/07 19:39:09 UTC

DO NOT REPLY [Bug 40204] New: - XLS FO - AUTOMATIC TABLE OF CONTENTS AND NUMBERS OF PAGES

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.

DO NOT REPLY [Bug 40204] - XLS FO - AUTOMATIC TABLE OF CONTENTS AND NUMBERS OF PAGES

Posted by bu...@apache.org.
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


j3322ptm@yahoo.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




------- Additional Comments From j3322ptm@yahoo.de  2006-08-09 20:36 -------
Use a fo:page-number-citation.
Check the spec: http://www.w3.org/TR/xsl/slice6.html#fo_page-number-citation
An example is in the introduction section:
http://www.w3.org/TR/xsl/slice6.html#section-N13282-Introduction
There are zillions of other examples on the web, reachable by your favorite web
search engine.

Please use the correct mailing lists for asking questions, see for example
http://xmlgraphics.apache.org/fop/maillist.html#fop-user
The bug tracking system is only meant for reporting bugs.

-- 
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.