[Libreoffice-bugs] [Bug 35155] No character border

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Mar 14 10:40:42 CET 2011


https://bugs.freedesktop.org/show_bug.cgi?id=35155

--- Comment #3 from Cédric Bosdonnat <cedric.bosdonnat.ooo at free.fr> 2011-03-14 02:40:42 PDT ---
The feature doesn't exist in LibreOffice. The idea here is to be able to add
borders around some characters as this can be done around paragraphs. This can
be perceived as an interop problem with MSO Word or HTML.

The feature consist in having the following equivalent of HTML:
<p>Some sample with <span style="border: thin solid red;">char</span>
borders</p>

The feature isn't trivial to implement and I'm wondering how many users it
would make happy... I mean is it worth the pain?

What would need to be done:
  * Hack the core to add one more character attribute [0]
  * Hack the UI to be able to use the feature [1]
  * Hack the layout to actually draw the borders [2]
  * Hack the filters to support the feature (ODF, WW8, DOCX, HTML, and maybe
others)
  * Propose an ODF enhancement as borders attributes aren't valid for
<style:text-properties> element.

[0] http://opengrok.libreoffice.org/xref/writer/sw/inc/hintids.hxx
[1] http://opengrok.libreoffice.org/xref/writer/sw/source/ui/chrdlg/chardlg.cxx
[2]
http://opengrok.libreoffice.org/xref/writer/sw/source/core/layout/paintfrm.cxx.

Happy hacking to the one who picks this one (and contact me to get more code
pointers)

-- 
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