Fo2Docx Query: Fetch total number of pages

"Shankar Maddala, Uma" <[email protected]> Thu, 23 Jul 2026 14:43:21 +0000
Newsgroups gmane.text.xml.xfc.general
Message-ID <CH3PR84MB3734A9EDD83A7349A64B843DBEC02@CH3PR84MB3734.NAMPRD84.PROD.OUTLOOK.COM>
--===============3545479728102189226==
Content-Language: en-US
Content-Type: multipart/alternative;
	boundary="_000_CH3PR84MB3734A9EDD83A7349A64B843DBEC02CH3PR84MB3734NAMP_"

--_000_CH3PR84MB3734A9EDD83A7349A64B843DBEC02CH3PR84MB3734NAMP_
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

Hi,

We are using FO2DOCX to generate Docx output from FO files. We want to prin=
t total page count in the footer as "Page X of Y". We tried <fo:page-number=
-citation-last/> but this does not seem to be supported by XFC.

Can you please let us know how to generate total page count in Docx output?

Best Regards,
Uma Shankar M
Software Engineering Sr. Manager
Authoring Tools - Knowledge Engineering

Mobile: + 91 99801 22551 =95 Desk: + 91 80 3081 5221
www.juniper.net/documentation<http://www.juniper.net/documentation>


--_000_CH3PR84MB3734A9EDD83A7349A64B843DBEC02CH3PR84MB3734NAMP_
Content-Type: text/html; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DWindows-1=
252">
<style type=3D"text/css" style=3D"display:none;"> P {margin-top:0;margin-bo=
ttom:0;} </style>
</head>
<body dir=3D"ltr">
<div class=3D"elementToProof" style=3D"font-family: &quot;HPE Graphik&quot;=
; font-size: 11pt; color: rgb(0, 36, 81);">
Hi,</div>
<div class=3D"elementToProof" style=3D"font-family: &quot;HPE Graphik&quot;=
; font-size: 11pt; color: rgb(0, 36, 81);">
<br>
</div>
<div class=3D"elementToProof" style=3D"line-height: 20px; font-family: &quo=
t;HPE Graphik&quot;; font-size: 11pt; color: rgb(0, 36, 81);">
We are using FO2DOCX to generate Docx output from FO files. We want to prin=
t total page count in the footer as &quot;Page X of Y&quot;. We tried &lt;f=
o:page-number-citation-last/&gt; but this does not seem to be supported by =
XFC.</div>
<div class=3D"elementToProof" style=3D"line-height: 20px; font-family: &quo=
t;HPE Graphik&quot;; font-size: 11pt; color: rgb(0, 36, 81);">
<br>
</div>
<div class=3D"elementToProof" style=3D"line-height: 20px; font-family: &quo=
t;HPE Graphik&quot;; font-size: 11pt; color: rgb(0, 36, 81);">
Can you please let us know how to generate total page count in Docx output?=
&nbsp;</div>
<div id=3D"Signature" class=3D"elementToProof">
<div class=3D"elementToProof" style=3D"font-family: &quot;HPE Graphik&quot;=
; font-size: 11pt; color: rgb(0, 36, 81);">
<br>
</div>
<div class=3D"elementToProof" style=3D"text-align: left; text-indent: 0px; =
background-color: rgb(255, 255, 255); margin: 0px; font-family: &quot;Palat=
ino Linotype&quot;; font-size: 13.3333px; color: maroon;">
Best Regards,</div>
<div class=3D"elementToProof" style=3D"text-align: left; text-indent: 0px; =
background-color: rgb(255, 255, 255); margin: 0px; font-family: &quot;Bookm=
an Old Style&quot;; font-size: 13.5pt; color: purple;">
Uma Shankar M</div>
<div class=3D"elementToProof" style=3D"text-align: left; text-indent: 0px; =
background-color: rgb(255, 255, 255); margin: 0px; font-family: Lato; font-=
size: 13.3333px; color: rgb(0, 32, 96);">
<b>Software Engineering Sr. Manager</b></div>
<div class=3D"elementToProof" style=3D"text-align: left; text-indent: 0px; =
background-color: rgb(255, 255, 255); margin: 0px; font-size: 13.3333px; co=
lor: rgb(0, 32, 96);">
<span style=3D"font-family: Lato;"><b>Authoring Tools - Knowledge </b></spa=
n><span style=3D"font-family: &quot;Aptos Mono&quot;, Aptos_EmbeddedFont, A=
ptos_MSFontService, monospace;"><b>Engineering</b></span></div>
<div class=3D"elementToProof" style=3D"text-align: left; text-indent: 0px; =
background-color: rgb(255, 255, 255); margin: 0px; font-family: Aptos; font=
-size: 11pt; color: rgb(0, 32, 96);">
&nbsp;</div>
<div class=3D"elementToProof" style=3D"text-align: left; text-indent: 0px; =
background-color: rgb(255, 255, 255); margin: 0px; font-family: Lato;">
<span style=3D"font-size: 9pt; color: rgb(68, 68, 68);">Mobile: + 91 99801 =
22551&nbsp;=95&nbsp;Desk: + 91 80 3081 5221&nbsp;<br>
</span><span style=3D"font-size: 11pt; color: blue;"><a href=3D"http://www.=
juniper.net/documentation" title=3D"http://www.juniper.net/documentation" s=
tyle=3D"margin: 0px;"><u>www.juniper.net/documentation</u></a></span></div>
<div class=3D"elementToProof" style=3D"font-family: Aptos, Aptos_EmbeddedFo=
nt, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; c=
olor: rgb(0, 0, 0);">
<br>
</div>
</div>
</body>
</html>

--_000_CH3PR84MB3734A9EDD83A7349A64B843DBEC02CH3PR84MB3734NAMP_--

--===============3545479728102189226==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


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

--===============3545479728102189226==--