summaryrefslogtreecommitdiff
path: root/offapi/com/sun/star/table
diff options
context:
space:
mode:
authorCédric Bosdonnat <cedricbosdo@openoffice.org>2010-10-06 23:51:38 +0200
committerCédric Bosdonnat <cedricbosdo@openoffice.org>2010-10-06 23:51:38 +0200
commitff254bfe747a17a153cfe509f29505383a6e829c (patch)
tree084a68a0423c1cd186bf7b8465d93b0b059480e8 /offapi/com/sun/star/table
parentb05470dba7966b0120417fcb453614f125c97601 (diff)
fate#307731, fate#307730: Adds dotted and dashed border lines
Diffstat (limited to 'offapi/com/sun/star/table')
-rw-r--r--offapi/com/sun/star/table/BorderLine.idl1
-rw-r--r--offapi/com/sun/star/table/BorderLine2.idl55
-rw-r--r--offapi/com/sun/star/table/BorderLineStyle.idl63
-rw-r--r--offapi/com/sun/star/table/makefile.mk2
4 files changed, 120 insertions, 1 deletions
diff --git a/offapi/com/sun/star/table/BorderLine.idl b/offapi/com/sun/star/table/BorderLine.idl
index 81e71b42dbf9..c40a416a0b82 100644
--- a/offapi/com/sun/star/table/BorderLine.idl
+++ b/offapi/com/sun/star/table/BorderLine.idl
@@ -71,7 +71,6 @@ published struct BorderLine
double line (in 1/100 mm).
*/
short LineDistance;
-
};
//=============================================================================
diff --git a/offapi/com/sun/star/table/BorderLine2.idl b/offapi/com/sun/star/table/BorderLine2.idl
new file mode 100644
index 000000000000..4627305737a1
--- /dev/null
+++ b/offapi/com/sun/star/table/BorderLine2.idl
@@ -0,0 +1,55 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2008 by Sun Microsystems, Inc.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * $RCSfile: BorderLine.idl,v $
+ * $Revision: 1.8 $
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org 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 version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+
+#ifndef __com_sun_star_table_BorderLine2_idl__
+#define __com_sun_star_table_BorderLine2_idl__
+
+
+#include <com/sun/star/table/BorderLine.idl>
+#include <com/sun/star/table/BorderLineStyle.idl>
+
+//=============================================================================
+
+module com { module sun { module star { module table {
+
+//=============================================================================
+
+struct BorderLine2 : BorderLine
+{
+ /** Style of the border. @see BorderLineStyle
+ */
+ short LineStyle;
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/offapi/com/sun/star/table/BorderLineStyle.idl b/offapi/com/sun/star/table/BorderLineStyle.idl
new file mode 100644
index 000000000000..1914373d7ef8
--- /dev/null
+++ b/offapi/com/sun/star/table/BorderLineStyle.idl
@@ -0,0 +1,63 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2008 by Sun Microsystems, Inc.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * $RCSfile: TableSortFieldType.idl,v $
+ * $Revision: 1.7 $
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org 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 version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_table_BorderLineStyle_idl__
+#define __com_sun_star_table_BorderLineStyle_idl__
+
+
+//=============================================================================
+
+module com { module sun { module star { module table {
+
+//=============================================================================
+
+constants BorderLineStyle
+{
+ //-------------------------------------------------------------------------
+ /** Solid border line.
+ */
+ const short SOLID = 0;
+
+ //-------------------------------------------------------------------------
+ /** Dotted border line.
+ */
+ const short DOTTED = 1;
+
+ //-------------------------------------------------------------------------
+ /** Dashed border line.
+ */
+ const short DASHED = 2;
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/offapi/com/sun/star/table/makefile.mk b/offapi/com/sun/star/table/makefile.mk
index 605a7a99a400..9b7e18582336 100644
--- a/offapi/com/sun/star/table/makefile.mk
+++ b/offapi/com/sun/star/table/makefile.mk
@@ -41,6 +41,8 @@ IDLFILES=\
AccessibleCellView.idl \
AccessibleTableView.idl \
BorderLine.idl\
+ BorderLine2.idl\
+ BorderLineStyle.idl\
Cell.idl\
CellAddress.idl\
CellContentType.idl\