summaryrefslogtreecommitdiff
path: root/offapi/com/sun
diff options
context:
space:
mode:
authorThomas Lange <tl@openoffice.org>2002-09-25 12:53:04 +0000
committerThomas Lange <tl@openoffice.org>2002-09-25 12:53:04 +0000
commit74b9797933bfb37dd25b3e006bf893db340ac90e (patch)
tree8d5c61be4f58af5fffae10c85e1c3944a830f9cc /offapi/com/sun
parent6a8a90f164522cd3dd6a124f569c066c0956ad86 (diff)
#103610# missing properties added
Diffstat (limited to 'offapi/com/sun')
-rw-r--r--offapi/com/sun/star/style/ParagraphProperties.idl108
-rw-r--r--offapi/com/sun/star/style/ParagraphPropertiesAsian.idl97
2 files changed, 172 insertions, 33 deletions
diff --git a/offapi/com/sun/star/style/ParagraphProperties.idl b/offapi/com/sun/star/style/ParagraphProperties.idl
index 7e3ec86a3931..4589b01266f2 100644
--- a/offapi/com/sun/star/style/ParagraphProperties.idl
+++ b/offapi/com/sun/star/style/ParagraphProperties.idl
@@ -2,9 +2,9 @@
*
* $RCSfile: ParagraphProperties.idl,v $
*
- * $Revision: 1.13 $
+ * $Revision: 1.14 $
*
- * last change: $Author: tl $ $Date: 2002-08-28 08:27:31 $
+ * last change: $Author: tl $ $Date: 2002-09-25 13:51:09 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -90,7 +90,12 @@
#ifndef __com_sun_star_table_BorderLine_idl__
#include <com/sun/star/table/BorderLine.idl>
#endif
-
+#ifndef __com_sun_star_style_BreakType_idl__
+#include <com/sun/star/style/BreakType.idl>
+#endif
+#ifndef __com_sun_star_container_XNameContainer_idl__
+#include <com/sun/star/container/XNameContainer.idl>
+#endif
//=============================================================================
@@ -234,13 +239,6 @@ service ParagraphProperties
//-------------------------------------------------------------------------
- // DocMerge from xml: property com::sun::star::style::ParagraphProperties::ParaIsHyphenation
- /** prevents the paragraph from getting hyphenated.
- */
- [property] boolean ParaIsHyphenation;
-
- //-------------------------------------------------------------------------
-
// DocMerge from xml: property com::sun::star::style::ParagraphProperties::PageDescName
/** If this property is set, it creates a page break before the
paragraph it belongs to and assigns the value as the name
@@ -375,65 +373,109 @@ service ParagraphProperties
*/
[optional, property] com::sun::star::table::ShadowFormat ParaShadowFormat;
//-------------------------------------------------------------------------
- /** determines if hanging punctuation is allowed.
- */
- [optional, property] boolean IsHangingPunctuation;
- //-------------------------------------------------------------------------
- /** determines if a distance between asian text, western text or complex text is set.
- */
- [optional, property] boolean IsCharacterDistance;
- //-------------------------------------------------------------------------
- /** determines if the the rules for forbidden characters at the start or end
- of text lines are considered.
- */
- [optional, property] boolean IsForbiddenRules;
-
- //-------------------------------------------------------------------------
/** contains the left border of the object.
*/
- [property, optional] com::sun::star::table::BorderLine LeftBorder;
+ [property, optional] com::sun::star::table::BorderLine LeftBorder;
//-------------------------------------------------------------------------
/** contains the right border of the object.
*/
- [property, optional] com::sun::star::table::BorderLine RightBorder;
+ [property, optional] com::sun::star::table::BorderLine RightBorder;
//-------------------------------------------------------------------------
/** contains the top border of the object.
*/
- [property, optional] com::sun::star::table::BorderLine TopBorder;
+ [property, optional] com::sun::star::table::BorderLine TopBorder;
//-------------------------------------------------------------------------
/** contains the bottom border of the object.
*/
- [property, optional] com::sun::star::table::BorderLine BottomBorder;
+ [property, optional] com::sun::star::table::BorderLine BottomBorder;
//-------------------------------------------------------------------------
/** contains the distance from the border to the object.
*/
- [property, optional] long BorderDistance;
+ [property, optional] long BorderDistance;
//-------------------------------------------------------------------------
/** contains the distance from the left border to the object.
*/
- [property, optional] long LeftBorderDistance;
+ [property, optional] long LeftBorderDistance;
//-------------------------------------------------------------------------
/** contains the distance from the right border to the object.
*/
- [property, optional] long RightBorderDistance;
+ [property, optional] long RightBorderDistance;
//-------------------------------------------------------------------------
/** contains the distance from the top border to the object.
*/
- [property, optional] long TopBorderDistance;
+ [property, optional] long TopBorderDistance;
//-------------------------------------------------------------------------
/** contains the distance from the bottom border to the object.
*/
- [property, optional] long BottomBorderDistance;
+ [property, optional] long BottomBorderDistance;
//-------------------------------------------------------------------------
+ /** determins the type of break that is applied at the beginning of the table.
+ @see com.sun.star.style.BreakType
+ */
+ [property] com::sun::star::style::BreakType BreakType;
+
+ //-------------------------------------------------------------------------
+ /** specifies the character style name for drop caps.
+ */
+ [property] string DropCapCharStyleName;
+
+ //-------------------------------------------------------------------------
+ /** specifies the indent for the first line.
+ */
+ [property] long ParaFirstLineIndent;
+
+ //-------------------------------------------------------------------------
+ /** determines if the first line should be indented automatically.
+ */
+ [property] boolean ParaIsAutoFirstLineIndent;
+
+ //-------------------------------------------------------------------------
+ /** specifies if automatic hyphenation is applied.
+ */
+ [property] boolean ParaIsHyphenation;
+
+ //-------------------------------------------------------------------------
+ /** specifies the maximum number of consecutive hyphens.
+ */
+ [property] short ParaHyphenationMaxHyphens;
+
+ //-------------------------------------------------------------------------
+ /** specifies the maximum number of characters to remain before the
+ hyphen character (when hyphenation is applied).
+ */
+ [property] short ParaHyphenationMaxLeadingChars;
+
+ //-------------------------------------------------------------------------
+ /** specifies the maximum number of characters to remain after the
+ hyphen character (when hyphenation is applied).
+ */
+ [property] short ParaHyphenationMaxTrailingChars;
+
+ //-------------------------------------------------------------------------
+ /** specifies the vertical alignment of a paragraph.
+
+ @see com::sun::star::text::ParagraphVertAlign
+ */
+ [property] short ParaVertAlignment;
+
+ //-------------------------------------------------------------------------
+ /** this property stores xml attributes.
+ They will be saved to and restored from automatic styles inside xml files.
+
+ @see com::sun::star::xml::AttributeContainer
+ */
+ [property] com::sun::star::container::XNameContainer ParaUserDefinedAttributes;
+
+ //-------------------------------------------------------------------------
};
//=============================================================================
diff --git a/offapi/com/sun/star/style/ParagraphPropertiesAsian.idl b/offapi/com/sun/star/style/ParagraphPropertiesAsian.idl
new file mode 100644
index 000000000000..5dd37b4383ea
--- /dev/null
+++ b/offapi/com/sun/star/style/ParagraphPropertiesAsian.idl
@@ -0,0 +1,97 @@
+/*************************************************************************
+ *
+ * $RCSfile: ParagraphPropertiesAsian.idl,v $
+ *
+ * $Revision: 1.1 $
+ *
+ * last change: $Author: tl $ $Date: 2002-09-25 13:53:04 $
+ *
+ * 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_style_ParagraphPropertiesAsian_idl__
+#define __com_sun_star_style_ParagraphPropertiesAsian_idl__
+
+
+
+//=============================================================================
+
+ module com { module sun { module star { module style {
+
+//=============================================================================
+
+/** contains settings for the style of paragraphs with complex text layout.
+ */
+service ParagraphPropertiesAsian
+{
+ //-------------------------------------------------------------------------
+ /** determines if hanging punctuation is allowed.
+ */
+ [property] boolean ParaIsHangingPunctuation;
+ //-------------------------------------------------------------------------
+ /** determines if a distance between asian text, western text or complex text is set.
+ */
+ [property] boolean ParaIsCharacterDistance;
+ //-------------------------------------------------------------------------
+ /** determines if the the rules for forbidden characters at the start or end
+ of text lines are considered.
+ */
+ [property] boolean ParaIsForbiddenRules;
+
+ //-------------------------------------------------------------------------
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif