1

Topic: [XSL-FO, ApacheFOP] page Number in the multipart document in Acrobat Reader

Good afternoon!
By means of ApacheFop I receive the multipart document. The document consists of parts, each of which begins with page 1 number.
After formation PDF there is a necessity to unpack 5th page of the document. At instructions of page for the press 11th page of the document (it is 5th in the part) will be printed.
How to generate PDF it is correct, that 5th page was 5th page of the document, instead of its parts?
.fo:

<? xml version = "1.0"?>
<fo:root xmlns:fo = "http://www.w3.org/1999/XSL/Format" xmlns:xlink = "http://www.w3.org/1999/xlink" font-size = "30pt">
<fo:layout-master-set>
<fo:simple-page-master master-name = "page">
<fo:region-body region-name = "body" margin-top = "22mm" margin-bottom = "34mm"/>
<fo:region-after region-name = "footer" extent = "31mm"/>
</fo:simple-page-master>
<fo:simple-page-master master-name = "blank-page">
<fo:region-body region-name = "body-blank" margin-top = "22mm" margin-bottom = "34mm"/>
<fo:region-after region-name = "footer" extent = "31mm"/>
</fo:simple-page-master>
<fo:page-sequence-master master-name = "document">
<fo:repeatable-page-master-alternatives>
<fo:conditional-page-master-reference blank-or-not-blank = "not-blank" master-reference = "page"/>
<fo:conditional-page-master-reference blank-or-not-blank = "blank" odd-or-even = "even" master-reference = "blank-page"/>
</fo:repeatable-page-master-alternatives>
</fo:page-sequence-master>
</fo:layout-master-set>
<fo:page-sequence master-reference = "document" initial-page-number = "1" force-page-count = "end-on-even">
<fo:static-content flow-name = "footer">
<fo:block>
<fo:page-number/>
</fo:block>
</fo:static-content>
<fo:flow flow-name = "body">
<fo:block break-after = "page"> Text1 </fo:block>
</fo:flow>
</fo:page-sequence>
<fo:page-sequence master-reference = "document" initial-page-number = "1" force-page-count = "end-on-even">
<fo:static-content flow-name = "footer">
<fo:block>
<fo:page-number/>
</fo:block>
</fo:static-content>
<fo:flow flow-name = "body">
<fo:block break-after = "page"> Text3 </fo:block>
<fo:block break-after = "page"> Text4 </fo:block>
<fo:block break-after = "page"> Text5 </fo:block>
</fo:flow>
</fo:page-sequence>
<fo:page-sequence master-reference = "document" initial-page-number = "1" force-page-count = "end-on-even">
<fo:static-content flow-name = "footer">
<fo:block>
<fo:page-number/>
</fo:block>
</fo:static-content>
<fo:flow flow-name = "body">
<fo:block break-after = "page"> Text7 </fo:block>
<fo:block break-after = "page"> Text8 </fo:block>
<fo:block break-after = "page"> Text9 </fo:block>
<fo:block break-after = "page"> Text10 </fo:block>
<fo:block break-after = "page"> Text11 </fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>

The problem arises at usage FOP1 and above. If to use FOP0.95 (itself FOP to download there is no possibility, for the test I use Arbortext PrintServices Engine), numbering of pages in AdobeReader the open
Also in nesting screenshots with numbering in Adobe Reader