diff options
Diffstat (limited to 'sd/source/ui/toolpanel/controls/MasterPageDescriptor.hxx')
-rw-r--r-- | sd/source/ui/toolpanel/controls/MasterPageDescriptor.hxx | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/sd/source/ui/toolpanel/controls/MasterPageDescriptor.hxx b/sd/source/ui/toolpanel/controls/MasterPageDescriptor.hxx index 0bbd4cc3773b..f89cc9612be4 100644 --- a/sd/source/ui/toolpanel/controls/MasterPageDescriptor.hxx +++ b/sd/source/ui/toolpanel/controls/MasterPageDescriptor.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -71,7 +71,7 @@ public: ::std::auto_ptr<std::vector<MasterPageContainerChangeEvent::EventType> > Update ( const MasterPageDescriptor& rDescriptor); - + /** This convenience method returns either a small or a large preview, depending on the given size specifier. Note that the previews are not created when they are not present. @@ -82,18 +82,18 @@ public: /** Use the PreviewProvider to get access to a preview of the master page. - + Note that this is only done, when either bForce is <TRUE/> or the PreviewProvider::GetCostIndex() returns 0. - + The small preview is created by scaling the large one, not by calling PreviewProvider::operator() a second time. - + It is the responsibility of the caller to call UpdatePageObject() before calling this method when the PreviewProvider can only work when the master page object is present, i.e. its NeedsPageObject() method returns <TRUE/>. - + @param nCostThreshold When this is zero or positive then the preview is created only when the preview provider has a cost equal to or smaller than @@ -116,7 +116,7 @@ public: ::sd::PreviewRenderer& rRenderer); /** Use the PageObjectProvider to get access to the master page object. - + Note that this is only done, when either bForce is <TRUE/> or the PreviewProvider::GetCostIndex() returns 0. @@ -146,7 +146,7 @@ public: }; URLClassification GetURLClassification (void); - + /** The Token under which the MasterPageContainer gives access to the object. */ @@ -155,16 +155,16 @@ public: /** A rough specification of the origin of the master page. */ MasterPageContainer::Origin meOrigin; - + /** The URL is not empty for master pages loaded from a template document. */ ::rtl::OUString msURL; - + /** Taken from the title of the template file. */ ::rtl::OUString msPageName; - + /** Taken from the master page object. */ ::rtl::OUString msStyleName; @@ -174,17 +174,17 @@ public: /** The actual master page. */ SdPage* mpMasterPage; - + /** A slide that uses the master page. */ SdPage* mpSlide; - + /** A small (the default size) preview of the master page. May be empty. When this smaller preview is not empty then the larger one is not empty, too. */ Image maSmallPreview; - + /** A large preview of the master page. May be empty. When this larger preview is not empty then the smaller one is not empty, too. */ @@ -199,7 +199,7 @@ public: the lifetime of a MasterPageDescriptor object. */ ::boost::shared_ptr<PageObjectProvider> mpPageObjectProvider; - + /** This index represents the order in which templates are provided via the TemplateScanner. It defines the order in which the entries in the AllMasterPagesSelector are displayed. The default value is -1. |