mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-04-07 13:55:33 +08:00
Get headings as an array
Get headings as an array with levels and convert to tree
This commit is contained in:
@ -2477,7 +2477,7 @@ void CreateOutlines(PdfWriter::CDocument* m_pDocument, const std::vector<CHeadin
|
||||
if (pDest)
|
||||
{
|
||||
pOutline->SetDestination(pDest);
|
||||
pDest->SetXYZ(arrHeadings[i].dX, arrHeadings[i].dY, 0);
|
||||
pDest->SetXYZ(0, arrHeadings[i].dY, 0);
|
||||
}
|
||||
CreateOutlines(m_pDocument, arrHeadings[i].arrHeading, pOutline);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user