Hello Olivier,<br><br>the header/footer information are stored in a ScPageHFItem, which is a SfxPoolItem.<br><br>Then for printing the following function might be interesting: <a href="http://opengrok.libreoffice.org/xref/core/sc/source/ui/view/printfun.cxx#1757" target="_blank">http://opengrok.libreoffice.org/xref/core/sc/source/ui/view/printfun.cxx#1757</a> and the whole class ScPrintFunc. I think setting a breakpoint in ScPrintFunc::PrintHF and having a look at the backtrace and what happens in this method will bring you in the right direction.<br>
<br>If this won&#39;t help you feel free to ask again.<br>
<br>Regards,<br>Markus<br><br><div class="gmail_quote">2011/8/16 Olivier Hallot <span dir="ltr">&lt;<a href="mailto:olivier.hallot@documentfoundation.org" target="_blank">olivier.hallot@documentfoundation.org</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi<br>Can one of the Masters of the Code tell me where should I start digging to fix bug 40113 (spreadsheet header/footer backgorund image/color does not show).<br clear="all">Thanks in advance.<br><font color="#888888">-- <br>

Olivier Hallot<br>
Founder and Steering Commitee Member<br>The Document Foundation<br><br>
</font><br>_______________________________________________<br>
LibreOffice mailing list<br>
<a href="mailto:LibreOffice@lists.freedesktop.org" target="_blank">LibreOffice@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/libreoffice" target="_blank">http://lists.freedesktop.org/mailman/listinfo/libreoffice</a><br>
<br></blockquote></div><br>