summaryrefslogtreecommitdiffstats
path: root/offapi
diff options
context:
space:
mode:
authorChristian Lippka <cl@openoffice.org>2002-12-06 11:36:01 +0000
committerChristian Lippka <cl@openoffice.org>2002-12-06 11:36:01 +0000
commit952c431652525bffb83220478dffa66f3257eb40 (patch)
tree9898c7be562b9a88d3f7520d17945f97e811ad67 /offapi
parent#105668# new file (diff)
downloadcore-952c431652525bffb83220478dffa66f3257eb40.tar.gz
core-952c431652525bffb83220478dffa66f3257eb40.zip
#96976# added service description for document settings service
Diffstat (limited to 'offapi')
-rw-r--r--offapi/com/sun/star/document/HeaderFooterSettings.idl107
-rw-r--r--offapi/com/sun/star/document/makefile.mk5
2 files changed, 110 insertions, 2 deletions
diff --git a/offapi/com/sun/star/document/HeaderFooterSettings.idl b/offapi/com/sun/star/document/HeaderFooterSettings.idl
new file mode 100644
index 000000000000..5d702597fbf6
--- /dev/null
+++ b/offapi/com/sun/star/document/HeaderFooterSettings.idl
@@ -0,0 +1,107 @@
+/*************************************************************************
+ *
+ * $RCSfile: HeaderFooterSettings.idl,v $
+ *
+ * $Revision: 1.1 $
+ *
+ * last change: $Author: cl $ $Date: 2002-12-06 12:36:00 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 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
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2002 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_document_HeaderFooterSettings_idl__
+#define __com_sun_star_document_HeaderFooterSettings_idl__
+
+#ifndef __com_sun_star_beans_XPropertySet_idl__
+#include <com/sun/star/beans/XPropertySet.idl>
+#endif
+
+//=============================================================================
+
+module com { module sun { module star { module document {
+
+//=============================================================================
+
+// Note: Where is the distinction between header and footer ?
+/** describes properties that control the formatting of headers and
+ footers for documents that do not allow individual settings for
+ individual parts like pages or slides.
+ */
+service HeaderFooterSettings
+{
+ /** gives access to the properties implemented by this service.
+ */
+ interface com::sun::star::beans::XPropertySet;
+
+ //-------------------------------------------------------------------------
+
+ /** enables or disables the printing of the page name in the
+ header or footer
+ */
+ [optional, property] boolean IsPrintPageName;
+
+ /** enables or disables the printing of the date in the
+ header or footer
+ */
+ [optional, property] boolean IsPrintDate;
+
+ /** enables or disables the printinge of the current time in the
+ header or footer
+ */
+ [optional, property] boolean IsPrintTime;
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/offapi/com/sun/star/document/makefile.mk b/offapi/com/sun/star/document/makefile.mk
index 3c11c34a0504..ebf44f6c9b76 100644
--- a/offapi/com/sun/star/document/makefile.mk
+++ b/offapi/com/sun/star/document/makefile.mk
@@ -2,9 +2,9 @@
#
# $RCSfile: makefile.mk,v $
#
-# $Revision: 1.25 $
+# $Revision: 1.26 $
#
-# last change: $Author: jsc $ $Date: 2002-11-29 15:04:58 $
+# last change: $Author: cl $ $Date: 2002-12-06 12:36:01 $
#
# The Contents of this file are made available subject to the terms of
# either of the following licenses
@@ -83,6 +83,7 @@ IDLFILES=\
FilterAdapter.idl\
FilterFactory.idl\
FilterOptionsRequest.idl\
+ HeaderFooterSettings.idl\
ImportFilter.idl\
LinkTarget.idl\
LinkTargets.idl\