Need some direction / Guidance

Sagar Srivastava sagar.libo at gmail.com
Tue Sep 18 23:03:48 PDT 2012


Dear All,

Greetings of the day !!!

In the following file :

*filter/source/pdf/impdialog.cxx*

Check out the piece of code inside the following method :

*ImpPDFTabGeneralPage::ImpPDFTabGeneralPage( Window* pParent,
                                            const SfxItemSet& rCoreSet
                                            ) :
    SfxTabPage( pParent, PDFFilterResId( RID_PDF_TAB_GENER ), rCoreSet ),

    maFlPages( this, PDFFilterResId( FL_PAGES ) ),
    maRbAll( this, PDFFilterResId( RB_ALL ) ),
    maRbRange( this, PDFFilterResId( RB_RANGE ) ),
    maRbSelection( this, PDFFilterResId( RB_SELECTION ) ),
    maEdPages( this, PDFFilterResId( ED_PAGES ) ),*

Requirement :

I want to change the macro "*RB_RANGE*" to another e.g. *RB_RANGE_IMPRESS*
at runtime, if the source document is a presentation document implying
"*if (mbIsPresentation)*".

Any Idea for it ???

I didn't find any mechanism to change the macro at runtime yet.

This would be the last step towards fixing another bug.

Looking forward for your positive response asap .

Take Care.
BByee :)

-- 
Thanks and Regards,

Sagar Srivastava
+966568449867
Motah Program, KACST
http://www.motah.org.sa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20120919/d89051cd/attachment.html>


More information about the LibreOffice mailing list