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
}
]
}
]
}
}