Wrong page number when number of page more than 10

Hi, I had problem with page number. When number of page < 10, it's ok. But when number of page > 10. it's have problem.


And this is footer code.

"headersFooters": {

        "footer": {

          "blocks": [

            {

              "paragraphFormat": {

                "styleName": "Footer",

                "listFormat": {},

                "tabs": [

                  {

                    "position": 0,

                    "deletePosition": 234,

                    "tabJustification": "Left",

                    "tabLeader": "None"

                  }

                ]

              },

              "characterFormat": {

                "fontFamily": "Times New Roman"

              },

              "inlines": [

                {

                  "characterFormat": {

                    "fontFamily": "Times New Roman"

                  },

                  "text": ""

                },

                {

                  "characterFormat": {

                    "fontFamily": "Times New Roman"

                  },

                  "text": "\t"

                },

                {

                  "characterFormat": {

                    "fontFamily": "Times New Roman"

                  },

                  "text": ""

                },

                {

                  "characterFormat": {},

                  "fieldType": 0,

                  "hasFieldEnd": true

                },

                {

                  "characterFormat": {

                    "bold": true,

                    "italic": false,

                    "fontSize": "12",

                    "fontFamily": "Times New Roman"

                  },

                  "text": " PAGE \\* MERGEFORMAT "

                },

                {

                  "characterFormat": {},

                  "fieldType": 2

                },

                {

                  "characterFormat": {

                    "bold": true,

                    "italic": false,

                    "fontSize": "12",

                    "fontFamily": "Times New Roman"

                  },

                  "text": "1"

                },

                {

                  "characterFormat": {},

                  "fieldType": 1

                }

              ]

            }

          ]

        },

        "evenFooter": {

          "blocks": [

            {

              "paragraphFormat": {

                "styleName": "Footer",

                "listFormat": {},

                "tabs": [

                  {

                    "position": 0,

                    "deletePosition": 234,

                    "tabJustification": "Left",

                    "tabLeader": "None"

                  }

                ]

              },

              "characterFormat": {

                "fontFamily": "Times New Roman"

              },

              "inlines": [

                {

                  "characterFormat": {

                    "fontFamily": "Times New Roman"

                  },

                  "text": ""

                },

                {

                  "characterFormat": {

                    "fontFamily": "Times New Roman"

                  },

                  "text": "\t"

                },

                {

                  "characterFormat": {

                    "fontFamily": "Times New Roman"

                  },

                  "text": ""

                },

                {

                  "characterFormat": {},

                  "fieldType": 0,

                  "hasFieldEnd": true

                },

                {

                  "characterFormat": {

                    "bold": true,

                    "italic": false,

                    "fontSize": "12",

                    "fontFamily": "Times New Roman"

                  },

                  "text": " PAGE \\* MERGEFORMAT "

                },

                {

                  "characterFormat": {},

                  "fieldType": 2

                },

                {

                  "characterFormat": {

                    "bold": true,

                    "italic": false,

                    "fontSize": "12",

                    "fontFamily": "Times New Roman"

                  },

                  "text": "1"

                },

                {

                  "characterFormat": {},

                  "fieldType": 1

                }

              ]

            }

          ]

        },

        "firstPageFooter": {

          "blocks": [

            {

              "paragraphFormat": {

                "styleName": "Footer",

                "listFormat": {},

                "tabs": [

                  {

                    "position": 0,

                    "deletePosition": 234,

                    "tabJustification": "Left",

                    "tabLeader": "None"

                  }

                ]

              },

              "characterFormat": {

                "fontFamily": "Times New Roman"

              },

              "inlines": [

                {

                  "characterFormat": {

                    "fontFamily": "Times New Roman"

                  },

                  "text": ""

                },

                {

                  "characterFormat": {

                    "fontFamily": "Times New Roman"

                  },

                  "text": "\t"

                },

                {

                  "characterFormat": {

                    "fontFamily": "Times New Roman"

                  },

                  "text": ""

                },

                {

                  "characterFormat": {},

                  "fieldType": 0,

                  "hasFieldEnd": true

                },

                {

                  "characterFormat": {

                    "bold": true,

                    "italic": false,

                    "fontSize": "12",

                    "fontFamily": "Times New Roman"

                  },

                  "text": " PAGE \\* MERGEFORMAT "

                },

                {

                  "characterFormat": {},

                  "fieldType": 2

                },

                {

                  "characterFormat": {

                    "bold": true,

                    "italic": false,

                    "fontSize": "12",

                    "fontFamily": "Times New Roman"

                  },

                  "text": "1"

                },

                {

                  "characterFormat": {},

                  "fieldType": 1

                }

              ]

            }

          ]


        }

      }



1 Reply

KB Kurthis Banu Abdul Majeeth Syncfusion Team November 29, 2021 05:14 AM UTC

Hi Lee, 

Thanks for contacting Syncfusion support. 

We have cross checked your reported issue. We need some additional information for your reported issue. So, could you please share the input document which is used on your end?   

This will be more helpful to reproduce the same issue at our end. Thereby, we will proceed further on the reported issue and provide you the appropriate solution at the earliest.   

Note: If you have any confidential data in your document, please replace with some dummy data and provide us the same. We just need your document to recreate the problem you face.   

Regards,  
Kurthis Banu A.  


Loader.
Up arrow icon