https://issues.apache.org/ooo/show_bug.cgi?id=119621
Yolanda Zhang Ying <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #78039| |review? Flags| | --- Comment #2 from Yolanda Zhang Ying <[email protected]> --- Created attachment 78039 --> https://issues.apache.org/ooo/attachment.cgi?id=78039&action=edit fix the issue for TOC import - writerfilter\source\dmapper\DomainMapper_Impl.cxx This part of code used to fix the issue for TOC import. In TOC field code, the '\o' means using outline level as TOC entry, and a range will follow up to define the show levels, e.g. "TOC \o "1-3" \h", and "1-3" means to show from Level 1 to Level 3, and if no range defines, it means to show all levels. AOO failed to handle the scenario that no range follow up the \o, and no content be shown in TOC for opened document. This code fix the issues mentioned above. -- You are receiving this mail because: You are the assignee for the bug.
