<div dir="ltr">Dear All,<br><div class="gmail_quote"><div dir="ltr"><br>Greetings of the day !!!<br><br>In the following file : <br><br><b><span style="background-color:rgb(153,255,153)">filter/source/pdf/impdialog.cxx</span></b><br>

<br>Check out the piece of code inside the following method : <br>
<br><i><span style="background-color:rgb(255,255,204)">ImpPDFTabGeneralPage::ImpPDFTabGeneralPage( Window* pParent,</span><br style="background-color:rgb(255,255,204)"><span style="background-color:rgb(255,255,204)">                                            const SfxItemSet& rCoreSet</span><br style="background-color:rgb(255,255,204)">


<span style="background-color:rgb(255,255,204)">                                            ) :</span><br style="background-color:rgb(255,255,204)"><span style="background-color:rgb(255,255,204)">    SfxTabPage( pParent, PDFFilterResId( RID_PDF_TAB_GENER ), rCoreSet ),</span><br style="background-color:rgb(255,255,204)">


<br style="background-color:rgb(255,255,204)"><span style="background-color:rgb(255,255,204)">    maFlPages( this, PDFFilterResId( FL_PAGES ) ),</span><br style="background-color:rgb(255,255,204)"><span style="background-color:rgb(255,255,204)">    maRbAll( this, PDFFilterResId( RB_ALL ) ),</span><br style="background-color:rgb(255,255,204)">


<b><span style="background-color:rgb(255,204,0)">    maRbRange( this, PDFFilterResId( RB_RANGE ) ),</span></b><br style="background-color:rgb(255,255,204)"><span style="background-color:rgb(255,255,204)">    maRbSelection( this, PDFFilterResId( RB_SELECTION ) ),</span><br style="background-color:rgb(255,255,204)">


<span style="background-color:rgb(255,255,204)">    maEdPages( this, PDFFilterResId( ED_PAGES ) ),</span></i><br><br>Requirement :<br><br>I want to change the macro "<b><span style="background-color:rgb(255,204,102)">RB_RANGE</span></b>" to another e.g. <b><span style="background-color:rgb(255,204,102)">RB_RANGE_IMPRESS</span></b>  at runtime, if the source document is a presentation document implying <br>


"<b><span style="background-color:rgb(255,204,204)">if (mbIsPresentation)</span></b>".<br><br>Any Idea for it ???<br><br>I didn't find any mechanism to change the macro at runtime yet.<br><br>This would be the last step towards fixing another bug.<br>


<br>Looking forward for your positive response asap .<br style="background-color:rgb(255,255,204)"><br style="background-color:rgb(255,255,204)" clear="all">Take Care.<br>BByee :)<span><font color="#888888"><br>
<br>-- <br><div dir="ltr">Thanks and Regards,<br>
<br><span style="font-family:Arial"><span style="font-weight:bold">Sagar Srivastava<br>
</span>+966568449867<span style="font-weight:bold"><br>
</span></span><font face="Tahoma" color="black"><span dir="ltr" style="font-size:10pt">Motah Program, KACST<br>
<a href="http://www.motah.org.sa" target="_blank">http://www.motah.org.sa</a> </span></font><br></div></font></span>
</div></div></div>