Hi Sagar,
On Mon, 2012-09-24 at 08:52 +0300, Sagar Srivastava wrote:
Consider the following file :
filter/source/pdf/impdialog.cxx
Ok ? :-)
Is there any way I can check if the source document is a Presentation
Document. It is already checked in the following method :
Right - that is the constructor; and has all you need in it to do
this :-)
However, I need to use the value of "mbIsPresentation" (After being
checked If the source document is a presentation document) in another
method. Therefore, any mechanism through which I can find this value
globally so that I could use it in another method.
The prefix 'm' indicates that this is a member variable (and a boolean)
- if you checkout the header and see:
//class tabbed dialog
class ImpPDFTabDialog : public SfxTabDialog
{
...
protected:
//the following data are the configuration used throughout the dialog and pages
sal_Bool mbIsPresentation;
sal_Bool mbIsWriter;
That should jump out at you. ie. you can use 'if (mbIsPresentation)'
in any of the ImplPDFTabDialog:: member functions that you like.
Waiting for responses towards fixing another bug.
Hope that helps - sorry for the delay :-)
ATB,
Michael.
--
michael.meeks@suse.com <><, Pseudo Engineer, itinerant idiot
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.