summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2007-10-09 14:26:37 +0000
committerKurt Zenker <kz@openoffice.org>2007-10-09 14:26:37 +0000
commit5a872a89f89a800b93f8f9865f20929db2b3acba (patch)
tree63a087b0ab7fee840ae1ac37396d31f8949e52bd /ucb
parent53873bc43fbf42746914e0ad394ebc787cec1705 (diff)
INTEGRATION: CWS basmgr03 (1.5.130); FILE MERGED
2007/09/03 12:44:51 fs 1.5.130.1: #i76129# isOfficeDocument reworked, to exclude Basidc-IDE and Previews and HelpView explicitly, not by implicit heuristics which tend to break
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/tdoc/tdoc_docmgr.hxx24
1 files changed, 22 insertions, 2 deletions
diff --git a/ucb/source/ucp/tdoc/tdoc_docmgr.hxx b/ucb/source/ucp/tdoc/tdoc_docmgr.hxx
index a8e0bccabf7e..5003e0c4f0e4 100644
--- a/ucb/source/ucp/tdoc/tdoc_docmgr.hxx
+++ b/ucb/source/ucp/tdoc/tdoc_docmgr.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: tdoc_docmgr.hxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: rt $ $Date: 2005-09-09 16:00:20 $
+ * last change: $Author: kz $ $Date: 2007-10-09 15:26:37 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -145,6 +145,26 @@ namespace tdoc_ucp {
const com::sun::star::uno::Reference<
com::sun::star::uno::XInterface > & xDoc );
+ bool
+ isDocumentPreview(
+ const com::sun::star::uno::Reference<
+ com::sun::star::frame::XModel > & xModel );
+
+ bool
+ isWithoutOrInTopLevelFrame(
+ const com::sun::star::uno::Reference<
+ com::sun::star::frame::XModel > & xModel );
+
+ bool
+ isBasicIDE(
+ const com::sun::star::uno::Reference<
+ com::sun::star::frame::XModel > & xModel );
+
+ bool
+ isHelpDocument(
+ const com::sun::star::uno::Reference<
+ com::sun::star::frame::XModel > & xModel );
+
osl::Mutex m_aMtx;
com::sun::star::uno::Reference<
com::sun::star::lang::XMultiServiceFactory > m_xSMgr;