diff options
Diffstat (limited to 'sd/source/ui/inc')
21 files changed, 31 insertions, 31 deletions
diff --git a/sd/source/ui/inc/AccessibleDocumentViewBase.hxx b/sd/source/ui/inc/AccessibleDocumentViewBase.hxx index 921fa1e12abf..b445fac25661 100644 --- a/sd/source/ui/inc/AccessibleDocumentViewBase.hxx +++ b/sd/source/ui/inc/AccessibleDocumentViewBase.hxx @@ -82,7 +82,7 @@ namespace accessibility { <li>As window listener it waits for changes of the window geometry and forwards those as view forwarder changes.</li> <li>As focus listener it keeps track of the focus to give this class and - derived classes the oportunity to set and remove the focus to/from + derived classes the opportunity to set and remove the focus to/from shapes.</li> </ol> </p> @@ -137,7 +137,7 @@ public: //===== IAccessibleViewForwarderListener ================================ /** A view forwarder change is signalled for instance when any of the - window events is recieved. Thus, instead of overloading the four + window events is received. Thus, instead of overloading the four windowResized... methods it will be sufficient in most cases just to overload this method. */ diff --git a/sd/source/ui/inc/AccessibleViewForwarder.hxx b/sd/source/ui/inc/AccessibleViewForwarder.hxx index 2d6e9b4ae047..b7e4f715423f 100644 --- a/sd/source/ui/inc/AccessibleViewForwarder.hxx +++ b/sd/source/ui/inc/AccessibleViewForwarder.hxx @@ -41,7 +41,7 @@ namespace accessibility { @attention Note, that modifications of the underlying view that lead to different transformations between internal and screen coordinates or - change the validity of the forwarder have to be signaled seperately. + change the validity of the forwarder have to be signaled separately. */ class AccessibleViewForwarder : public IAccessibleViewForwarder diff --git a/sd/source/ui/inc/DrawViewShell.hxx b/sd/source/ui/inc/DrawViewShell.hxx index 56fdcbb3a511..4ca0f55409c7 100644 --- a/sd/source/ui/inc/DrawViewShell.hxx +++ b/sd/source/ui/inc/DrawViewShell.hxx @@ -470,7 +470,7 @@ private: a) it is running in its own frame, i.e. is a full screen show and b) the given flag bCloseFrame is true. @param bCloseFrame - Be carefull with this flag when stopping a full screen show. + Be careful with this flag when stopping a full screen show. When called from the destructor the flag has to be <false/> or otherwise we run into a loop of calls to destructors of the view and the frame. diff --git a/sd/source/ui/inc/OutlineView.hxx b/sd/source/ui/inc/OutlineView.hxx index 3bcd3f2239e5..2c6269e872d4 100644 --- a/sd/source/ui/inc/OutlineView.hxx +++ b/sd/source/ui/inc/OutlineView.hxx @@ -150,7 +150,7 @@ public: /** After this method has been called with <true/> following changes of the current page are ignored in that the corresponding text is not selected. - This is used to supress unwanted side effects between selection and + This is used to suppress unwanted side effects between selection and cursor position. */ void IgnoreCurrentPageChanges (bool bIgnore); diff --git a/sd/source/ui/inc/OutlinerIteratorImpl.hxx b/sd/source/ui/inc/OutlinerIteratorImpl.hxx index 11e2c586be40..f030938b1baf 100644 --- a/sd/source/ui/inc/OutlinerIteratorImpl.hxx +++ b/sd/source/ui/inc/OutlinerIteratorImpl.hxx @@ -98,7 +98,7 @@ public: When both iterators ar equal <true/> is returned, <false/> otherwise. */ virtual bool operator== (const IteratorImplBase& rIterator) const; - /** This method is used by the equality operator. Additionaly to the + /** This method is used by the equality operator. Additionally to the iterator it takes a type information which is taken into account on comparison. It is part of a "multimethod" pattern. @param rIterator @@ -220,7 +220,7 @@ protected: void SetPage (sal_Int32 nPageIndex); private: - /// Indicates whether a page changed occured on switching to current page. + /// Indicates whether a page changed occurred on switching to current page. bool mbPageChangeOccured; /// Pointer to the page associated with the current page index. May be NULL. SdPage* mpPage; diff --git a/sd/source/ui/inc/PreviewRenderer.hxx b/sd/source/ui/inc/PreviewRenderer.hxx index 2e147054e8b2..6c9f8612c8ca 100644 --- a/sd/source/ui/inc/PreviewRenderer.hxx +++ b/sd/source/ui/inc/PreviewRenderer.hxx @@ -45,7 +45,7 @@ class PreviewRenderer : public SfxListener { public: - /** Create a new preview renderer that takes some of its inital values + /** Create a new preview renderer that takes some of its initial values from the given output device. @param pTemplate May be NULL. @@ -139,7 +139,7 @@ private: const Color maFrameColor; const bool mbHasFrame; static const int snSubstitutionTextSize; - // Width of the frame that is painted arround the preview. + // Width of the frame that is painted around the preview. static const int snFrameWidth; bool Initialize ( diff --git a/sd/source/ui/inc/SlideSorter.hxx b/sd/source/ui/inc/SlideSorter.hxx index 83a52afcea9c..170f76ea6a86 100644 --- a/sd/source/ui/inc/SlideSorter.hxx +++ b/sd/source/ui/inc/SlideSorter.hxx @@ -187,12 +187,12 @@ public: */ void SetCurrentFunction (const FunctionReference& rpFunction); - /** Return a collection of properties that are used througout the slide + /** Return a collection of properties that are used throughout the slide sorter. */ ::boost::shared_ptr<controller::Properties> GetProperties (void) const; - /** Return the active theme wich gives access to colors and fonts. + /** Return the active theme which gives access to colors and fonts. */ ::boost::shared_ptr<view::Theme> GetTheme (void) const; diff --git a/sd/source/ui/inc/SlideViewShell.hxx b/sd/source/ui/inc/SlideViewShell.hxx index 4799312d67e2..abc46eb72fee 100644 --- a/sd/source/ui/inc/SlideViewShell.hxx +++ b/sd/source/ui/inc/SlideViewShell.hxx @@ -117,7 +117,7 @@ public: virtual bool HasSelection( bool bText = true ) const; - /** Draw the rectangle arround the specified slide that indicates whether + /** Draw the rectangle around the specified slide that indicates whether the slide is selected or not. When not selected the rectangle is painted in the background color (WindowColor from the style settings) and is therefore not visible. A selected slide is painted with the diff --git a/sd/source/ui/inc/ToolBarManager.hxx b/sd/source/ui/inc/ToolBarManager.hxx index a5277a0b902f..65d3995bd359 100644 --- a/sd/source/ui/inc/ToolBarManager.hxx +++ b/sd/source/ui/inc/ToolBarManager.hxx @@ -52,7 +52,7 @@ class ViewShellManager; Tool bars are managed in groups. Each group can be set, reset, or modified independently of the others. This allows for instance to replace the toolbars associated with the current function independently - from those assoicated with the main view. + from those associated with the main view. The ToolBarManager has two high level methods which contain the knowledge about which tool bars to show in a specific context. diff --git a/sd/source/ui/inc/ViewShell.hxx b/sd/source/ui/inc/ViewShell.hxx index d16c71a51ea2..86e989325991 100644 --- a/sd/source/ui/inc/ViewShell.hxx +++ b/sd/source/ui/inc/ViewShell.hxx @@ -318,7 +318,7 @@ public: */ ::sd::WindowUpdater* GetWindowUpdater (void) const; - /** Return the border that is drawn arround the actual document view. + /** Return the border that is drawn around the actual document view. The border contains typically rulers and scroll bars. @param bOuterResize When this flag is <true/> then the border is used for an @@ -420,7 +420,7 @@ public: /** Set the given window as new parent window. This is not possible for all views, so the return value tells the caller if the relocation - was successfull. + was successful. */ virtual bool RelocateToParentWindow (::Window* pParentWindow); diff --git a/sd/source/ui/inc/ViewShellHint.hxx b/sd/source/ui/inc/ViewShellHint.hxx index a70362b37f62..a89a3e3a0aa4 100644 --- a/sd/source/ui/inc/ViewShellHint.hxx +++ b/sd/source/ui/inc/ViewShellHint.hxx @@ -29,7 +29,7 @@ namespace sd { /** Local derivation of the SfxHint class that defines some hint ids that - are used by the ViewShell class and its decendants. + are used by the ViewShell class and its descendants. */ class ViewShellHint : public SfxHint diff --git a/sd/source/ui/inc/ViewShellImplementation.hxx b/sd/source/ui/inc/ViewShellImplementation.hxx index ceceae4479d7..1a0ab0543c14 100644 --- a/sd/source/ui/inc/ViewShellImplementation.hxx +++ b/sd/source/ui/inc/ViewShellImplementation.hxx @@ -61,7 +61,7 @@ public: /** This update lock for the ToolBarManager exists in order to avoid problems with tool bars being displayed while the mouse button is - pressed. Whith docked tool bars this can lead to a size change of + pressed. With docked tool bars this can lead to a size change of the view. This would change the relative mouse coordinates and thus interpret every mouse click as move command. */ diff --git a/sd/source/ui/inc/Window.hxx b/sd/source/ui/inc/Window.hxx index 8c9b71a14058..07b8f28caaa9 100644 --- a/sd/source/ui/inc/Window.hxx +++ b/sd/source/ui/inc/Window.hxx @@ -63,7 +63,7 @@ public: void SetViewShell (ViewShell* pViewSh); /** Set the zoom factor to the specified value and center the display - area arround the zoom center. + area around the zoom center. @param nZoom The zoom factor is given as integral percent value. */ @@ -128,7 +128,7 @@ public: void SetViewSize(const basegfx::B2DVector& rSize); void SetCenterAllowed (bool bIsAllowed); - /** Calculate origin of the map mode accoring to the size of the view + /** Calculate origin of the map mode according to the size of the view and window (its size in model coordinates; that takes the zoom factor into account), and the bCenterAllowed flag. When it is not set then nothing is changed. When in any direction the window is diff --git a/sd/source/ui/inc/fuediglu.hxx b/sd/source/ui/inc/fuediglu.hxx index 9e3194a53c78..1870b6ec0e80 100644 --- a/sd/source/ui/inc/fuediglu.hxx +++ b/sd/source/ui/inc/fuediglu.hxx @@ -54,7 +54,7 @@ public: virtual void Deactivate(); // Function deaktivieren //Solution: Add Shift+UP/DOWN/LEFT/RIGHT key to move the position of insert point, - //and SHIFT+ENTER key to decide the postion and draw the new insert point + //and SHIFT+ENTER key to decide the position and draw the new insert point virtual void ForcePointer(const MouseEvent* pMEvt = NULL); private: Point maOldPoint; diff --git a/sd/source/ui/inc/fupoor.hxx b/sd/source/ui/inc/fupoor.hxx index 44519c43339d..a944f37c803e 100644 --- a/sd/source/ui/inc/fupoor.hxx +++ b/sd/source/ui/inc/fupoor.hxx @@ -116,7 +116,7 @@ public: // #i33136# /** Decide if the object to be created should be created orthogonal. Default implementation uses nSlotID - to decide. May be overloaded to use other criterias + to decide. May be overloaded to use other criteria for this decision @returns true if the to be created object should be orthogonal. @@ -144,7 +144,7 @@ protected: control at the lower left of the document window positive values move to the right and negative values move to the left. - <p>Switching the layer is independant of the view's layer mode. The + <p>Switching the layer is independent of the view's layer mode. The layers are switched even when the layer mode is turned off and the layer control is not visible.</p> @param nOffset diff --git a/sd/source/ui/inc/fusel.hxx b/sd/source/ui/inc/fusel.hxx index 2ab80fc348af..90b0912b8440 100644 --- a/sd/source/ui/inc/fusel.hxx +++ b/sd/source/ui/inc/fusel.hxx @@ -101,7 +101,7 @@ private: */ SdrObject* pickObject (const basegfx::B2DPoint& rTestPoint); //Solution: Add Shift+UP/DOWN/LEFT/RIGHT key to move the position of insert point, - //and SHIFT+ENTER key to decide the postion and draw the new insert point + //and SHIFT+ENTER key to decide the position and draw the new insert point Point maOldPoint; /// bitfield diff --git a/sd/source/ui/inc/taskpane/ControlContainer.hxx b/sd/source/ui/inc/taskpane/ControlContainer.hxx index be5344c2c2a9..f6c3a4df68ac 100644 --- a/sd/source/ui/inc/taskpane/ControlContainer.hxx +++ b/sd/source/ui/inc/taskpane/ControlContainer.hxx @@ -125,7 +125,7 @@ public: is <false/> the hidden controls are skipped. @param bCycle When this flag is <true/> then the search for the previous - control wraps arround when reaching the first control. + control wraps around when reaching the first control. @return Returns the index to the previous control or (sal_uInt32)-1 when there is no previous control. This would be the case when there @@ -147,7 +147,7 @@ public: <false/> the hidden controls are skipped. @param bCycle When this flag is <true/> then the search for the next control - wraps arround when reaching the last control. + wraps around when reaching the last control. @return Returns the index to the next control or (sal_uInt32)-1 when there is no next control. This would be the case when there is diff --git a/sd/source/ui/inc/taskpane/ScrollPanel.hxx b/sd/source/ui/inc/taskpane/ScrollPanel.hxx index c6cf3c36c090..14d33c8a3ec8 100644 --- a/sd/source/ui/inc/taskpane/ScrollPanel.hxx +++ b/sd/source/ui/inc/taskpane/ScrollPanel.hxx @@ -141,7 +141,7 @@ private: const int mnHorizontalBorder; /** List of horizontal stripes that is created from the gaps between children when they are layouted. The stripes are painted in Paint() - to fill the space arround the children. + to fill the space around the children. */ typedef ::std::vector< ::std::pair<int,int> > StripeList; StripeList maStripeList; diff --git a/sd/source/ui/inc/taskpane/SubToolPanel.hxx b/sd/source/ui/inc/taskpane/SubToolPanel.hxx index 6bf5e78b3392..9e81e36972c4 100644 --- a/sd/source/ui/inc/taskpane/SubToolPanel.hxx +++ b/sd/source/ui/inc/taskpane/SubToolPanel.hxx @@ -50,7 +50,7 @@ namespace sd { namespace toolpanel { is made transparent and painting it is done by this class. While layouting its children it remembers the gaps between children and stores them in maStripeList. In Paint() those gaps as well as the border - arround all children are painted in the background color.</p> + around all children are painted in the background color.</p> */ class SubToolPanel : public Control, @@ -101,7 +101,7 @@ private: const int mnHorizontalBorder; /** List of horizontal stripes that is created from the gaps between children when they are layouted. The stripes are painted in Paint() - to fill the space arround the children. + to fill the space around the children. */ typedef ::std::vector< ::std::pair<int,int> > StripeList; StripeList maStripeList; diff --git a/sd/source/ui/inc/taskpane/TitledControl.hxx b/sd/source/ui/inc/taskpane/TitledControl.hxx index c4a0f4f21ba7..5b2528a9bfd5 100644 --- a/sd/source/ui/inc/taskpane/TitledControl.hxx +++ b/sd/source/ui/inc/taskpane/TitledControl.hxx @@ -101,7 +101,7 @@ public: const String& GetTitle (void) const; /** Expand the control without informing its container. This - method ususally is called by the container as a result of a + method usually is called by the container as a result of a higher level expand command. You may want to use ExpandViaContainer() instead. @param bExpanded diff --git a/sd/source/ui/inc/tools/IconCache.hxx b/sd/source/ui/inc/tools/IconCache.hxx index 1b4ce1d9e66d..07a3e50bbb1d 100644 --- a/sd/source/ui/inc/tools/IconCache.hxx +++ b/sd/source/ui/inc/tools/IconCache.hxx @@ -33,7 +33,7 @@ namespace sd { use the icons do not have to store them in every one of their instances. - Icons are adressed over their resource id and are loaded on demand. + Icons are addressed over their resource id and are loaded on demand. This cache acts like a singleton with a lifetime equal to that of the sd module. @@ -50,7 +50,7 @@ public: /** Return the icon with the given resource id. @return The returned Image may be empty when there is no icon for the - given id or an error occured. Should not happen under normal + given id or an error occurred. Should not happen under normal circumstances. */ Image GetIcon (sal_uInt16 nResourceId); |