diff options
author | RĂ¼diger Timm <rt@openoffice.org> | 2005-11-11 11:05:10 +0000 |
---|---|---|
committer | RĂ¼diger Timm <rt@openoffice.org> | 2005-11-11 11:05:10 +0000 |
commit | 46186158edb07d5fc272897cf764a1c6f40b472d (patch) | |
tree | 568b680e14c3d82e8cda5dac9bf42b6b4363ab71 /framework/source/inc | |
parent | 9379d861da2eb37e57bafc40e194d49b7af6f455 (diff) |
INTEGRATION: CWS c06 (1.8.94); FILE MERGED
2005/09/15 06:37:42 as 1.8.94.1: #i53536#, #i53630# limitate max count of open documents; mark windows as 'document windows' so vcl can handle it different
Diffstat (limited to 'framework/source/inc')
-rw-r--r-- | framework/source/inc/loadenv/loadenv.hxx | 56 |
1 files changed, 31 insertions, 25 deletions
diff --git a/framework/source/inc/loadenv/loadenv.hxx b/framework/source/inc/loadenv/loadenv.hxx index c2495bab11..a7b649bbc4 100644 --- a/framework/source/inc/loadenv/loadenv.hxx +++ b/framework/source/inc/loadenv/loadenv.hxx @@ -4,9 +4,9 @@ * * $RCSfile: loadenv.hxx,v $ * - * $Revision: 1.9 $ + * $Revision: 1.10 $ * - * last change: $Author: rt $ $Date: 2005-09-09 01:32:22 $ + * last change: $Author: rt $ $Date: 2005-11-11 12:05:10 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -503,7 +503,7 @@ class LoadEnv : private ThreadHelpBase /** TODO document me ... */ css::uno::Reference< css::uno::XInterface > impl_searchLoader(); - + //_______________________________________ /** @short it means; show the frame, bring it to front, @@ -520,7 +520,7 @@ class LoadEnv : private ThreadHelpBase */ void impl_reactForLoadingState() throw(LoadEnvException, css::uno::RuntimeException); - + //___________________________________________ // private helper @@ -548,20 +548,20 @@ class LoadEnv : private ThreadHelpBase throw(LoadEnvException, css::uno::RuntimeException); //_______________________________________ - + /** @short tries to ask user for it's filter decision in case normal detection failed. - + @descr We use a may existing interaction handler to do so. - + @return [string] the type selected by the user. - - @attention Internaly we update the member m_lMediaDescriptor! + + @attention Internaly we update the member m_lMediaDescriptor! */ ::rtl::OUString impl_askUserForTypeAndFilterIfAllowed() throw(LoadEnvException, css::uno::RuntimeException); - + //_______________________________________ /** @short tries to use ContentHandler objects for loading. @@ -666,12 +666,12 @@ class LoadEnv : private ThreadHelpBase */ css::uno::Reference< css::frame::XFrame > impl_searchRecycleTarget() throw(LoadEnvException, css::uno::RuntimeException); - + //_______________________________________ /** @short because showing of a frame is needed more then once ... it's implemented as an seperate method .-) - + @descr Note: Showing of a frame is bound to a special feature ... a) If we recycle any existing frame, we must bring it to front. Showing of such frame isnt needed realy .. because we recycle @@ -683,10 +683,10 @@ class LoadEnv : private ThreadHelpBase it's not allowed to disturb the user again. Then the frame must resists in the background. c) If the frame was not shown before ... but loading of a visible document into this frame was finished ... we need both actions: setVisible() and toFront(). - + @param xWindow points to the container window of a frame. - + @param bForceToFront if it's set to FALSE ... showing of the window is done more intelligent. setVisible() is called only if the window was not shown before. @@ -695,30 +695,36 @@ class LoadEnv : private ThreadHelpBase This mode is needed by a) */ void impl_makeFrameWindowVisible(const css::uno::Reference< css::awt::XWindow >& xWindow , - sal_Bool bForceToFront); - + sal_Bool bForceToFront); + //_______________________________________ - + /** @short checks weather a frame is already used for another load request or not. - + @descr Such frames cant be used for our "recycle feature"! - + @param xFrame the frame, which should be checked. - + @return [sal_Bool] TRUE if this frame is already used for loading, FALSE otherwise. */ sal_Bool impl_isFrameAlreadyUsedForLoading(const css::uno::Reference< css::frame::XFrame >& xFrame) const; - + //_______________________________________ - + /** @short try to determine the used application module of this load request and applay right position and size - for this document window ... hopefully before we show it .-) - */ - void impl_applyPersistentWindowState(const css::uno::Reference< css::awt::XWindow >& xWindow); + for this document window ... hopefully before we show it .-) + */ + void impl_applyPersistentWindowState(const css::uno::Reference< css::awt::XWindow >& xWindow); + + //_______________________________________ + + /** @short determine if it's allowed to open new document frames. + */ + sal_Bool impl_furtherDocsAllowed(); }; } // namespace framework |