summaryrefslogtreecommitdiff
path: root/offapi
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2004-08-02 13:07:31 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2004-08-02 13:07:31 +0000
commit57e4006e1a043f5bc4172a3a846a701ed3823581 (patch)
tree0e809b82905f4a7f71d2df9c93fb9260113e6d7f /offapi
parentf29f32daad858c4ddf21212443eae54bbf03f908 (diff)
INTEGRATION: CWS insight01 (1.12.60); FILE MERGED
2004/07/06 11:15:33 oj 1.12.60.2: RESYNC: (1.12-1.13); FILE MERGED 2004/02/25 12:28:34 tl 1.12.60.1: #i25719# new properties for ViewSettings
Diffstat (limited to 'offapi')
-rw-r--r--offapi/com/sun/star/text/ViewSettings.idl72
1 files changed, 70 insertions, 2 deletions
diff --git a/offapi/com/sun/star/text/ViewSettings.idl b/offapi/com/sun/star/text/ViewSettings.idl
index 800cd6f800cd..a257d5030dbe 100644
--- a/offapi/com/sun/star/text/ViewSettings.idl
+++ b/offapi/com/sun/star/text/ViewSettings.idl
@@ -2,9 +2,9 @@
*
* $RCSfile: ViewSettings.idl,v $
*
- * $Revision: 1.13 $
+ * $Revision: 1.14 $
*
- * last change: $Author: obo $ $Date: 2004-06-04 00:26:21 $
+ * last change: $Author: hr $ $Date: 2004-08-02 14:07:31 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -67,6 +67,9 @@
#ifndef __com_sun_star_view_DocumentZoomType_idl__
#include <com/sun/star/view/DocumentZoomType.idl>
#endif
+#ifndef __com_sun_star_lang_IllegalArgumentException_idl__
+#include <com/sun/star/lang/IllegalArgumentException.idl>
+#endif
//=============================================================================
@@ -288,6 +291,71 @@ published service ViewSettings
*/
[optional, property] boolean IsExecuteHyperlinks;
+ //-------------------------------------------------------------------------
+ /** Specifies whether to display the grid or not
+
+ @since i25719
+ */
+ [optional, property] boolean IsRasterVisible;
+
+ //-------------------------------------------------------------------------
+ /** Specifies whether to move frames, drawing elements, and form
+ functions only between grid points.
+
+ @since i25719
+ */
+ [optional, property] boolean IsSnapToRaster;
+
+ //-------------------------------------------------------------------------
+ /** Specifies the number of intervals between grid points on the X-axis.
+
+ <p>The value must be greater or equal to 0, and the application
+ may enforce an upper bound for the value.</p>
+
+ @since i25719
+ @throws com::sun::star::lang::IllegalArgumentException
+ if the value is out of bounds.
+ */
+ [optional, property] long RasterSubdivisionX;
+
+ //-------------------------------------------------------------------------
+ /** Specifies the number of intervals between grid points on the Y-axis.
+
+ <p>The value must be greater or equal to 0, and the application
+ may enforce an upper bound for the value.</p>
+
+ @since i25719
+ @throws com::sun::star::lang::IllegalArgumentException
+ if the value is out of bounds.
+ */
+ [optional, property] long RasterSubdivisionY;
+
+ //-------------------------------------------------------------------------
+ /** Defines the unit of measure for the spacing between grid points
+ on the X-axis.
+
+ <p>The value must be greater than 0. The application
+ may enforce more restricting bounds for the value.</p>
+
+ @since i25719
+ @throws com::sun::star::lang::IllegalArgumentException
+ if the value is out of bounds.
+ */
+ [optional, property] long RasterResolutionX;
+
+ //-------------------------------------------------------------------------
+ /** Defines the unit of measure for the spacing between grid points
+ on the Y-axis.
+
+ <p>The value must be greater than 0. The application
+ may enforce more restricting bounds for the value.</p>
+
+ @since i25719
+ @throws com::sun::star::lang::IllegalArgumentException
+ if the value is out of bounds.
+ */
+ [optional, property] long RasterResolutionY;
+
};
//=============================================================================