[Libreoffice-bugs] [Bug 132770] Underline words from HTML document do not appear
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Thu May 7 23:13:22 UTC 2020
https://bugs.documentfoundation.org/show_bug.cgi?id=132770
--- Comment #1 from Konstantin Kharlamov <hi-angel at yandex.ru> ---
I have debugged this for a bit, to give some update: it looks like LO Writer
has support for <ins> tag. So what happens here seems to be an actual bug (I
mean, missing support for basic tag would be one too, but it could've been
fixed much easier).
At the moment I figured that the difference between when "italic" and
"underline" are parsed is the content of `pCFormat` being assigned as:
SwCharFormat* pCFormat = m_pCSS1Parser->GetChrFormat( nToken, aClass );
Its field pCFormat->m_aSet has 3 members in case of italic:
11 = {
<SfxEnumItem<FontItalic>> = {
<SfxEnumItemInterface> = {
<SfxPoolItem> = {
_vptr.SfxPoolItem = 0x7ff263673c70 <vtable for
SvxPostureItem+16>,
m_nRefCount = 2,
m_nWhich = 11,
m_nKind = SfxItemKind::NONE
}, <No data fields>},
members of SfxEnumItem<FontItalic>:
m_nValue = ITALIC_NORMAL
}, <No data fields>},
…
25 = {
<SfxEnumItem<FontItalic>> = {
<SfxEnumItemInterface> = {
<SfxPoolItem> = {
_vptr.SfxPoolItem = 0x7ff263673c70 <vtable for
SvxPostureItem+16>,
m_nRefCount = 2,
m_nWhich = 25,
m_nKind = SfxItemKind::NONE
}, <No data fields>},
members of SfxEnumItem<FontItalic>:
m_nValue = ITALIC_NORMAL
}, <No data fields>},
26 = 0x0,
…
29 = 0x0,
30 = {
<SfxEnumItem<FontItalic>> = {
<SfxEnumItemInterface> = {
<SfxPoolItem> = {
_vptr.SfxPoolItem = 0x7ff263673c70 <vtable for
SvxPostureItem+16>,
m_nRefCount = 2,
m_nWhich = 30,
m_nKind = SfxItemKind::NONE
}, <No data fields>},
members of SfxEnumItem<FontItalic>:
m_nValue = ITALIC_NORMAL
}, <No data fields>},
But in case of underlined it is all zeroes. Not sure just yet what to make of
it.
Doesn't help though is that gdb is like trying to explode while loading the
office. It quickly grew to 2.2GB and hanged for 5 minutes on printing the
field, so I had to -SIGKILL it in the end. I am wondering if it can be cause by
pretty-printers of LibreOffice and whatnot. Does gdb load them by default?
Gotta check that out, I've never seen such behavior with gdb before.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200507/6329a48d/attachment.htm>
More information about the Libreoffice-bugs
mailing list