Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


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

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.