summaryrefslogtreecommitdiff
path: root/sfx2/source/inc
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2008-02-26 14:11:44 +0000
committerOliver Bolte <obo@openoffice.org>2008-02-26 14:11:44 +0000
commit0462acfb742127be4a1100d2c45e3e06e2d369c0 (patch)
tree0b8d252e79030324f8eb191a92a1c76e4a599862 /sfx2/source/inc
parent4d885c478cfe571790905474e5cb60c6cc6d82c5 (diff)
INTEGRATION: CWS custommeta (1.1.2); FILE ADDED
2007/12/07 16:39:13 mst 1.1.2.2: various refactorings to use DocumentProperties service: - sfx2/inc/sfx2/docinf.hxx, sfx2/source/doc/docinf.cxx: + SetReloadDelay: fix setting of reload delay in the properties dialog (signed vs. unsigned mismatch) + change initialization of SfxDocumentObject (needs DocumentProperties) - sfx2/inc/sfx2/objuno.hxx, sfx2/source/doc/objuno.cxx: + refactor so that SfxDocumentInfoObject is just a wrapper around an instance of XDocumentProperties + implement additional interfaces: XInitialization, XCloneable + fix exception specifications on numerous methods - sfx2/inc/sfx2/sfxbasemodel.hxx, sfx2/source/doc/sfxbasemodel.cxx: + implement additional interface: XDocumentPropertiesSupplier 2007/10/31 12:50:45 mst 1.1.2.1: - inc/SfxDocumentMetaData.hxx, source/doc/SfxDocumentMetaData.cxx: added implementation of service css.document.DocumentProperties - source/doc/REMOVEME.cxx: temporary stuff from CWS xmlfilter02 - source/appl/appuno.cxx, source/doc/makefile.mk: build/register new service
Diffstat (limited to 'sfx2/source/inc')
-rw-r--r--sfx2/source/inc/SfxDocumentMetaData.hxx57
1 files changed, 57 insertions, 0 deletions
diff --git a/sfx2/source/inc/SfxDocumentMetaData.hxx b/sfx2/source/inc/SfxDocumentMetaData.hxx
new file mode 100644
index 000000000000..d68149e3c6d5
--- /dev/null
+++ b/sfx2/source/inc/SfxDocumentMetaData.hxx
@@ -0,0 +1,57 @@
+/*************************************************************************
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * $RCSfile: SfxDocumentMetaData.hxx,v $
+ *
+ * $Revision: 1.2 $
+ *
+ * last change: $Author: obo $ $Date: 2008-02-26 15:11:44 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+ *
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2005 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ ************************************************************************/
+
+#ifndef _SFXDOCUMENTMETADATA_HXX
+#define _SFXDOCUMENTMETADATA_HXX
+
+#include "sal/config.h"
+#include "cppuhelper/factory.hxx"
+
+
+// component helper namespace
+namespace comp_SfxDocumentMetaData {
+
+namespace css = ::com::sun::star;
+
+// component and service helper functions:
+::rtl::OUString SAL_CALL _getImplementationName();
+css::uno::Sequence< ::rtl::OUString > SAL_CALL _getSupportedServiceNames();
+css::uno::Reference< css::uno::XInterface > SAL_CALL _create(
+ css::uno::Reference< css::uno::XComponentContext > const & context );
+
+} // closing component helper namespace
+
+#endif
+