Re: [Libreoffice] need some explaination on formatclipboard.[hc]xx
Hi Maxime, On Wed, 2011-11-16 at 18:50 +0100, Maxime de Roucy wrote: I would like to understand how writer format paintbrush. I think it bug on some case and I would like to write a patch, but I am new at libreoffice developpement. I managed to locate via gdb the format paintbrush classe in formatclipboard.hxx. I understand basically how it work but it would be easier if someone could explain me what is the SfxItemSet : m_pItemSet and m_pTableItemSet. An SfxItemSet is a set of properties. This is used to store all the formatting properties all over LibreOffice. You can find a gdb function to see what is inside an SfxItemSet here (dump_pSfxItemSet): http://cgit.freedesktop.org/libreoffice/build/tree/scratch/writer/gdbinit-cbosdo I hope this helps, -- Cédric Bosdonnat LibreOffice hacker http://documentfoundation.org OOo Eclipse Integration developer http://cedric.bosdonnat.free.fr ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] need some explaination on formatclipboard.[hc]xx
Hello Le jeudi 17 novembre 2011 à 09:31 +0100, Cedric Bosdonnat a écrit : An SfxItemSet is a set of properties. This is used to store all the formatting properties all over LibreOffice. You can find a gdb function to see what is inside an SfxItemSet here (dump_pSfxItemSet): http://cgit.freedesktop.org/libreoffice/build/tree/scratch/writer/gdbinit-cbosdo I hope this helps, Thanks a lot for your help ! I found the bug on the content.xml file (problem with style:text-properties in style of paragraph family that aren't well handle) I will try to patch the code, but for the moment I will fill a bug report. Thank you again -- Maxime de Roucy Groupe LINAGORA - OSSA 80 rue Roque de Fillol 92800 PUTEAUX Tel. : 0 810 251 251 signature.asc Description: This is a digitally signed message part ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
[Libreoffice] need some explaination on formatclipboard.[hc]xx
Hello I would like to understand how writer format paintbrush. I think it bug on some case and I would like to write a patch, but I am new at libreoffice developpement. I managed to locate via gdb the format paintbrush classe in formatclipboard.hxx. I understand basically how it work but it would be easier if someone could explain me what is the SfxItemSet : m_pItemSet and m_pTableItemSet. Thank you in advance -- Maxime de Roucy Groupe LINAGORA - OSSA 80 rue Roque de Fillol 92800 PUTEAUX Tel. : 0 810 251 251 signature.asc Description: This is a digitally signed message part ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice