Weekly report about character border

Zolnai Tamás zolnaitamas2000 at gmail.com
Mon Jul 1 02:38:51 PDT 2013


Hi, Cedric,

>   - How does the system store attributes? (SwFmt, SwAttrSet,
> > SwAttrStack)
>
> You got the proper classes. If you need some help to debug the
> SfxItemSet, you can have a look at my old gdbinit here (function
> dump_psfxitemset):
>
>
> http://cgit.freedesktop.org/libreoffice/build/plain/scratch/writer/gdbinit-cbosdo?h=libreoffice-3-4
>

Thanks, It will helpful.


> >   - How does layout frame work? How does frame hierarchy look like?
> > How to calculate the border properties of the current frame?
> > (SwBorderAttr)
>
> Do you know this wiki page explaining quite a lot of things?
> http://wiki.openoffice.org/wiki/Writer/Core_And_Layout
>

Yes, I got it. But at first I follow the trace of the existent character
attributes like background and overlining and that's how I got to fonts.
But the time comes to learn more about layout.


> Characters are at a lower level as these are SwLinePortions. You can
> also debug that by exporting SW_DEBUG=t, open a sample document, and
> press F12: that will dump a layout.xml in $PWD. This layout.xml will
> show you quite a lot of informations on the layout structure. (Shift+F12
> will do the same with a nodes.xml showing the model structure).
>

Oh, it is nice. I will try it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20130701/214ec23c/attachment.html>


More information about the LibreOffice mailing list