This commit is contained in:
Green
2025-02-03 05:25:55 +03:00
parent 70b40c46d2
commit bf15325a9e

View File

@ -2049,6 +2049,11 @@ void CConverter2OOXML::WriteAutoNumber(const CCtrlAutoNumber* pAutoNumber,short
switch (pAutoNumber->GetNumType())
{
case ENumType::PAGE:
{
OpenParagraph(shParaShapeID, oBuilder, oState);
oBuilder.WriteString(L"<w:fldSimple w:instr=\"PAGE \\* ARABIC\"><w:r><w:t>1</w:t></w:r></w:fldSimple>");
return;
}
case ENumType::TOTAL_PAGE:
ushValue = m_ushPageCount; break;
case ENumType::FOOTNOTE: