summaryrefslogtreecommitdiff
path: root/offapi/com/sun/star/text/ViewSettings.idl
diff options
context:
space:
mode:
Diffstat (limited to 'offapi/com/sun/star/text/ViewSettings.idl')
-rw-r--r--offapi/com/sun/star/text/ViewSettings.idl273
1 files changed, 273 insertions, 0 deletions
diff --git a/offapi/com/sun/star/text/ViewSettings.idl b/offapi/com/sun/star/text/ViewSettings.idl
new file mode 100644
index 000000000000..3ff9e1620f59
--- /dev/null
+++ b/offapi/com/sun/star/text/ViewSettings.idl
@@ -0,0 +1,273 @@
+/*************************************************************************
+ *
+ * $RCSfile: ViewSettings.idl,v $
+ *
+ * $Revision: 1.1 $
+ *
+ * last change: $Author: mi $ $Date: 2000-11-06 09:22:20 $
+ *
+ * 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: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_text_ViewSettings_idl__
+#define __com_sun_star_text_ViewSettings_idl__
+
+#ifndef __com_sun_star_beans_XPropertySet_idl__
+#include <com/sun/star/beans/XPropertySet.idl>
+#endif
+
+
+//=============================================================================
+
+ module com { module sun { module star { module text {
+
+//=============================================================================
+
+// DocMerge from xml: service com::sun::star::text::ViewSettings
+/** provides access to the settings of the controller of a text document.
+ */
+service ViewSettings
+{
+ // DocMerge: empty anyway
+ interface com::sun::star::beans::XPropertySet;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: property com::sun::star::text::ViewSettings::ShowAnnotations
+ /** If this property is <true></true>, annotations (notes) are visible.
+ */
+ [property] boolean ShowAnnotations;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: property com::sun::star::text::ViewSettings::ShowBreaks
+ /** If this property is <true></true>, paragraph line breaks are visible.
+ */
+ [property] boolean ShowBreaks;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: property com::sun::star::text::ViewSettings::ShowDrawings
+ /** If this property is <true></true>, shapes are visible.
+ */
+ [property] boolean ShowDrawings;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: property com::sun::star::text::ViewSettings::ShowFieldCommands
+ /** If this property is <true></true>, text fields are shown with their commands; otherwise
+ the content is visible.
+ */
+ [property] boolean ShowFieldCommands;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: property com::sun::star::text::ViewSettings::ShowFootnoteBackground
+ /** If this property is <true></true>, footnotes symbols are displayed with gray background.
+ */
+ [property] boolean ShowFootnoteBackground;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: property com::sun::star::text::ViewSettings::ShowGraphics
+ /** If this property is <true></true>, graphic objects are visible.
+ */
+ [property] boolean ShowGraphics;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: property com::sun::star::text::ViewSettings::ShowHiddenParagraphs
+ /** If this property is <true></true>, hidden paragraghs are displayed.
+ */
+ [property] boolean ShowHiddenParagraphs;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: property com::sun::star::text::ViewSettings::ShowHiddenText
+ /** If this property is <true></true>, hidden text is displayed.
+ */
+ [property] boolean ShowHiddenText;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: property com::sun::star::text::ViewSettings::ShowHoriRuler
+ /** If this property is <true></true>, the horizontal ruler is displayed.
+ */
+ [property] boolean ShowHoriRuler;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: property com::sun::star::text::ViewSettings::ShowHoriScrollBar
+ /** If this property is <true></true>, the horizontal scroll bar is displayed.
+ */
+ [property] boolean ShowHoriScrollBar;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: property com::sun::star::text::ViewSettings::ShowIndexMarkBackground
+ /** If this property is <true></true>, index marks are displayed with gray background.
+ */
+ [property] boolean ShowIndexMarkBackground;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: property com::sun::star::text::ViewSettings::ShowParaBreaks
+ /** If this property is <true></true>, paragraph breaks are visible.
+ */
+ [property] boolean ShowParaBreaks;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: property com::sun::star::text::ViewSettings::ShowProtectedSpaces
+ /** If this property is <true></true>, protected spaces (hard spaces) are displayed with gray
+ background.
+ */
+ [property] boolean ShowProtectedSpaces;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: property com::sun::star::text::ViewSettings::ShowSoftHyphens
+ /** If this property is <true></true>, soft hyphens are displayed with gray background.
+ */
+ [property] boolean ShowSoftHyphens;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: property com::sun::star::text::ViewSettings::ShowSpaces
+ /** If this property is <true></true>, spaces are displayed with dots.
+ */
+ [property] boolean ShowSpaces;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: property com::sun::star::text::ViewSettings::ShowTableBoundaries
+ /** If this property is <true></true>, table boundaries are displayed.
+ */
+ [property] boolean ShowTableBoundaries;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: property com::sun::star::text::ViewSettings::ShowTables
+ /** If this property is <true></true>, tables are visible.
+ */
+ [property] boolean ShowTables;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: property com::sun::star::text::ViewSettings::ShowTabstops
+ /** If this property is <true></true>, tab stops are visible.
+ */
+ [property] boolean ShowTabstops;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: property com::sun::star::text::ViewSettings::ShowTextBoundaries
+ /** If this property is <true></true>, text boundaries are displayed.
+ */
+ [property] boolean ShowTextBoundaries;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: property com::sun::star::text::ViewSettings::ShowTextFieldBackground
+ /** If this property is <true></true>, text fields are displayed with gray background.
+ */
+ [property] boolean ShowTextFieldBackground;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: property com::sun::star::text::ViewSettings::ShowVertRuler
+ /** If this property is <true></true>, the vertical ruler is displayed.
+ */
+ [property] boolean ShowVertRuler;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: property com::sun::star::text::ViewSettings::ShowVertScrollBar
+ /** If this property is <true></true>, the vertical scroll bar is displayed.
+ */
+ [property] boolean ShowVertScrollBar;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: property com::sun::star::text::ViewSettings::SmoothScrolling
+ /** If this property is <true></true>, smooth scrolling is active.
+ */
+ [property] boolean SmoothScrolling;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: property com::sun::star::text::ViewSettings::SolidMarkHandles
+ /** If this property is <true></true>, handles of drawing objects are visible.
+ */
+ [property] boolean SolidMarkHandles;
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+/*=============================================================================
+
+ $Log: not supported by cvs2svn $
+ Revision 1.1.1.1 2000/09/18 23:36:04 hjs
+ initial import
+
+ Revision 1.3 2000/09/11 11:53:01 mi
+ documentation merged from XML
+
+ Revision 1.1.1.1 1999/11/11 09:48:46 jsc
+ new
+
+
+=============================================================================*/
+#endif