[Libreoffice-bugs] [Bug 30732] [EasyHack] Character formatting not retained in entries of TOC, table lists, etc.
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Apr 11 02:49:08 PDT 2011
https://bugs.freedesktop.org/show_bug.cgi?id=30732
--- Comment #7 from ryan.jendoubi at gmail.com <ryan.jendoubi at gmail.com> 2011-04-11 02:49:08 PDT ---
http://opengrok.libreoffice.org/xref/writer/sw/source/core/doc/doctxm.cxx#1248
This seems to be where the text of the heading is pulled from the document and
put into the TOX (for TOX_OUTLINELEVEL anyway):
SwTxtNode* pTxtNd = rOutlNds[ n ]->GetTxtNode();
<snip>
SwTOXPara * pNew = new SwTOXPara( *pTxtNd, sSwTOXElement::TOX_OUTLINELEVEL );
InsertSorted( pNew );
I'm still taking baby steps into the code but is the problem that SwTxtNodes
lost their formatting? Solution to get a SwCntntNode instead and perform
suitable style cleanup manually? Is this anywhere near the right track?
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Libreoffice-bugs
mailing list