Close all opened List elements at the end of the page
Change-Id: I7c1e11ec57537441417f6b1cebe137587883d8c1 Reviewed-on: https://gerrit.libreoffice.org/69259 Tested-by: Jenkins Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
This commit is contained in:
parent
a0fd6c4d1e
commit
05f5c18959
@ -1338,6 +1338,14 @@ namespace drawinglayer
|
|||||||
// add MetaFile comment, process recursively and add MetaFile comment
|
// add MetaFile comment, process recursively and add MetaFile comment
|
||||||
mpMetaFile->AddAction(new MetaCommentAction(aCommentStringA));
|
mpMetaFile->AddAction(new MetaCommentAction(aCommentStringA));
|
||||||
process(rBlockPrimitive);
|
process(rBlockPrimitive);
|
||||||
|
|
||||||
|
if (mnCurrentOutlineLevel >= 0 )
|
||||||
|
{
|
||||||
|
// end any opened List structure elements
|
||||||
|
for(sal_Int16 i(0); i <= mnCurrentOutlineLevel; ++i)
|
||||||
|
mpPDFExtOutDevData->EndStructureElement();
|
||||||
|
}
|
||||||
|
|
||||||
mpMetaFile->AddAction(new MetaCommentAction(aCommentStringB));
|
mpMetaFile->AddAction(new MetaCommentAction(aCommentStringB));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user