summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Bosdonnat <cedricbosdo@openoffice.org>2011-03-16 16:06:46 +0100
committerCédric Bosdonnat <cedricbosdo@openoffice.org>2011-03-19 17:57:47 +0100
commitf9c622fb295aad8577edd48a900253cf6d38f11f (patch)
treea61741cfeb05e1c27771c17eb487b7a01028005f
parent73e4d35e73556a93c0f24769bb6c4178a3b4a959 (diff)
Added column separator style in ODF
-rw-r--r--offapi/com/sun/star/text/ColumnSeparatorStyle.idl46
-rw-r--r--offapi/com/sun/star/text/TextColumns.idl6
2 files changed, 52 insertions, 0 deletions
diff --git a/offapi/com/sun/star/text/ColumnSeparatorStyle.idl b/offapi/com/sun/star/text/ColumnSeparatorStyle.idl
new file mode 100644
index 000000000000..5aa40af89f57
--- /dev/null
+++ b/offapi/com/sun/star/text/ColumnSeparatorStyle.idl
@@ -0,0 +1,46 @@
+/*
+ * Version: MPL 1.1 / GPLv3+ / LGPLv3+
+ *
+ * The contents of this file are subject to the Mozilla Public 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.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+ * for the specific language governing rights and limitations under the
+ * License.
+ *
+ * The Initial Developer of the Original Code is
+ * [ Novell Inc. ]
+ * Portions created by the Initial Developer are Copyright (C) 2010 the
+ * Initial Developer. All Rights Reserved.
+ *
+ * Contributor(s): Cedric Bosdonnat <cbosdonnat@novell.com>
+ *
+ * Alternatively, the contents of this file may be used under the terms of
+ * either the GNU General Public License Version 3 or later (the "GPLv3+"), or
+ * the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
+ * in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
+ * instead of those above.
+ */
+#ifndef __com_sun_star_text_ColumnSeparatorStyle_idl__
+#define __com_sun_star_text_ColumnSeparatorStyle_idl__
+
+module com { module sun { module star { module text {
+
+published constants ColumnSeparatorStyle
+{
+ const short NONE = 0;
+
+ const short SOLID = 1;
+
+ const short DOTTED = 2;
+
+ const short DASHED = 3;
+};
+
+}; }; }; };
+
+
+#endif
diff --git a/offapi/com/sun/star/text/TextColumns.idl b/offapi/com/sun/star/text/TextColumns.idl
index b233348277d0..fda519f9a7e3 100644
--- a/offapi/com/sun/star/text/TextColumns.idl
+++ b/offapi/com/sun/star/text/TextColumns.idl
@@ -31,6 +31,8 @@
#include <com/sun/star/text/XTextColumns.idl>
#endif
+#include <com/sun/star/text/ColumnSeparatorStyle.idl>
+
#ifndef __com_sun_star_style_VerticalAlignment_idl__
#include <com/sun/star/style/VerticalAlignment.idl>
#endif
@@ -84,6 +86,10 @@ published service TextColumns
*/
[property] boolean SeparatorLineIsOn;
//------------------------------------------------------------------------
+ /** determines the style of the separator lines between the columns.
+ */
+ [property, optional] short SeparatorLineStyle;
+ //------------------------------------------------------------------------
};
//=============================================================================