<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>Hi, Cedric,<br></div><div></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">

>   - How does the system store attributes? (SwFmt, SwAttrSet,<br>
> SwAttrStack)<br>
<br>
</div>You got the proper classes. If you need some help to debug the<br>
SfxItemSet, you can have a look at my old gdbinit here (function<br>
dump_psfxitemset):<br>
<br>
<a href="http://cgit.freedesktop.org/libreoffice/build/plain/scratch/writer/gdbinit-cbosdo?h=libreoffice-3-4" target="_blank">http://cgit.freedesktop.org/libreoffice/build/plain/scratch/writer/gdbinit-cbosdo?h=libreoffice-3-4</a><br>
<div class="im"></div></blockquote><div><br></div><div>Thanks, It will helpful.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
>   - How does layout frame work? How does frame hierarchy look like?<br>
> How to calculate the border properties of the current frame?<br>
> (SwBorderAttr)<br>
<br>
</div>Do you know this wiki page explaining quite a lot of things?<br>
<a href="http://wiki.openoffice.org/wiki/Writer/Core_And_Layout" target="_blank">http://wiki.openoffice.org/wiki/Writer/Core_And_Layout</a><br></blockquote><div><br></div><div>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.<br>
 </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Characters are at a lower level as these are SwLinePortions. You can<br>
also debug that by exporting SW_DEBUG=t, open a sample document, and<br>
press F12: that will dump a layout.xml in $PWD. This layout.xml will<br>
show you quite a lot of informations on the layout structure. (Shift+F12<br>
will do the same with a nodes.xml showing the model structure).<br>
</blockquote><div><br></div><div>Oh, it is nice. I will try it. <br></div></div><br></div></div>