XMLmind XSL-FO Converter correctly processes the the 
"initial-page-number" attribute when generating the .odt file. The 
problem is that OpenOffice/LibreOffice seems to completely ignores the 
generated:

---
<style:page-layout-properties
  ...
  style:first-page-number="2"
  ...
 >
---
(Search for "15.2.15 First Page Number" in 
http://docs.oasis-open.org/office/v1.1/OS/OpenDocument-v1.1-html/OpenDocument-v1.1.html)

In contrast, just to explain that the issue is unlikely to be caused by 
our tool, MS-Word honors the equivalent of the "initial-page-number" 
attribute generated by XMLmind XSL-FO Converter in the RTF, WML and .docx.

In summary, there is no way for us to fix the issue you have reported.




On 10/10/2011 10:54 AM, LEITNER Martin wrote:
> I included an *.fo file, as well as the pdf output and the odt output.
>
> -----Original Message-----
> From: Hussein Shafie [mailto:[email protected]]
> Sent: Freitag, 07. Oktober 2011 20:17
> To: LEITNER Martin
> Cc: [email protected]
> Subject: Re: [XFC] Problem using "initial-page-number" attribute
>
> On 10/07/2011 06:29 PM, LEITNER Martin wrote:
>>
>> I am using xfc version 4.5.0, calling it from my own Java program
>> (Java
>> 1.6.0_26) on Windows 7 Enterprise.
>>
>> I try to use the "initial-page-number" attribute on the page-sequence
>> node, but in the generated ODT file it seems that this setting is
>> ignored (page numbers start with 1). I also included a PDF file that
>> was generated with Apache FOP where the page numbers appear as expected.
>>
>> I understand the conformance statement to mean that this attribute is
>> supported.
>>
>> Did I miss anything, or is this behavior expected? Is there anything I
>> can do to fix it?
>>

 
--
XMLmind FO Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xfc-support

Reply via email to