https://bugs.freedesktop.org/show_bug.cgi?id=49268
Andras Timar <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| |EasyHack DifficultyEasy | |SkillCpp --- Comment #1 from Andras Timar <[email protected]> 2012-06-18 12:34:35 PDT --- There are quite a few occurences of this problem, I quickly grepped the source form them using xml_grep from Perl XML::Twig package. timar@timar-corei7:~/libreoffice-master/helpcontent2/source/text> for i in `find . -name \*.xhp`;do xml_grep 'ahelp' $i;done | grep ahelp | grep switchinline The problem is that the ahelp content is simply dumped into a string, i.e. all xml tags are removed. See: http://opengrok.libreoffice.org/xref/core/l10ntools/source/help/HelpCompiler.cxx#384 Instead of dump(), help compiler should look for switchinline tag, because all information is available in compile time. We know the target platform and we even know the target application, because there are separate target .ht files for each application (swriter.ht, sdraw.ht etc.). So it is an easy hack to write a dumpht() function, that can parse switchinline tag. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ Libreoffice-bugs mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
