summaryrefslogtreecommitdiff
path: root/offapi/com/sun/star/style
diff options
context:
space:
mode:
Diffstat (limited to 'offapi/com/sun/star/style')
-rw-r--r--offapi/com/sun/star/style/BreakType.idl131
-rw-r--r--offapi/com/sun/star/style/CaseMap.idl87
-rw-r--r--offapi/com/sun/star/style/CellStyle.idl60
-rw-r--r--offapi/com/sun/star/style/CharacterProperties.idl450
-rw-r--r--offapi/com/sun/star/style/CharacterPropertiesAsian.idl91
-rw-r--r--offapi/com/sun/star/style/CharacterPropertiesComplex.idl91
-rw-r--r--offapi/com/sun/star/style/CharacterStyle.idl86
-rw-r--r--offapi/com/sun/star/style/DropCapFormat.idl70
-rw-r--r--offapi/com/sun/star/style/GraphicLocation.idl137
-rw-r--r--offapi/com/sun/star/style/HorizontalAlignment.idl76
-rw-r--r--offapi/com/sun/star/style/LineNumberPosition.idl80
-rw-r--r--offapi/com/sun/star/style/LineSpacing.idl63
-rw-r--r--offapi/com/sun/star/style/LineSpacingMode.idl79
-rw-r--r--offapi/com/sun/star/style/NumberingAlignment.idl83
-rw-r--r--offapi/com/sun/star/style/NumberingLevel.idl121
-rw-r--r--offapi/com/sun/star/style/NumberingRule.idl68
-rw-r--r--offapi/com/sun/star/style/NumberingType.idl480
-rw-r--r--offapi/com/sun/star/style/PageProperties.idl502
-rw-r--r--offapi/com/sun/star/style/PageStyle.idl70
-rw-r--r--offapi/com/sun/star/style/PageStyleLayout.idl73
-rw-r--r--offapi/com/sun/star/style/ParagraphAdjust.idl86
-rw-r--r--offapi/com/sun/star/style/ParagraphProperties.idl463
-rw-r--r--offapi/com/sun/star/style/ParagraphPropertiesAsian.idl63
-rw-r--r--offapi/com/sun/star/style/ParagraphPropertiesComplex.idl53
-rw-r--r--offapi/com/sun/star/style/ParagraphStyle.idl163
-rw-r--r--offapi/com/sun/star/style/ParagraphStyleCategory.idl86
-rw-r--r--offapi/com/sun/star/style/Style.idl174
-rw-r--r--offapi/com/sun/star/style/StyleFamilies.idl119
-rw-r--r--offapi/com/sun/star/style/StyleFamily.idl89
-rw-r--r--offapi/com/sun/star/style/TabAlign.idl91
-rw-r--r--offapi/com/sun/star/style/TabStop.idl84
-rw-r--r--offapi/com/sun/star/style/VerticalAlignment.idl76
-rw-r--r--offapi/com/sun/star/style/XAutoStyle.idl74
-rw-r--r--offapi/com/sun/star/style/XAutoStyleFamily.idl65
-rw-r--r--offapi/com/sun/star/style/XAutoStyles.idl64
-rw-r--r--offapi/com/sun/star/style/XAutoStylesSupplier.idl66
-rw-r--r--offapi/com/sun/star/style/XDefaultsSupplier.idl62
-rw-r--r--offapi/com/sun/star/style/XStyle.idl85
-rw-r--r--offapi/com/sun/star/style/XStyleCondition.idl70
-rw-r--r--offapi/com/sun/star/style/XStyleFamiliesSupplier.idl68
-rw-r--r--offapi/com/sun/star/style/XStyleLoader.idl97
-rw-r--r--offapi/com/sun/star/style/makefile.mk87
42 files changed, 5183 insertions, 0 deletions
diff --git a/offapi/com/sun/star/style/BreakType.idl b/offapi/com/sun/star/style/BreakType.idl
new file mode 100644
index 000000000000..848852456fa4
--- /dev/null
+++ b/offapi/com/sun/star/style/BreakType.idl
@@ -0,0 +1,131 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * 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_style_BreakType_idl__
+#define __com_sun_star_style_BreakType_idl__
+
+
+//=============================================================================
+
+ module com { module sun { module star { module style {
+
+//=============================================================================
+
+// DocMerge from xml: enum com::sun::star::style::BreakType
+/** These enumeration values are used to specify if and how a page or
+ column break is applied.
+ */
+published enum BreakType
+{
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: value com::sun::star::style::BreakType::NONE
+ /** No column or page break is applied.
+ */
+ NONE,
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: value com::sun::star::style::BreakType::COLUMN_BEFORE
+ /** A column break is applied before the object to which it belongs.
+
+
+
+ <p>This implies that the object to which it belongs is the
+ first in its column.</p>
+ */
+ COLUMN_BEFORE,
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: value com::sun::star::style::BreakType::COLUMN_AFTER
+ /** A column break is applied after the object to which it belongs.
+
+
+
+ <p>This implies that the object to which it belongs is the last
+ in its column.</p>
+ */
+ COLUMN_AFTER,
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: value com::sun::star::style::BreakType::COLUMN_BOTH
+ /** A column break is applied before and after the object to which
+ it belongs.
+
+
+
+ <p>This implies that this object is the only one in its column.</p>
+ */
+ COLUMN_BOTH,
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: value com::sun::star::style::BreakType::PAGE_BEFORE
+ /** A page break is applied before the object to which it belongs.
+
+
+
+ <p>This implies that the object to which it belongs is the
+ first on its page. </p>
+ */
+ PAGE_BEFORE,
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: value com::sun::star::style::BreakType::PAGE_AFTER
+ /** A page break is applied after the object to which it belongs.
+
+
+
+ <p>This implies that the object to which it belongs is the last
+ on its page.</p>
+ */
+ PAGE_AFTER,
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: value com::sun::star::style::BreakType::PAGE_BOTH
+ /** A page break is applied before and after the object to which
+ it belongs.
+
+
+
+ <p>This implies that this object is the only one on its page.</p>
+ */
+ PAGE_BOTH
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+/*=============================================================================
+
+=============================================================================*/
+#endif
diff --git a/offapi/com/sun/star/style/CaseMap.idl b/offapi/com/sun/star/style/CaseMap.idl
new file mode 100644
index 000000000000..3298ad64a99d
--- /dev/null
+++ b/offapi/com/sun/star/style/CaseMap.idl
@@ -0,0 +1,87 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * 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_style_CaseMap_idl__
+#define __com_sun_star_style_CaseMap_idl__
+
+
+//=============================================================================
+
+ module com { module sun { module star { module style {
+
+//=============================================================================
+
+// DocMerge from idl: constants com::sun::star::style::CaseMap
+/** These constants are used to specify a case-related mapping for
+ formatting and displaying characters.
+ */
+published constants CaseMap
+{
+ //-------------------------------------------------------------------------
+
+ // DocMerge from idl: value com::sun::star::style::CaseMap::NONE
+ /** The case of the characters is unchanged.
+ */
+ const short NONE = 0;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from idl: value com::sun::star::style::CaseMap::UPPERCASE
+ /** All characters are put in upper case.
+ */
+ const short UPPERCASE = 1;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from idl: value com::sun::star::style::CaseMap::LOWERCASE
+ /** All characters are put in lower case.
+ */
+ const short LOWERCASE = 2;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from idl: value com::sun::star::style::CaseMap::TITLE
+ /** The first character of each word is put in upper case.
+ */
+ const short TITLE = 3;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from idl: value com::sun::star::style::CaseMap::SMALLCAPS
+ /** All characters are put in upper case, but with a smaller font height.
+ */
+ const short SMALLCAPS = 4;
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+/*=============================================================================
+
+=============================================================================*/
+#endif
diff --git a/offapi/com/sun/star/style/CellStyle.idl b/offapi/com/sun/star/style/CellStyle.idl
new file mode 100644
index 000000000000..ad57b46f9bcb
--- /dev/null
+++ b/offapi/com/sun/star/style/CellStyle.idl
@@ -0,0 +1,60 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * 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_style_CellStyle_idl__
+#define __com_sun_star_style_CellStyle_idl__
+
+#ifndef __com_sun_star_style_Style_idl__
+#include <com/sun/star/style/Style.idl>
+#endif
+
+//=============================================================================
+
+module com { module sun { module star { module style {
+
+//=============================================================================
+
+/** is a common service for table cell styles.
+
+ @see com::sun::star::sheet::TableCellStyle
+ */
+published service CellStyle
+{
+ //-------------------------------------------------------------------------
+
+ /** provides common functionality for styles.
+ */
+ service com::sun::star::style::Style;
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
+
diff --git a/offapi/com/sun/star/style/CharacterProperties.idl b/offapi/com/sun/star/style/CharacterProperties.idl
new file mode 100644
index 000000000000..e7dcc6846938
--- /dev/null
+++ b/offapi/com/sun/star/style/CharacterProperties.idl
@@ -0,0 +1,450 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * 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_style_CharacterProperties_idl__
+#define __com_sun_star_style_CharacterProperties_idl__
+
+#ifndef __com_sun_star_lang_Locale_idl__
+#include <com/sun/star/lang/Locale.idl>
+#endif
+
+#ifndef __com_sun_star_util_Color_idl__
+#include <com/sun/star/util/Color.idl>
+#endif
+
+#ifndef __com_sun_star_awt_FontSlant_idl__
+#include <com/sun/star/awt/FontSlant.idl>
+#endif
+
+#ifndef __com_sun_star_container_XNameContainer_idl__
+#include <com/sun/star/container/XNameContainer.idl>
+#endif
+
+
+//=============================================================================
+
+ module com { module sun { module star { module style {
+
+//=============================================================================
+
+/** This is a set of properties to describe the style of characters.@see ParagraphProperties
+ */
+published service CharacterProperties
+{
+ //-------------------------------------------------------------------------
+
+ /** This property specifies the name of the font style.
+
+ <p>It may contain more than one name separated by comma.</p>
+ */
+ [property] string CharFontName;
+
+ //-------------------------------------------------------------------------
+
+ /** This property contains the name of the font style.
+
+ <p>This property may be empty.</p>
+ */
+ [property] string CharFontStyleName;
+
+ //-------------------------------------------------------------------------
+
+ /** This property contains font family.
+ @see com::sun::star::awt::FontFamily
+ */
+ [property] short CharFontFamily;
+
+ //-------------------------------------------------------------------------
+
+ /** This property contains the text encoding of the font.
+ @see com::sun::star::awt::CharSet
+ */
+ [property] short CharFontCharSet;
+
+ //-------------------------------------------------------------------------
+
+ /** This property contains the font pitch.
+ @see com::sun::star::awt::FontPitch
+ */
+ [property] short CharFontPitch;
+
+ //-------------------------------------------------------------------------
+
+ /** This property contains the value of the text color.
+ */
+ [property] com::sun::star::util::Color CharColor;
+
+ //-------------------------------------------------------------------------
+
+ /** specifies the percentage of raisement/lowerment of superscript/subscript
+ characters.
+
+ <p>Negative values denote subscripts and positive values superscripts.</p>
+
+ @see CharEscapementHeight
+ */
+ [optional, property] short CharEscapement;
+
+ //-------------------------------------------------------------------------
+
+ /** This value contains the height of the characters in point.
+ */
+ [property] float CharHeight;
+
+ //-------------------------------------------------------------------------
+
+ /** This property contains the value for the character underline.
+ @see com::sun::star::awt::FontUnderline
+ */
+ [property] short CharUnderline;
+
+ //-------------------------------------------------------------------------
+
+ /** This property contains the value of the font weight.
+ @see com::sun::star::awt::FontWeight
+ */
+ [property] float CharWeight;
+
+ //-------------------------------------------------------------------------
+
+ /** This property contains the value of the posture of the document.
+ @see com::sun::star::awt::FontSlant
+ */
+ [property] com::sun::star::awt::FontSlant CharPosture;
+
+ //-------------------------------------------------------------------------
+
+ /** This optional property determines whether the kerning tables from the
+ current font are used.
+
+ <p>Automatic <em>kerning</em> applies a spacing in between certain
+ pairs of characters to make the text look better.</p>
+ */
+ [optional, property] boolean CharAutoKerning;
+
+ //-------------------------------------------------------------------------
+
+ /** This optional property contains the text background color.
+ */
+ [optional, property] com::sun::star::util::Color CharBackColor;
+
+ //-------------------------------------------------------------------------
+
+ /** This property determines if the text background color is set to
+ transparent.
+ */
+ [optional, property] boolean CharBackTransparent;
+
+ //-------------------------------------------------------------------------
+
+ /** This optional property contains the value of the case-mapping of the
+ text for formatting and displaying.
+
+ @see CaseMap
+ */
+ [optional, property] short CharCaseMap;
+
+ //-------------------------------------------------------------------------
+
+ /** This property is <TRUE/> if the characters are crossed out.
+ */
+ [optional, property] boolean CharCrossedOut;
+
+ //-------------------------------------------------------------------------
+
+ /** If this optional property is <TRUE/>, then the characters are flashing.
+ */
+ [optional, property] boolean CharFlash;
+
+ //-------------------------------------------------------------------------
+
+ /** This property determins the type of the strike out of the character.
+ @see com::sun::star::awt::FontStrikeout
+ */
+ [optional, property] short CharStrikeout;
+
+ //-------------------------------------------------------------------------
+
+ /** If this property is <TRUE/>, the underline and strike-through
+ properties are not applied to white spaces.
+ */
+ [optional, property] boolean CharWordMode;
+
+ //-------------------------------------------------------------------------
+
+ /** This optional property contains the value of the kerning of the
+ characters.
+ */
+ [optional, property] short CharKerning;
+
+ //-------------------------------------------------------------------------
+
+ /** This property contains the value of the locale.
+ */
+ [property] com::sun::star::lang::Locale CharLocale;
+
+ //-------------------------------------------------------------------------
+
+ /** This optional property marks a range of characters to prevent it from
+ being broken into two lines.
+
+ <p> A line break is applied before the range of characters if
+ the layout makes a break necessary within the range.</p>
+ */
+ [optional, property] boolean CharKeepTogether;
+
+ //-------------------------------------------------------------------------
+
+ /** This optional property marks a range of characters to ignore a line
+ break in this area.
+
+ <p> A line break is applied behind the range of characters if
+ the layout makes a break necessary within the range. That means that
+ the text may go through the border.</p>
+ */
+ [optional, property] boolean CharNoLineBreak;
+
+ //-------------------------------------------------------------------------
+
+ /** This optional property specifies if the characters are formatted and
+ displayed with a shadow effect.
+ */
+ [optional, property] boolean CharShadowed;
+
+ //-------------------------------------------------------------------------
+
+ /** This optional property specifies the fundamental technology of the font.
+ @see com::sun::star::awt::FontType
+ */
+ [optional, property] short CharFontType;
+
+ //-------------------------------------------------------------------------
+
+ /** This optional property specifies the name of the style of the font.
+ */
+ [optional, property] string CharStyleName;
+
+ //-------------------------------------------------------------------------
+
+ /** This optional property specifies if the characters are formatted and
+ displayed with a contour effect.
+ */
+ [optional, property] boolean CharContoured;
+
+ //-------------------------------------------------------------------------
+
+ /** This optional property determins whether text is formatted in two lines.
+
+ <p>It is linked to the properties CharCombinePrefix and CharCombineSuffix.</p>
+ */
+ [optional, property] boolean CharCombineIsOn;
+
+ //-------------------------------------------------------------------------
+
+ /** This optional property contains the prefix (usually parenthesis) before
+ text that is formatted in two lines.
+
+ <p>It is linked to the properties CharCombineIsOn and CharCombineSuffix.</p>
+ */
+ [optional, property] string CharCombinePrefix;
+
+ //-------------------------------------------------------------------------
+
+ /** This optional property contains the suffix (usually parenthesis) after
+ text that is formatted in two lines.
+
+ <p>It is linked to the properties CharCombineIsOn and CharCombinePrefix.</p>
+ */
+ [optional, property] string CharCombineSuffix;
+
+ //-------------------------------------------------------------------------
+
+ /** This optional property contains the font emphasis value.
+ @see com::sun::star::text::FontEmphasis
+ */
+ [optional, property] short CharEmphasis;
+
+ //-------------------------------------------------------------------------
+
+ /** This optional property contains the relief style of the characters.
+ @see com::sun::star::text::FontRelief
+ */
+ [optional, property] short CharRelief;
+
+ //-------------------------------------------------------------------------
+
+ /** This optional property contains the text that is set as ruby.
+ */
+ [optional, property] string RubyText;
+
+ //-------------------------------------------------------------------------
+
+ /** This optional property determins the adjustment of the ruby .
+ @see com::sun::star::text::RubyAdjust
+ */
+ [optional, property] short RubyAdjust;
+
+ //-------------------------------------------------------------------------
+
+ /** This optional property contains the name of the character style that is
+ applied to RubyText.
+ */
+ [optional, property] string RubyCharStyleName;
+
+ //-------------------------------------------------------------------------
+
+ /** This optional property determins whether the ruby text is printed
+ above/left or below/right of the text.
+ */
+ [optional, property] boolean RubyIsAbove;
+
+ //-------------------------------------------------------------------------
+
+ /** This optional property determins the rotation of a character in tenths
+ of a degree.
+
+ <p>Depending on the implementation only certain values may be allowed.</p>
+ */
+ [optional, property] short CharRotation;
+
+ //-------------------------------------------------------------------------
+
+ /** This optional property determins whether the text formatting tries to
+ fit rotated text into the surrounded line height.
+ */
+ [optional, property] boolean CharRotationIsFitToLine;
+
+ //-------------------------------------------------------------------------
+
+ /** This optional property determins the percentage value for scaling the
+ width of characters.
+
+ <p>The value refers to the original width which is denoted by 100,
+ and it has to be greater than 0.</p>
+ */
+ [optional, property] short CharScaleWidth;
+
+ //-------------------------------------------------------------------------
+
+ /** This optional property contains the URL of a hyperlink.
+ */
+ [optional, property] string HyperLinkURL;
+
+ //-------------------------------------------------------------------------
+
+ /** This optional property contains the name of the target for a hyperlink.
+ */
+ [optional, property] string HyperLinkTarget;
+
+ //-------------------------------------------------------------------------
+
+ /** This optional property contains the name of the hyperlink.
+ */
+ [optional, property] string HyperLinkName;
+
+ //-------------------------------------------------------------------------
+
+ /** This optional property contains the character style name for visited
+ hyperlinks.
+ */
+ [optional, property] string VisitedCharStyleName;
+
+ //-------------------------------------------------------------------------
+
+ /** This optional property contains the character style name for unvisited
+ hyperlinks.
+ */
+ [optional, property] string UnvisitedCharStyleName;
+
+ //-------------------------------------------------------------------------
+
+ /** This is the relative height used for subscript or superscript
+ characters in units of percent.
+
+ <p>The value 100 denotes the original height of the characters.</p>
+
+ @see CharEscapement
+ */
+ [optional, property] byte CharEscapementHeight;
+
+ //-------------------------------------------------------------------------
+
+ /** This optional property determines if the word can be hyphenated at the
+ character.
+ */
+ [optional, property] boolean CharNoHyphenation;
+
+ //-------------------------------------------------------------------------
+
+ /** This property contains the color of the underline for the characters.
+ @see CharUnderlineHasColor
+ */
+ [property] com::sun::star::util::Color CharUnderlineColor;
+
+ //-------------------------------------------------------------------------
+
+ /** This property specifies if the property CharUnderlineColor is used for
+ an underline.
+ @see CharUnderlineColor
+ */
+ [property] boolean CharUnderlineHasColor;
+
+ //-------------------------------------------------------------------------
+
+ /** This optional property specifies the names of the all styles applied to
+ the font.
+
+ <p> It is not guaranteed that the order in the sequence reflects
+ the order of the evaluation of the character style attributes.</p>
+
+ @since OOo 1.1.2
+ */
+ [optional, property] sequence<string> CharStyleNames;
+
+ //-------------------------------------------------------------------------
+
+ /** If this optional property is <TRUE/>, then the characters are invisible.
+
+ @since OOo 2.0.0
+ */
+ [optional, property] boolean CharHidden;
+
+ //-------------------------------------------------------------------------
+
+ /** This property stores XML attributes. They will be saved to and restored
+ from automatic styles inside XML files.
+
+ @see com::sun::star::xml::AttributeContainer
+ */
+ [optional, property] com::sun::star::container::XNameContainer TextUserDefinedAttributes;
+
+};
+
+//=============================================================================
+}; }; }; };
+
+#endif
+
diff --git a/offapi/com/sun/star/style/CharacterPropertiesAsian.idl b/offapi/com/sun/star/style/CharacterPropertiesAsian.idl
new file mode 100644
index 000000000000..4eeb2aa4959a
--- /dev/null
+++ b/offapi/com/sun/star/style/CharacterPropertiesAsian.idl
@@ -0,0 +1,91 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * 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_style_CharacterPropertiesAsian_idl__
+#define __com_sun_star_style_CharacterPropertiesAsian_idl__
+
+#ifndef __com_sun_star_lang_Locale_idl__
+#include <com/sun/star/lang/Locale.idl>
+#endif
+#ifndef __com_sun_star_awt_FontSlant_idl__
+#include <com/sun/star/awt/FontSlant.idl>
+#endif
+
+
+//=============================================================================
+
+ module com { module sun { module star { module style {
+
+//=============================================================================
+/** This is a set of properties to describe the style of characters in asian texts.
+ */
+published service CharacterPropertiesAsian
+{
+ //-------------------------------------------------------------------------
+ /** This value contains the height of the characters in point.
+ */
+ [property] float CharHeightAsian;
+ //-------------------------------------------------------------------------
+ /** This property contains the value of the font weight.@see com::sun::star::awt::FontWeight
+ */
+ [property] float CharWeightAsian;
+ //-------------------------------------------------------------------------
+ /** This property specifies the name of the font style.
+ <p>It may contain more than one name separated by comma.</p>
+ */
+ [property] string CharFontNameAsian;
+ //-------------------------------------------------------------------------
+ /** This property contains the name of the font style.
+ <p>This property may be empty.</p>
+ */
+ [property] string CharFontStyleNameAsian;
+ //-------------------------------------------------------------------------
+ /** This property contains font family as specified in
+ com.sun.star.awt.FontFamily .
+ */
+ [property] short CharFontFamilyAsian;
+ //-------------------------------------------------------------------------
+ /** This property contains the text encoding of the font as specified in
+ com.sun.star.awt.CharSet.
+ */
+ [property] short CharFontCharSetAsian;
+ //-------------------------------------------------------------------------
+ /** This property contains the font pitch as specified in com.sun.star.awt.FontPitch.
+ */
+ [property] short CharFontPitchAsian;
+ //-------------------------------------------------------------------------
+ /** This property contains the value of the posture of the document.@see com::sun::star::awt::FontSlant
+ */
+ [property] com::sun::star::awt::FontSlant CharPostureAsian;
+
+ //-------------------------------------------------------------------------
+ /** contains the value of the locale.
+ */
+ [property] com::sun::star::lang::Locale CharLocaleAsian;
+};
+}; }; }; };
+#endif
+
diff --git a/offapi/com/sun/star/style/CharacterPropertiesComplex.idl b/offapi/com/sun/star/style/CharacterPropertiesComplex.idl
new file mode 100644
index 000000000000..14a24e9ca27c
--- /dev/null
+++ b/offapi/com/sun/star/style/CharacterPropertiesComplex.idl
@@ -0,0 +1,91 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * 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_style_CharacterProperties_Complex_idl__
+#define __com_sun_star_style_CharacterProperties_Complex_idl__
+
+#ifndef __com_sun_star_lang_Locale_idl__
+#include <com/sun/star/lang/Locale.idl>
+#endif
+#ifndef __com_sun_star_awt_FontSlant_idl__
+#include <com/sun/star/awt/FontSlant.idl>
+#endif
+
+//=============================================================================
+
+ module com { module sun { module star { module style {
+
+//=============================================================================
+
+/** This is a set of properties to describe the style of characters in complex texts.
+ */
+published service CharacterPropertiesComplex
+{
+ //-------------------------------------------------------------------------
+ /** This value contains the height of the characters in point.
+ */
+ [property] float CharHeightComplex;
+ //-------------------------------------------------------------------------
+ /** This property contains the value of the font weight.@see com::sun::star::awt::FontWeight
+ */
+ [property] float CharWeightComplex;
+ //-------------------------------------------------------------------------
+ /** This property specifies the name of the font style.
+ <p>It may contain more than one name separated by comma.</p>
+ */
+ [property] string CharFontNameComplex;
+ //-------------------------------------------------------------------------
+ /** This property contains the name of the font style.
+ <p>This property may be empty.</p>
+ */
+ [property] string CharFontStyleNameComplex;
+ //-------------------------------------------------------------------------
+ /** This property contains font family as specified in
+ com.sun.star.awt.FontFamily .
+ */
+ [property] short CharFontFamilyComplex;
+ //-------------------------------------------------------------------------
+ /** This property contains the text encoding of the font as specified in
+ com.sun.star.awt.CharSet.
+ */
+ [property] short CharFontCharSetComplex;
+ //-------------------------------------------------------------------------
+ /** This property contains the font pitch as specified in com.sun.star.awt.FontPitch.
+ */
+ [property] short CharFontPitchComplex;
+ //-------------------------------------------------------------------------
+ /** This property contains the value of the posture of the document.@see com::sun::star::awt::FontSlant
+ */
+ [property] com::sun::star::awt::FontSlant CharPostureComplex;
+
+ //-------------------------------------------------------------------------
+ /** contains the value of the locale.
+ */
+ [property] com::sun::star::lang::Locale CharLocaleComplex;
+};
+}; }; }; };
+#endif
+
diff --git a/offapi/com/sun/star/style/CharacterStyle.idl b/offapi/com/sun/star/style/CharacterStyle.idl
new file mode 100644
index 000000000000..35701fa07609
--- /dev/null
+++ b/offapi/com/sun/star/style/CharacterStyle.idl
@@ -0,0 +1,86 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * 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_style_CharacterStyle_idl__
+#define __com_sun_star_style_CharacterStyle_idl__
+
+#ifndef __com_sun_star_style_CharacterProperties_idl__
+#include <com/sun/star/style/CharacterProperties.idl>
+#endif
+
+#ifndef __com_sun_star_style_Style_idl__
+#include <com/sun/star/style/Style.idl>
+#endif
+
+//=============================================================================
+
+ module com { module sun { module star { module style {
+
+//=============================================================================
+
+/** specifies a stylesheet for characters within a
+ <type scope="com::sun::star::text">Text</type>.
+ */
+published service CharacterStyle
+{
+ //-------------------------------------------------------------------------
+ /// specifies administrative properties.
+ service Style;
+
+ //-------------------------------------------------------------------------
+ /// specifies the style properties.
+ service CharacterProperties;
+ /** This value contains the character height as difference in point to the height of
+ the character in the parent style.
+ */
+ [property] float CharDiffHeight;
+ /** This value contains the character height as percentage value relative to the height of
+ the character in the parent style.
+ */
+ [property] short CharPropHeight;
+ /** This value contains the character height as difference in point to the height of
+ the character in the parent style in Asian text.
+ */
+ [property] float CharDiffHeightAsian;
+ /** This value contains the character height as percentage value relative to the height of
+ the character in the parent style in Asian text.
+ */
+ [property] short CharPropHeightAsian;
+ /** This value contains the character height as difference in point to the height of
+ the character in the parent style in complex text.
+ */
+ [property] float CharDiffHeightComplex;
+ /** This value contains the character height as percentage value relative to the height of
+ the character in the parent style in complex text.
+ */
+ [property] short CharPropHeightComplex;
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/offapi/com/sun/star/style/DropCapFormat.idl b/offapi/com/sun/star/style/DropCapFormat.idl
new file mode 100644
index 000000000000..5bc09c247d1b
--- /dev/null
+++ b/offapi/com/sun/star/style/DropCapFormat.idl
@@ -0,0 +1,70 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * 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_style_DropCapFormat_idl__
+#define __com_sun_star_style_DropCapFormat_idl__
+
+
+//=============================================================================
+
+ module com { module sun { module star { module style {
+
+//=============================================================================
+
+// DocMerge from xml: struct com::sun::star::style::DropCapFormat
+/** This struct describes drop caps at a paragraph object.
+ */
+published struct DropCapFormat
+{
+ // DocMerge from xml: field com::sun::star::style::DropCapFormat::Lines
+ /** This is the number of lines used for a drop cap.
+ */
+ byte Lines;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: field com::sun::star::style::DropCapFormat::Count
+ /** This is the number of characters in the drop cap.
+ */
+ byte Count;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: field com::sun::star::style::DropCapFormat::Distance
+ /** This is the distance between the drop cap in the following text.
+ */
+ short Distance;
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+/*=============================================================================
+
+=============================================================================*/
+#endif
diff --git a/offapi/com/sun/star/style/GraphicLocation.idl b/offapi/com/sun/star/style/GraphicLocation.idl
new file mode 100644
index 000000000000..9a6d3fe4badc
--- /dev/null
+++ b/offapi/com/sun/star/style/GraphicLocation.idl
@@ -0,0 +1,137 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * 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_style_GraphicLocation_idl__
+#define __com_sun_star_style_GraphicLocation_idl__
+
+
+//=============================================================================
+
+ module com { module sun { module star { module style {
+
+//=============================================================================
+
+// DocMerge from xml: enum com::sun::star::style::GraphicLocation
+/** These enumeration values are used to specify the location of a
+ graphic object within its surroundings.
+ */
+published enum GraphicLocation
+{
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: value com::sun::star::style::GraphicLocation::NONE
+ /** This value specifies that a location is not yet assigned.
+ */
+ NONE,
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: value com::sun::star::style::GraphicLocation::LEFT_TOP
+ /** The graphic is located in the top left corner.
+ */
+ LEFT_TOP,
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: value com::sun::star::style::GraphicLocation::MIDDLE_TOP
+ /** The graphic is located in the middle of the top edge.
+ */
+ MIDDLE_TOP,
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: value com::sun::star::style::GraphicLocation::RIGHT_TOP
+ /** The graphic is located in the top right corner.
+ */
+ RIGHT_TOP,
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: value com::sun::star::style::GraphicLocation::LEFT_MIDDLE
+ /** The graphic is located in the middle of the left edge.
+ */
+ LEFT_MIDDLE,
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: value com::sun::star::style::GraphicLocation::MIDDLE_MIDDLE
+ /** The graphic is located at the center of the surrounding object.
+ */
+ MIDDLE_MIDDLE,
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: value com::sun::star::style::GraphicLocation::RIGHT_MIDDLE
+ /** The graphic is located in the middle of the right edge.
+ */
+ RIGHT_MIDDLE,
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: value com::sun::star::style::GraphicLocation::LEFT_BOTTOM
+ /** The graphic is located in the bottom left corner.
+ */
+ LEFT_BOTTOM,
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: value com::sun::star::style::GraphicLocation::MIDDLE_BOTTOM
+ /** The graphic is located in the middle of the bottom edge.
+ */
+ MIDDLE_BOTTOM,
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: value com::sun::star::style::GraphicLocation::RIGHT_BOTTOM
+ /** The graphic is located in the bottom right corner.
+ */
+ RIGHT_BOTTOM,
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: value com::sun::star::style::GraphicLocation::AREA
+ /** The graphic is scaled to fill the whole surrounding area.
+ */
+ AREA,
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: value com::sun::star::style::GraphicLocation::TILED
+ /** The graphic is repeatedly spread over the surrounding object
+ like tiles.
+ */
+ TILED
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+/*=============================================================================
+
+=============================================================================*/
+#endif
diff --git a/offapi/com/sun/star/style/HorizontalAlignment.idl b/offapi/com/sun/star/style/HorizontalAlignment.idl
new file mode 100644
index 000000000000..d5a6c5434523
--- /dev/null
+++ b/offapi/com/sun/star/style/HorizontalAlignment.idl
@@ -0,0 +1,76 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * 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_style_HorizontalAlignment_idl__
+#define __com_sun_star_style_HorizontalAlignment_idl__
+
+
+//=============================================================================
+
+ module com { module sun { module star { module style {
+
+//=============================================================================
+
+// DocMerge from xml: enum com::sun::star::style::HorizontalAlignment
+/** values specify the horizontal alignment of
+ an object within a container object.
+ */
+published enum HorizontalAlignment
+{
+ //-------------------------------------------------------------------------
+ // DOCUMENTATION OMITTED FOR HorizontalAlignment:: LEFT,
+
+ // DocMerge from xml: value com::sun::star::style::HorizontalAlignment::LEFT
+ /** set the horizontal alignment to the left margin from the container object
+ */
+ LEFT,
+
+ //-------------------------------------------------------------------------
+ // DOCUMENTATION OMITTED FOR HorizontalAlignment:: CENTER,
+
+ // DocMerge from xml: value com::sun::star::style::HorizontalAlignment::CENTER
+ /** set the horizontal alignment to the center between the margins from the container object
+ */
+ CENTER,
+
+ //-------------------------------------------------------------------------
+ // DOCUMENTATION OMITTED FOR HorizontalAlignment:: RIGHT
+
+ // DocMerge from xml: value com::sun::star::style::HorizontalAlignment::RIGHT
+ /** set the horizontal alignment to the right margin from the container object
+ */
+ RIGHT
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+/*=============================================================================
+
+=============================================================================*/
+#endif
diff --git a/offapi/com/sun/star/style/LineNumberPosition.idl b/offapi/com/sun/star/style/LineNumberPosition.idl
new file mode 100644
index 000000000000..7f26475900ab
--- /dev/null
+++ b/offapi/com/sun/star/style/LineNumberPosition.idl
@@ -0,0 +1,80 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * 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_style_LineNumberPosition_idl__
+#define __com_sun_star_style_LineNumberPosition_idl__
+
+
+//=============================================================================
+
+ module com { module sun { module star { module style {
+
+//=============================================================================
+
+// DocMerge from idl: constants com::sun::star::style::LineNumberPosition
+/** These constants are used to specify the position of the numbering
+ of lines.
+ */
+published constants LineNumberPosition
+{
+ //-------------------------------------------------------------------------
+
+ // DocMerge from idl: value com::sun::star::style::LineNumberPosition::LEFT
+ /** the number occurs on the left side of the pages.
+ */
+ const short LEFT = 0;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from idl: value com::sun::star::style::LineNumberPosition::RIGHT
+ /** the number occurs on the right side of the pages.
+ */
+ const short RIGHT = 1;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from idl: value com::sun::star::style::LineNumberPosition::INSIDE
+ /** the number occurs alternating on the inner side of the pages.
+ */
+ const short INSIDE = 2;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from idl: value com::sun::star::style::LineNumberPosition::OUTSIDE
+ /** the number occurs alternating on the outside side of the pages.
+ */
+ const short OUTSIDE = 3;
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+/*=============================================================================
+
+=============================================================================*/
+#endif
diff --git a/offapi/com/sun/star/style/LineSpacing.idl b/offapi/com/sun/star/style/LineSpacing.idl
new file mode 100644
index 000000000000..2baed2b9a558
--- /dev/null
+++ b/offapi/com/sun/star/style/LineSpacing.idl
@@ -0,0 +1,63 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * 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_style_LineSpacing_idl__
+#define __com_sun_star_style_LineSpacing_idl__
+
+
+//=============================================================================
+
+ module com { module sun { module star { module style {
+
+//=============================================================================
+
+// DocMerge from xml: struct com::sun::star::style::LineSpacing
+/** This structure is used to specify the height of a text line.@see LineSpacingMode
+ */
+published struct LineSpacing
+{
+ // DocMerge from xml: field com::sun::star::style::LineSpacing::Mode
+ /** This value specifies the way the height is specified.
+ */
+ short Mode;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: field com::sun::star::style::LineSpacing::Height
+ /** This value specifies the height in regard to <var>Mode</var>.
+ */
+ short Height;
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+/*=============================================================================
+
+=============================================================================*/
+#endif
diff --git a/offapi/com/sun/star/style/LineSpacingMode.idl b/offapi/com/sun/star/style/LineSpacingMode.idl
new file mode 100644
index 000000000000..add5058bd11a
--- /dev/null
+++ b/offapi/com/sun/star/style/LineSpacingMode.idl
@@ -0,0 +1,79 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * 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_style_LineSpacingMode_idl__
+#define __com_sun_star_style_LineSpacingMode_idl__
+
+
+//=============================================================================
+
+ module com { module sun { module star { module style {
+
+//=============================================================================
+
+// DocMerge from idl: constants com::sun::star::style::LineSpacingMode
+/** These constants specify the interpretation of LineHeight.
+ */
+published constants LineSpacingMode
+{
+ //-------------------------------------------------------------------------
+
+ // DocMerge from idl: value com::sun::star::style::LineSpacingMode::PROP
+ /** This constant specifies the height value as a proportional value.
+ */
+ const short PROP = 0;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from idl: value com::sun::star::style::LineSpacingMode::MINIMUM
+ /** This constant specifies the height as the minimum line height.
+ */
+ const short MINIMUM = 1;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from idl: value com::sun::star::style::LineSpacingMode::LEADING
+ /** This constant specifies the height value as the distance to the previous line.
+ */
+ const short LEADING = 2;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from idl: value com::sun::star::style::LineSpacingMode::FIX
+ /** This constant specifies the height value as a fixed line height.
+ */
+ const short FIX = 3;
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+/*=============================================================================
+
+=============================================================================*/
+#endif
diff --git a/offapi/com/sun/star/style/NumberingAlignment.idl b/offapi/com/sun/star/style/NumberingAlignment.idl
new file mode 100644
index 000000000000..11081a7e0823
--- /dev/null
+++ b/offapi/com/sun/star/style/NumberingAlignment.idl
@@ -0,0 +1,83 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * 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_style_NumberingAlignment_idl__
+#define __com_sun_star_style_NumberingAlignment_idl__
+
+#ifndef __com_sun_star_style_HorizontalAlignment_idl__
+#include <com/sun/star/style/HorizontalAlignment.idl>
+#endif
+
+
+//=============================================================================
+
+ module com { module sun { module star { module style {
+
+//=============================================================================
+
+// DocMerge from xml: service com::sun::star::style::NumberingAlignment
+/** specify the alignment of a numbering level.
+ */
+published service NumberingAlignment
+{
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: property com::sun::star::style::NumberingAlignment::Alignment
+ /** set the alignment from the numbering. Use the com::sun::star::style::HorizontalAlignment enum to change the alignment.
+ */
+ [property] com::sun::star::style::HorizontalAlignment Alignment;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: property com::sun::star::style::NumberingAlignment::TextMarginDistance
+ /** the minimum distance between the numbering symbol and the following text.
+ */
+ [property] short TextMarginDistance;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: property com::sun::star::style::NumberingAlignment::TextNumberingDistance
+ /** the distance between left margin and the numbering symbol.
+ */
+ [property] short TextNumberingDistance;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: property com::sun::star::style::NumberingAlignment::Insertion
+ /** the distance between the numbering symbol and text.
+ */
+ [property] short Insertion;
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+/*=============================================================================
+
+=============================================================================*/
+#endif
diff --git a/offapi/com/sun/star/style/NumberingLevel.idl b/offapi/com/sun/star/style/NumberingLevel.idl
new file mode 100644
index 000000000000..1d180e4a11e0
--- /dev/null
+++ b/offapi/com/sun/star/style/NumberingLevel.idl
@@ -0,0 +1,121 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * 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_style_NumberingLevel_idl__
+#define __com_sun_star_style_NumberingLevel_idl__
+
+
+//=============================================================================
+
+ module com { module sun { module star { module style {
+
+//=============================================================================
+
+// DocMerge from xml: service com::sun::star::style::NumberingLevel
+/** These properties describe the numbering of a paragraph.
+
+
+
+ <p>NumberType determines the type of the numbering symbol.
+ Depending on this setting, some of the following values will be
+ ignored.</p>
+ */
+published service NumberingLevel
+{
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: property com::sun::star::style::NumberingLevel::NumberingType
+ /** specifies the type of numbering.@see NumberingType
+ */
+ [property] short NumberingType;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: property com::sun::star::style::NumberingLevel::ParentNumbering
+ /** specifies the number of higher numbering levels that
+ are included in the representation of the current number.
+ */
+ [property] short ParentNumbering;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: property com::sun::star::style::NumberingLevel::Prefix
+ /** This prefix is inserted in front of the numbering symbol(s).
+ */
+ [property] string Prefix;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: property com::sun::star::style::NumberingLevel::Suffix
+ /** This suffix is inserted after the numbering symbol(s).
+ */
+ [property] string Suffix;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: property com::sun::star::style::NumberingLevel::CharStyleName
+ /** This is the name of the character style that is used for the symbol(s).
+ */
+ [property] string CharStyleName;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: property com::sun::star::style::NumberingLevel::BulletId
+ /** The bullet symbol with this code in the assigned font is used.
+ */
+ [property] short BulletId;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: property com::sun::star::style::NumberingLevel::BulletFontName
+ /** This is the name of the font that is used for the bullet.
+ */
+ [property] string BulletFontName;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: property com::sun::star::style::NumberingLevel::GraphicURL
+ /** This is the URL of a graphic file to use as a symbol.
+ */
+ [property] string GraphicURL;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: property com::sun::star::style::NumberingLevel::StartWith
+ /** This specifies the start value for the numbering.
+ */
+ [property] short StartWith;
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+/*=============================================================================
+
+=============================================================================*/
+#endif
diff --git a/offapi/com/sun/star/style/NumberingRule.idl b/offapi/com/sun/star/style/NumberingRule.idl
new file mode 100644
index 000000000000..c3a728042e86
--- /dev/null
+++ b/offapi/com/sun/star/style/NumberingRule.idl
@@ -0,0 +1,68 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * 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_style_NumberingRule_idl__
+#define __com_sun_star_style_NumberingRule_idl__
+
+#ifndef __com_sun_star_style_NumberingAlignment_idl__
+#include <com/sun/star/style/NumberingAlignment.idl>
+#endif
+
+#ifndef __com_sun_star_style_NumberingLevel_idl__
+#include <com/sun/star/style/NumberingLevel.idl>
+#endif
+
+
+//=============================================================================
+
+ module com { module sun { module star { module style {
+
+//=============================================================================
+
+// DocMerge from xml: service com::sun::star::style::NumberingRule
+/** specifies a rule to format numberings.
+
+ <p>It is normally represented by a sequence of
+ <type scope="com::sun::star::beans">PropertyValue</type>s.</p>
+ */
+published service NumberingRule
+{
+ // DocMerge: empty anyway
+ service com::sun::star::style::NumberingAlignment;
+
+ // DocMerge: empty anyway
+ service com::sun::star::style::NumberingLevel;
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+/*=============================================================================
+
+=============================================================================*/
+#endif
diff --git a/offapi/com/sun/star/style/NumberingType.idl b/offapi/com/sun/star/style/NumberingType.idl
new file mode 100644
index 000000000000..8a408f667f59
--- /dev/null
+++ b/offapi/com/sun/star/style/NumberingType.idl
@@ -0,0 +1,480 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * 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_style_NumberingType_idl__
+#define __com_sun_star_style_NumberingType_idl__
+
+
+//=============================================================================
+
+ module com { module sun { module star { module style {
+
+//=============================================================================
+/** These constants are used to specify which numbering style is used.
+ */
+published constants NumberingType
+{
+ //-------------------------------------------------------------------------
+ /** Numbering is put in upper case letters as "A, B, C, D, ...".
+ */
+ const short CHARS_UPPER_LETTER = 0;
+
+ //-------------------------------------------------------------------------
+ /** Numbering is in lower case letters as "a, b, c, e,...".
+ */
+ const short CHARS_LOWER_LETTER = 1;
+
+ //-------------------------------------------------------------------------
+ /** Numbering is in Roman numbers with upper case letters
+ as "I, II, III, IV, ...".
+ */
+ const short ROMAN_UPPER = 2;
+
+ //-------------------------------------------------------------------------
+ /** Numbering is in Roman numbers with lower case letters
+ as "i, ii, iii, iv, ...".
+ */
+ const short ROMAN_LOWER = 3;
+
+ //-------------------------------------------------------------------------
+ /** Numbering is in Arabic numbers as "1, 2, 3, 4, ...".
+ */
+ const short ARABIC = 4;
+
+ //-------------------------------------------------------------------------
+ /** Numbering is invisible.
+ */
+ const short NUMBER_NONE = 5;
+
+ //-------------------------------------------------------------------------
+ /** Use a character from a specified font.
+ */
+ const short CHAR_SPECIAL = 6;
+
+ //-------------------------------------------------------------------------
+ /** Numbering is specified in the page style.
+ */
+ const short PAGE_DESCRIPTOR = 7;
+
+ //-------------------------------------------------------------------------
+ /** Numbering is displayed as a bitmap graphic.
+ */
+ const short BITMAP = 8;
+
+ //-------------------------------------------------------------------------
+ /** Numbering is put in upper case letters as "A, B, ..., Y, Z,
+ AA, BB, CC, ... AAA, ...".
+ */
+ const short CHARS_UPPER_LETTER_N = 9;
+
+ //-------------------------------------------------------------------------
+ /** Numbering is put in lower case letters as "a, b, ..., y, z,
+ aa, bb, cc, ... aaa, ...".
+ */
+ const short CHARS_LOWER_LETTER_N =10;
+
+ //-------------------------------------------------------------------------
+ /** A transliteration module will be used to produce numbers in
+ chinese, japanese, etc.
+ */
+
+ const short TRANSLITERATION = 11;
+
+ //-------------------------------------------------------------------------
+ /** The nativenumbersupplier service will be called to produce numbers in
+ native languages.
+ */
+ const short NATIVE_NUMBERING = 12;
+
+ //-------------------------------------------------------------------------
+ /** Numbering for fullwidth Arabic number
+ */
+ const short FULLWIDTH_ARABIC = 13;
+
+ //-------------------------------------------------------------------------
+ /** Bullet for Circle Number
+ */
+ const short CIRCLE_NUMBER = 14;
+
+ //-------------------------------------------------------------------------
+ /** Numbering for Chinese lower case number
+ as "一,二,三..."
+ */
+ const short NUMBER_LOWER_ZH = 15;
+
+ //-------------------------------------------------------------------------
+ /** Numbering for Chinese upper case number
+ */
+ const short NUMBER_UPPER_ZH = 16;
+
+ //-------------------------------------------------------------------------
+ /** Numbering for Traditional Chinese upper case number
+ */
+ const short NUMBER_UPPER_ZH_TW = 17;
+
+ //-------------------------------------------------------------------------
+ /** Bullet for Chinese Tian Gan
+ as "甲,乙,丙..."
+ */
+ const short TIAN_GAN_ZH = 18;
+
+ //-------------------------------------------------------------------------
+ /** Bullet for Chinese Di Zi
+ as "子,丑,寅..."
+ */
+ const short DI_ZI_ZH = 19;
+
+ //-------------------------------------------------------------------------
+ /** Numbering for Japanese traditional number
+ */
+ const short NUMBER_TRADITIONAL_JA = 20;
+
+ //-------------------------------------------------------------------------
+ /** Bullet for Japanese AIU fullwidth
+ */
+ const short AIU_FULLWIDTH_JA = 21;
+
+ //-------------------------------------------------------------------------
+ /** Bullet for Japanese AIU halfwidth
+ */
+ const short AIU_HALFWIDTH_JA = 22;
+
+ //-------------------------------------------------------------------------
+ /** Bullet for Japanese IROHA fullwidth
+ */
+ const short IROHA_FULLWIDTH_JA = 23;
+
+ //-------------------------------------------------------------------------
+ /** Bullet for Japanese IROHA halfwidth
+ */
+ const short IROHA_HALFWIDTH_JA = 24;
+
+ //-------------------------------------------------------------------------
+ /** Numbering for Korean upper case number
+ as "壹,貳,參..."
+ */
+ const short NUMBER_UPPER_KO = 25;
+
+ //-------------------------------------------------------------------------
+ /** Numbering for Korean hangul number
+ as "일,이,삼..."
+ */
+ const short NUMBER_HANGUL_KO = 26;
+
+ //-------------------------------------------------------------------------
+ /** Bullet for Korean Hangul Jamo
+ as "ㄱ,ㄴ,ㄷ..."
+ */
+ const short HANGUL_JAMO_KO = 27;
+
+ //-------------------------------------------------------------------------
+ /** Bullet for Korean Hangul Syllable
+ as "가,나,다..."
+ */
+ const short HANGUL_SYLLABLE_KO = 28;
+
+ //-------------------------------------------------------------------------
+ /** Bullet for Korean Hangul Circled Jamo
+ as "㉠,㉡,㉢..."
+ */
+ const short HANGUL_CIRCLED_JAMO_KO = 29;
+
+ //-------------------------------------------------------------------------
+ /** Bullet for Korean Hangul Circled Syllable
+ as "㉮,㉯,㉰..."
+ */
+ const short HANGUL_CIRCLED_SYLLABLE_KO = 30;
+
+ //-------------------------------------------------------------------------
+ /** Numbering in Arabic alphabet letters
+ as "أ,ب,ت..."
+
+ @since OOo 1.1.2
+ */
+ const short CHARS_ARABIC = 31;
+
+ //-------------------------------------------------------------------------
+ /** Numbering in Thai alphabet letters
+
+ @since OOo 1.1.2
+ */
+ const short CHARS_THAI = 32;
+
+ //-------------------------------------------------------------------------
+ /** Numbering in Hebrew alphabet letters
+
+ @since OOo 2.0.0
+ */
+ const short CHARS_HEBREW = 33;
+
+ //-------------------------------------------------------------------------
+ /** Numbering in Nepali alphabet letters
+
+ @since OOo 2.0.1
+ */
+ const short CHARS_NEPALI = 34;
+
+ //-------------------------------------------------------------------------
+ /** Numbering in Khmer alphabet letters
+
+ @since OOo 2.0.1
+ */
+ const short CHARS_KHMER = 35;
+
+ //-------------------------------------------------------------------------
+ /** Numbering in Lao alphabet letters
+
+ @since OOo 2.0.1
+ */
+ const short CHARS_LAO = 36;
+ //-------------------------------------------------------------------------
+ /** Numbering in Tibetan/Dzongkha alphabet letters
+
+ @since OOo 2.0.3
+ */
+ const short CHARS_TIBETAN = 37;
+
+ //-------------------------------------------------------------------------
+ /** Numbering in Cyrillic alphabet upper case letters as
+ "&#1040;, &#1041;, &#1042;, &#1043;, ..., &#1070;, &#1071;, &#1040;&#1074;, &#1040;&#1072;, &#1040;&#1074;, ... &#1040;&#1072;&#1072;, &#1040;&#1072;&#1073;".
+
+ @since OOo 2.0.4
+ */
+ /*
+ Since IDL comments allow only 7-bit characters, hence the XHTML
+ entities above for the generated documentation, for the
+ developer here the human readable Unicode descriptions:
+
+ CYRILLIC CAPITAL LETTER A , CYRILLIC CAPITAL LETTER BE ,
+ CYRILLIC CAPITAL LETTER VE , CYRILLIC CAPITAL LETTER GHE , ... ,
+ CYRILLIC CAPITAL LETTER YU , CYRILLIC CAPITAL LETTER YA ,
+ CYRILLIC CAPITAL LETTER A CYRILLIC SMALL LETTER A ,
+ CYRILLIC CAPITAL LETTER A CYRILLIC SMALL LETTER BE ,
+ CYRILLIC CAPITAL LETTER A CYRILLIC SMALL LETTER VE , ...
+ CYRILLIC CAPITAL LETTER A CYRILLIC SMALL LETTER A CYRILLIC SMALL LETTER A ,
+ CYRILLIC CAPITAL LETTER A CYRILLIC SMALL LETTER A CYRILLIC SMALL LETTER BE
+ */
+ const short CHARS_CYRILLIC_UPPER_LETTER_BG = 38;
+
+ //-------------------------------------------------------------------------
+ /** Numbering in Cyrillic alphabet lower case letters as
+ "&#1072;, &#1073;, &#1074;, &#1075;, ..., &#1102;, &#1103;, &#1072; &#1072;, &#1072;&#1073;, &#1072;&#1074;, ... &#1072; &#1072; &#1072;, &#1072; &#1072;&#1073;".
+
+ @since OOo 2.0.4
+ */
+ /*
+ CYRILLIC SMALL LETTER A , CYRILLIC SMALL LETTER BE ,
+ CYRILLIC SMALL LETTER VE , CYRILLIC SMALL LETTER GHE , ... ,
+ CYRILLIC SMALL LETTER YU , CYRILLIC SMALL LETTER YA ,
+ CYRILLIC SMALL LETTER A CYRILLIC SMALL LETTER A ,
+ CYRILLIC SMALL LETTER A CYRILLIC SMALL LETTER BE ,
+ CYRILLIC SMALL LETTER A CYRILLIC SMALL LETTER VE , ...
+ CYRILLIC SMALL LETTER A CYRILLIC SMALL LETTER A CYRILLIC SMALL LETTER A ,
+ CYRILLIC SMALL LETTER A CYRILLIC SMALL LETTER A CYRILLIC SMALL LETTER BE
+ */
+ const short CHARS_CYRILLIC_LOWER_LETTER_BG = 39;
+
+ //-------------------------------------------------------------------------
+ /** Numbering in Cyrillic alphabet upper case letters as
+ "&#1040;, &#1041;, ..., &#1070;, &#1071;, &#1040;&#1072;, &#1041;&#1073;, &#1042;&#1074;, ... &#1040;&#1072;&#1072;, ...".
+
+ @since OOo 2.0.4
+ */
+ /*
+ CYRILLIC CAPITAL LETTER A , CYRILLIC CAPITAL LETTER BE , ... ,
+ CYRILLIC CAPITAL LETTER YU , CYRILLIC CAPITAL LETTER YA ,
+ CYRILLIC CAPITAL LETTER A CYRILLIC SMALL LETTER A ,
+ CYRILLIC CAPITAL LETTER BE CYRILLIC SMALL LETTER BE ,
+ CYRILLIC CAPITAL LETTER VE CYRILLIC SMALL LETTER VE , ...
+ CYRILLIC CAPITAL LETTER A CYRILLIC SMALL LETTER A CYRILLIC SMALL LETTER A , ...
+ */
+ const short CHARS_CYRILLIC_UPPER_LETTER_N_BG = 40;
+
+ //-------------------------------------------------------------------------
+ /** Numbering in Cyrillic alphabet upper case letters as
+ "&#1072;, &#1073;, ..., &#1102;, &#1103;, &#1072;&#1072;, &#1073;&#1073;, &#1074;&#1074;, ... &#1072;&#1072;&#1072;, ...".
+
+ @since OOo 2.0.4
+ */
+ /*
+ CYRILLIC SMALL LETTER A , CYRILLIC SMALL LETTER BE , ... ,
+ CYRILLIC SMALL LETTER YU , CYRILLIC SMALL LETTER YA ,
+ CYRILLIC SMALL LETTER A CYRILLIC SMALL LETTER A ,
+ CYRILLIC SMALL LETTER BE CYRILLIC SMALL LETTER BE ,
+ CYRILLIC SMALL LETTER VE CYRILLIC SMALL LETTER VE , ...
+ CYRILLIC SMALL LETTER A CYRILLIC SMALL LETTER A CYRILLIC SMALL LETTER A , ...
+ */
+ const short CHARS_CYRILLIC_LOWER_LETTER_N_BG = 41;
+
+ //-------------------------------------------------------------------------
+ /** Numbering in Russian Cyrillic alphabet upper case letters as
+ "&#1040;, &#1041;, &#1042;, &#1043;, ..., &#1070;, &#1071;, &#1040;&#1072;, &#1040;&#1073;, &#1040;&#1074;, ... &#1040;&#1072;&#1072;, &#1040;&#1072;&#1073;".
+
+ @since OOo 2.0.4
+ */
+ /*
+ CYRILLIC CAPITAL LETTER A , CYRILLIC CAPITAL LETTER BE ,
+ CYRILLIC CAPITAL LETTER VE , CYRILLIC CAPITAL LETTER GHE , ... ,
+ CYRILLIC CAPITAL LETTER YU , CYRILLIC CAPITAL LETTER YA ,
+ CYRILLIC CAPITAL LETTER A CYRILLIC SMALL LETTER A ,
+ CYRILLIC CAPITAL LETTER A CYRILLIC SMALL LETTER BE ,
+ CYRILLIC CAPITAL LETTER A CYRILLIC SMALL LETTER VE , ...
+ CYRILLIC CAPITAL LETTER A CYRILLIC SMALL LETTER A CYRILLIC SMALL LETTER A ,
+ CYRILLIC CAPITAL LETTER A CYRILLIC SMALL LETTER A CYRILLIC SMALL LETTER BE
+ */
+ const short CHARS_CYRILLIC_UPPER_LETTER_RU = 42;
+
+ //-------------------------------------------------------------------------
+ /** Numbering in Russian Cyrillic alphabet lower case letters as
+ "&#1072;, &#1073;, &#1074;, &#1075;, ..., &#1102;, &#1103;, &#1072;&#1072;, &#1072;&#1073;, &#1072;&#1074;, ... &#1072;&#1072;&#1072;, &#1072;&#1072;&#1073;".
+
+ @since OOo 2.0.4
+ */
+ /*
+ CYRILLIC SMALL LETTER A , CYRILLIC SMALL LETTER BE ,
+ CYRILLIC SMALL LETTER VE , CYRILLIC SMALL LETTER GHE , ... ,
+ CYRILLIC SMALL LETTER YU , CYRILLIC SMALL LETTER YA ,
+ CYRILLIC SMALL LETTER A CYRILLIC SMALL LETTER A ,
+ CYRILLIC SMALL LETTER A CYRILLIC SMALL LETTER BE ,
+ CYRILLIC SMALL LETTER A CYRILLIC SMALL LETTER VE , ...
+ CYRILLIC SMALL LETTER A CYRILLIC SMALL LETTER A CYRILLIC SMALL LETTER A ,
+ CYRILLIC SMALL LETTER A CYRILLIC SMALL LETTER A CYRILLIC SMALL LETTER BE
+ */
+ const short CHARS_CYRILLIC_LOWER_LETTER_RU = 43;
+
+ //-------------------------------------------------------------------------
+ /** Numbering in Russian Cyrillic alphabet upper case letters as
+ "&#1040;, &#1041;, ..., &#1070;, &#1071;, &#1040;&#1072;, &#1041;&#1073;, &#1042;&#1074;, ... &#1040;&#1072;&#1072;, ...".
+
+ @since OOo 2.0.4
+ */
+ /*
+ CYRILLIC CAPITAL LETTER A , CYRILLIC CAPITAL LETTER BE , ... ,
+ CYRILLIC CAPITAL LETTER YU , CYRILLIC CAPITAL LETTER YA ,
+ CYRILLIC CAPITAL LETTER A CYRILLIC SMALL LETTER A ,
+ CYRILLIC CAPITAL LETTER BE CYRILLIC SMALL LETTER BE ,
+ CYRILLIC CAPITAL LETTER VE CYRILLIC SMALL LETTER VE , ...
+ CYRILLIC CAPITAL LETTER A CYRILLIC SMALL LETTER A CYRILLIC SMALL LETTER A , ...
+ */
+ const short CHARS_CYRILLIC_UPPER_LETTER_N_RU = 44;
+
+ //-------------------------------------------------------------------------
+ /** Numbering in Russian Cyrillic alphabet upper case letters as
+ "&#1072;, &#1073;, ..., &#1102;, &#1103;, &#1072;&#1072;, &#1073;&#1073;, &#1074;&#1074;, ... &#1072;&#1072;&#1072;, ...".
+
+ @since OOo 2.0.4
+ */
+ /*
+ CYRILLIC SMALL LETTER A , CYRILLIC SMALL LETTER BE , ... ,
+ CYRILLIC SMALL LETTER YU , CYRILLIC SMALL LETTER YA ,
+ CYRILLIC SMALL LETTER A CYRILLIC SMALL LETTER A ,
+ CYRILLIC SMALL LETTER BE CYRILLIC SMALL LETTER BE ,
+ CYRILLIC SMALL LETTER VE CYRILLIC SMALL LETTER VE , ...
+ CYRILLIC SMALL LETTER A CYRILLIC SMALL LETTER A CYRILLIC SMALL LETTER A , ...
+ */
+ const short CHARS_CYRILLIC_LOWER_LETTER_N_RU = 45;
+
+ //-------------------------------------------------------------------------
+ /** Numbering in Persian alphabet letters (aa, be, pe, te, ...)
+
+ @since OOo 2.4
+ */
+ const short CHARS_PERSIAN = 46;
+
+ //-------------------------------------------------------------------------
+ /** Numbering in Myanmar alphabet letters
+
+ @since OOo 3.1
+ */
+ const short CHARS_MYANMAR = 47;
+
+ //-------------------------------------------------------------------------
+ /** Numbering in Serbian Cyrillic alphabet upper case letters
+
+ @since OOo 3.1
+ */
+ /*
+ CYRILLIC CAPITAL LETTER A , CYRILLIC CAPITAL LETTER BE ,
+ CYRILLIC CAPITAL LETTER VE , CYRILLIC CAPITAL LETTER GHE , ... ,
+ CYRILLIC CAPITAL LETTER A CYRILLIC SMALL LETTER A ,
+ CYRILLIC CAPITAL LETTER A CYRILLIC SMALL LETTER BE ,
+ CYRILLIC CAPITAL LETTER A CYRILLIC SMALL LETTER VE , ...
+ CYRILLIC CAPITAL LETTER A CYRILLIC SMALL LETTER A CYRILLIC SMALL LETTER A ,
+ CYRILLIC CAPITAL LETTER A CYRILLIC SMALL LETTER A CYRILLIC SMALL LETTER BE
+ */
+ const short CHARS_CYRILLIC_UPPER_LETTER_SR = 48;
+
+ //-------------------------------------------------------------------------
+ /** Numbering in Russian Serbian alphabet lower case letters
+
+ @since OOo 3.1
+ */
+ /*
+ CYRILLIC SMALL LETTER A , CYRILLIC SMALL LETTER BE ,
+ CYRILLIC SMALL LETTER VE , CYRILLIC SMALL LETTER GHE , ... ,
+ CYRILLIC SMALL LETTER A CYRILLIC SMALL LETTER A ,
+ CYRILLIC SMALL LETTER A CYRILLIC SMALL LETTER BE ,
+ CYRILLIC SMALL LETTER A CYRILLIC SMALL LETTER VE , ...
+ CYRILLIC SMALL LETTER A CYRILLIC SMALL LETTER A CYRILLIC SMALL LETTER A ,
+ CYRILLIC SMALL LETTER A CYRILLIC SMALL LETTER A CYRILLIC SMALL LETTER BE
+ */
+ const short CHARS_CYRILLIC_LOWER_LETTER_SR = 49;
+
+ //-------------------------------------------------------------------------
+ /** Numbering in Serbian Cyrillic alphabet upper case letters
+
+ @since OOo 3.1
+ */
+ /*
+ CYRILLIC CAPITAL LETTER A , CYRILLIC CAPITAL LETTER BE , ... ,
+ CYRILLIC CAPITAL LETTER A CYRILLIC SMALL LETTER A ,
+ CYRILLIC CAPITAL LETTER BE CYRILLIC SMALL LETTER BE ,
+ CYRILLIC CAPITAL LETTER VE CYRILLIC SMALL LETTER VE , ...
+ CYRILLIC CAPITAL LETTER A CYRILLIC SMALL LETTER A CYRILLIC SMALL LETTER A , ...
+ */
+ const short CHARS_CYRILLIC_UPPER_LETTER_N_SR = 50;
+
+ //-------------------------------------------------------------------------
+ /** Numbering in Serbian Cyrillic alphabet upper case letters
+
+ @since OOo 3.1
+ */
+ /*
+ CYRILLIC SMALL LETTER A , CYRILLIC SMALL LETTER BE , ... ,
+ CYRILLIC SMALL LETTER A CYRILLIC SMALL LETTER A ,
+ CYRILLIC SMALL LETTER BE CYRILLIC SMALL LETTER BE ,
+ CYRILLIC SMALL LETTER VE CYRILLIC SMALL LETTER VE , ...
+ CYRILLIC SMALL LETTER A CYRILLIC SMALL LETTER A CYRILLIC SMALL LETTER A , ...
+ */
+ const short CHARS_CYRILLIC_LOWER_LETTER_N_SR = 51;
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/offapi/com/sun/star/style/PageProperties.idl b/offapi/com/sun/star/style/PageProperties.idl
new file mode 100644
index 000000000000..e5115a3fa0ac
--- /dev/null
+++ b/offapi/com/sun/star/style/PageProperties.idl
@@ -0,0 +1,502 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * 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_style_PageProperties_idl__
+#define __com_sun_star_style_PageProperties_idl__
+
+#ifndef __com_sun_star_table_ShadowFormat_idl__
+#include <com/sun/star/table/ShadowFormat.idl>
+#endif
+
+#ifndef __com_sun_star_util_Color_idl__
+#include <com/sun/star/util/Color.idl>
+#endif
+
+#ifndef __com_sun_star_table_BorderLine_idl__
+#include <com/sun/star/table/BorderLine.idl>
+#endif
+
+#ifndef __com_sun_star_style_PageStyleLayout_idl__
+#include <com/sun/star/style/PageStyleLayout.idl>
+#endif
+
+#ifndef __com_sun_star_style_GraphicLocation_idl__
+#include <com/sun/star/style/GraphicLocation.idl>
+#endif
+
+#ifndef __com_sun_star_awt_Size_idl__
+#include <com/sun/star/awt/Size.idl>
+#endif
+
+#ifndef __com_sun_star_text_XText_idl__
+#include <com/sun/star/text/XText.idl>
+#endif
+
+#ifndef __com_sun_star_text_XTextColumns_idl__
+#include <com/sun/star/text/XTextColumns.idl>
+#endif
+
+#ifndef __com_sun_star_container_XNameContainer_idl__
+#include <com/sun/star/container/XNameContainer.idl>
+#endif
+
+#ifndef __com_sun_star_text_WritingMode2_idl__
+#include <com/sun/star/text/WritingMode2.idl>
+#endif
+
+//=============================================================================
+
+ module com { module sun { module star { module style {
+
+//=============================================================================
+
+/** describes the style of pages.
+ */
+published service PageProperties
+{
+//-----------------------------------------------------------------------------
+/** contains the background color of the page.
+ */
+[property] com::sun::star::util::Color BackColor;
+//-----------------------------------------------------------------------------
+/**
+ */
+//[property] BackGraphic;
+//-----------------------------------------------------------------------------
+/** contains the URL of the background graphic.
+ */
+[property] string BackGraphicURL;
+//-----------------------------------------------------------------------------
+/** contains the filter name of the background graphic.
+ */
+[property] string BackGraphicFilter;
+//-----------------------------------------------------------------------------
+/** determins the location of the background graphic.
+ */
+[property] com::sun::star::style::GraphicLocation BackGraphicLocation;
+//-----------------------------------------------------------------------------
+/** determins if the background color is transparent.
+
+ <p>If this property is set to <TRUE/>,
+ <member>PageStyle::BackColor</member> will not be used.</p>
+ */
+[property] boolean BackTransparent;
+//-----------------------------------------------------------------------------
+/** determins the left margin of the page.
+ */
+[property] long LeftMargin;
+//-----------------------------------------------------------------------------
+/** determins the right margin of the page.
+ */
+[property] long RightMargin;
+//-----------------------------------------------------------------------------
+/** determins the top margin of the page.
+ */
+[property] long TopMargin;
+//-----------------------------------------------------------------------------
+/** determins the bottom margin of the page.
+ */
+[property] long BottomMargin;
+//-----------------------------------------------------------------------------
+/** determines the style of the left border line of the page.
+ */
+[property] com::sun::star::table::BorderLine LeftBorder;
+//-----------------------------------------------------------------------------
+/** determines the style of the right border line of the page.
+ */
+[property] com::sun::star::table::BorderLine RightBorder;
+//-----------------------------------------------------------------------------
+/** determines the style of the top border line of the page.
+ */
+[property] com::sun::star::table::BorderLine TopBorder;
+//-----------------------------------------------------------------------------
+/** determines the style of the bottom border line of the page.
+ */
+[property] com::sun::star::table::BorderLine BottomBorder;
+//-----------------------------------------------------------------------------
+/** determins the left border distance of the page.
+ */
+[property] long LeftBorderDistance;
+//-----------------------------------------------------------------------------
+/** determins the right border distance of the page.
+ */
+[property] long RightBorderDistance;
+//-----------------------------------------------------------------------------
+/** determins the top border distance of the page.
+ */
+[property] long TopBorderDistance;
+//-----------------------------------------------------------------------------
+/** determins the bottom border distance of the page.
+ */
+[property] long BottomBorderDistance;
+//-----------------------------------------------------------------------------
+/** determins the shadow of the page.
+ */
+[property] com::sun::star::table::ShadowFormat ShadowFormat;
+//-----------------------------------------------------------------------------
+/** determins if the page format is landscape.
+ */
+[property] boolean IsLandscape;
+//-----------------------------------------------------------------------------
+/** determins the default numbering type for this page.
+ */
+[property] short NumberingType;
+//-----------------------------------------------------------------------------
+/** determins the layout of the page.
+ */
+[property] com::sun::star::style::PageStyleLayout PageStyleLayout;
+//-----------------------------------------------------------------------------
+/** contains the name of a paper tray of the selected printer.
+ */
+[property] string PrinterPaperTray;
+//-----------------------------------------------------------------------------
+/** determins if the register mode is active on that page.
+ */
+[optional, property] boolean RegisterModeActive;
+//-----------------------------------------------------------------------------
+/** contains the name of the paragraph style that is used as reference of the register mode.
+ */
+[optional, property] string RegisterParagraphStyle;
+//-----------------------------------------------------------------------------
+/** contains the paper size of the page.
+ */
+[property] com::sun::star::awt::Size Size;
+//-----------------------------------------------------------------------------
+/** contains the width of the page.
+ */
+[property] long Width;
+//-----------------------------------------------------------------------------
+/** contains the height of the page.
+ */
+[property] long Height;
+//-----------------------------------------------------------------------------
+/** contains the column settings of the page.
+ */
+[optional , property] com::sun::star::text::XTextColumns TextColumns;
+//-----------------------------------------------------------------------------
+/** contains user defined attributes.
+
+ <p>This <type scope="com::sun::star::container">XNameContainer</type>
+ supports the service
+ <type scope="com::sun::star::xml">AttributeContainer</type>.</p>
+ */
+[property] com::sun::star::container::XNameContainer UserDefinedAttributes;
+
+//-----------------------------------------------------------------------------
+/** contains the color of the background of the header.
+ */
+[property, maybevoid] com::sun::star::util::Color HeaderBackColor;
+//-----------------------------------------------------------------------------
+/**
+ */
+//[property, maybevoid] HeaderBackGraphic;
+//-----------------------------------------------------------------------------
+/** contains the URL of the background graphic of the header.
+ */
+[property, maybevoid] string HeaderBackGraphicURL;
+//-----------------------------------------------------------------------------
+/** contains the filter name of the background graphic of the header.
+ */
+[property, maybevoid] string HeaderBackGraphicFilter;
+//-----------------------------------------------------------------------------
+/** determines the location of the background graphic of the header.
+ */
+[property, maybevoid] com::sun::star::style::GraphicLocation HeaderBackGraphicLocation;
+//-----------------------------------------------------------------------------
+/** contains the left margin of the header.
+ */
+[property, maybevoid] long HeaderLeftMargin;
+//-----------------------------------------------------------------------------
+/** contains the right margin of the header.
+ */
+[property, maybevoid] long HeaderRightMargin;
+//-----------------------------------------------------------------------------
+/** determines if the background color of the header is transparent.
+
+ <p>If this property is set to <TRUE/>,
+ <member>PageStyle::HeaderBackColor</member> will not be used.</p>
+ */
+[property, maybevoid] boolean HeaderBackTransparent;
+//-----------------------------------------------------------------------------
+/** determines the style of the left border line of the header.
+ */
+[property, maybevoid] com::sun::star::table::BorderLine HeaderLeftBorder;
+//-----------------------------------------------------------------------------
+/** determines the style of the right border line of the header.
+ */
+[property, maybevoid] com::sun::star::table::BorderLine HeaderRightBorder;
+//-----------------------------------------------------------------------------
+/** determines the style of the top border line of the header.
+ */
+[property, maybevoid] com::sun::star::table::BorderLine HeaderTopBorder;
+//-----------------------------------------------------------------------------
+/** determines the style of the bottom border line of the header.
+ */
+[property, maybevoid] com::sun::star::table::BorderLine HeaderBottomBorder;
+
+//-----------------------------------------------------------------------------
+/** determines the left border distance of the header.
+ */
+[property, maybevoid] long HeaderLeftBorderDistance;
+//-----------------------------------------------------------------------------
+/** determines the right border distance of the header.
+ */
+[property, maybevoid] long HeaderRightBorderDistance;
+//-----------------------------------------------------------------------------
+/** determines the top border distance of the header.
+ */
+[property, maybevoid] long HeaderTopBorderDistance;
+//-----------------------------------------------------------------------------
+/** determines the bottom border distance of the header.
+ */
+[property, maybevoid] long HeaderBottomBorderDistance;
+//-----------------------------------------------------------------------------
+/** determines the shadow of the header.
+ */
+[property, maybevoid] com::sun::star::table::ShadowFormat HeaderShadowFormat;
+//-----------------------------------------------------------------------------
+/** determines the distance between the header and the body text area.
+ */
+[property, maybevoid] long HeaderBodyDistance;
+//-----------------------------------------------------------------------------
+/** determines if the header content on left and right pages is the same.
+ */
+[property, maybevoid] boolean HeaderIsShared;
+//-----------------------------------------------------------------------------
+/** contains the height of the header.
+ */
+[property, maybevoid] long HeaderHeight;
+//-----------------------------------------------------------------------------
+/** determines if the height of the header depends on the content.
+ */
+[property, maybevoid] boolean HeaderIsDynamicHeight;
+//-----------------------------------------------------------------------------
+/** determines if a header is used on the page.
+ */
+[property] boolean HeaderIsOn;
+
+//-----------------------------------------------------------------------------
+/** contains the interface to the text of the header.
+ */
+[optional, property, maybevoid] com::sun::star::text::XText HeaderText;
+//-----------------------------------------------------------------------------
+/** contains the interface to the text of the header of left pages.
+ */
+[optional, property, maybevoid] com::sun::star::text::XText HeaderTextLeft;
+//-----------------------------------------------------------------------------
+/** contains the interface to the text of the header of right pages.
+ */
+[optional, property, maybevoid] com::sun::star::text::XText HeaderTextRight;
+
+//-----------------------------------------------------------------------------
+/** contains the color of the background of the footer.
+ */
+[property, maybevoid] com::sun::star::util::Color FooterBackColor;
+//-----------------------------------------------------------------------------
+/**
+ */
+//[property, maybevoid] FooterBackGraphic;
+//-----------------------------------------------------------------------------
+/** contains the URL of the background graphic in the footer.
+ */
+[property, maybevoid] string FooterBackGraphicURL;
+//-----------------------------------------------------------------------------
+/** contains the filter name of the background graphic in the footer.
+ */
+[property, maybevoid] string FooterBackGraphicFilter;
+//-----------------------------------------------------------------------------
+/** determines the location of the background graphic in the footer.
+ */
+[property, maybevoid] com::sun::star::style::GraphicLocation FooterBackGraphicLocation;
+//-----------------------------------------------------------------------------
+/** determines the left margin of the footer.
+ */
+[property, maybevoid] long FooterLeftMargin;
+//-----------------------------------------------------------------------------
+/** determines the right margin of the footer.
+ */
+[property, maybevoid] long FooterRightMargin;
+//-----------------------------------------------------------------------------
+/** determines if the background of the footer is transparent.
+ */
+[property, maybevoid] boolean FooterBackTransparent;
+//-----------------------------------------------------------------------------
+/** contains the style of the left border line of the footer.
+ */
+[property, maybevoid] com::sun::star::table::BorderLine FooterLeftBorder;
+//-----------------------------------------------------------------------------
+/** contains the style of the right border line of the footer.
+ */
+[property, maybevoid] com::sun::star::table::BorderLine FooterRightBorder;
+//-----------------------------------------------------------------------------
+/** contains the style of the top border line of the footer.
+ */
+[property, maybevoid] com::sun::star::table::BorderLine FooterTopBorder;
+//-----------------------------------------------------------------------------
+/** contains the style of the bottom border line of the footer.
+ */
+[property, maybevoid] com::sun::star::table::BorderLine FooterBottomBorder;
+//-----------------------------------------------------------------------------
+/** contains the left border distance of the footer.
+ */
+[property, maybevoid] long FooterLeftBorderDistance;
+//-----------------------------------------------------------------------------
+/** contains the right border distance of the footer.
+ */
+[property, maybevoid] long FooterRightBorderDistance;
+//-----------------------------------------------------------------------------
+/** contains the top border distance of the footer.
+ */
+[property, maybevoid] long FooterTopBorderDistance;
+//-----------------------------------------------------------------------------
+/** contains the bottom border distance of the footer.
+ */
+[property, maybevoid] long FooterBottomBorderDistance;
+//-----------------------------------------------------------------------------
+/** determines the shadow of the footer.
+ */
+[property, maybevoid] com::sun::star::table::ShadowFormat FooterShadowFormat;
+//-----------------------------------------------------------------------------
+/** determines the distance between the footer and the body text area.
+ */
+[property, maybevoid] long FooterBodyDistance;
+//-----------------------------------------------------------------------------
+/** determines if the height of the footer depends on the content.
+ */
+[property, maybevoid] boolean FooterIsDynamicHeight;
+//-----------------------------------------------------------------------------
+/** determines if the footer content on left and right pages is the same.
+ */
+[property, maybevoid] boolean FooterIsShared;
+//-----------------------------------------------------------------------------
+/** determines the height of the footer.
+ */
+[property, maybevoid] long FooterHeight;
+//-----------------------------------------------------------------------------
+/** determines if a footer is used on the page.
+ */
+[property] boolean FooterIsOn;
+//-----------------------------------------------------------------------------
+/** contains the interface to the text of the footer.
+ */
+[optional, property, maybevoid] com::sun::star::text::XText FooterText;
+//-----------------------------------------------------------------------------
+/** contains the interface to the text of the footer of a left page.
+ */
+[optional, property, maybevoid] com::sun::star::text::XText FooterTextLeft;
+//-----------------------------------------------------------------------------
+/** contains the interface to the text of the footer of a right page.
+ */
+//-----------------------------------------------------------------------------
+/** contains .
+ */
+[optional, property, maybevoid] com::sun::star::text::XText FooterTextRight;
+//-----------------------------------------------------------------------------
+/** contains the maximum height of the footnote area. If set to zero then the height
+of the current page is used as limit.
+ */
+[optional,property] long FootnoteHeight;
+//-----------------------------------------------------------------------------
+/** contains the weight of the separator line between the text and the footnote area.
+ */
+[optional,property] short FootnoteLineWeight;
+//-----------------------------------------------------------------------------
+/** contains the color of the separator line between the text and the footnote area..
+ */
+[optional,property] com::sun::star::util::Color FootnoteLineColor;
+//-----------------------------------------------------------------------------
+/** contains the relative width of the separator line between the text and the footnote area.
+ */
+[optional,property] byte FootnoteLineRelativeWidth;
+//-----------------------------------------------------------------------------
+/** contains the adjustment of the separator line between the text and the footnote area.
+ <p><type scope="com::sun::star::text">HorizontalAdjust</type>s.</p>
+ */
+[optional,property] short FootnoteLineAdjust;
+//-----------------------------------------------------------------------------
+/** contains the distance between the text and the separator line between the
+ text and the footnote area.
+ */
+[optional,property] long FootnoteLineTextDistance;
+//-----------------------------------------------------------------------------
+/** contains the distance between the footnote area and the separator line between
+ the text and the footnote area.
+ */
+[optional,property] long FootnoteLineDistance;
+//-----------------------------------------------------------------------------
+/** contains the writing direction, as represented by the <type
+ scope="com::sun::star::text">WritingMode2</type> constants */
+[optional,property] short WritingMode;
+//-----------------------------------------------------------------------------
+/** contains the mode of the text grid (none, lines, ...), as
+ represented by <type scope="com::sun::star::text">TextGridMode</type>
+ constants */
+[optional, property] short GridMode;
+//-----------------------------------------------------------------------------
+/** contains the display color of the text grid */
+[optional, property] com::sun::star::util::Color GridColor;
+//-----------------------------------------------------------------------------
+/** contains the number of lines in the text grid */
+[optional, property] short GridLines;
+//-----------------------------------------------------------------------------
+/** contains the height of the base text line inside the text grid */
+[optional, property] long GridBaseHeight;
+//-----------------------------------------------------------------------------
+/** contains the height of the ruby text line inside the text grid */
+[optional, property] long GridRubyHeight;
+//-----------------------------------------------------------------------------
+/** determines whether the text grid's ruby line is located below or
+ above the base line */
+[optional, property] boolean GridRubyBelow;
+//-----------------------------------------------------------------------------
+/** determines whether the text grid lines are printed */
+[optional, property] boolean GridPrint;
+//-----------------------------------------------------------------------------
+/** determines whether the text grid lines are visible or not */
+[optional, property] boolean GridDisplay;
+//-----------------------------------------------------------------------------
+/** determines whether to use dynamic spacing in header or not. */
+[optional, property, maybevoid] boolean HeaderDynamicSpacing;
+//-----------------------------------------------------------------------------
+/** determines whether to use dynamic spacing in footer or not. */
+[optional, property, maybevoid] boolean FooterDynamicSpacing;
+//-----------------------------------------------------------------------------
+/** determines the distance of all borders of the page. */
+[property] long BorderDistance;
+//-----------------------------------------------------------------------------
+/** contains the distance of all borders of the footer. */
+[property, maybevoid] long FooterBorderDistance;
+//-----------------------------------------------------------------------------
+/** determines the distance of all borders of the header. */
+[property, maybevoid] long HeaderBorderDistance;
+
+};
+//=============================================================================
+
+}; }; }; };
+
+#endif
+
diff --git a/offapi/com/sun/star/style/PageStyle.idl b/offapi/com/sun/star/style/PageStyle.idl
new file mode 100644
index 000000000000..2510d81c62f7
--- /dev/null
+++ b/offapi/com/sun/star/style/PageStyle.idl
@@ -0,0 +1,70 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * 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_style_PageStyle_idl__
+#define __com_sun_star_style_PageStyle_idl__
+
+#ifndef __com_sun_star_style_Style_idl__
+#include <com/sun/star/style/Style.idl>
+#endif
+
+#ifndef __com_sun_star_style_PageProperties_idl__
+#include <com/sun/star/style/PageProperties.idl>
+#endif
+
+
+//=============================================================================
+
+module com { module sun { module star { module style {
+
+//=============================================================================
+
+/** contributes common properties of page styles.
+
+ @see com::sun::star::text::TextPageStyle
+ @see com::sun::star::sheet::TablePageStyle
+ */
+published service PageStyle
+{
+ //-------------------------------------------------------------------------
+
+ /** provides common functionality for styles.
+ */
+ service com::sun::star::style::Style;
+ //-------------------------------------------------------------------------
+
+ /** gives access to the pages properties.
+ */
+ service com::sun::star::style::PageProperties;
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
+
diff --git a/offapi/com/sun/star/style/PageStyleLayout.idl b/offapi/com/sun/star/style/PageStyleLayout.idl
new file mode 100644
index 000000000000..6165b3d8e659
--- /dev/null
+++ b/offapi/com/sun/star/style/PageStyleLayout.idl
@@ -0,0 +1,73 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * 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_style_PageStyleLayout_idl__
+#define __com_sun_star_style_PageStyleLayout_idl__
+
+//=============================================================================
+
+module com { module sun { module star { module style {
+
+//=============================================================================
+
+/** spefifies the pages for which a page layout is valid.
+ */
+published enum PageStyleLayout
+{
+ //-------------------------------------------------------------------------
+
+ /** The page style is identically used for left and right pages.
+ */
+ ALL,
+
+ //-------------------------------------------------------------------------
+
+ /** The page style is only used for left pages.
+ */
+ LEFT,
+
+ //-------------------------------------------------------------------------
+
+ /** The page style is only used for right pages.
+ */
+ RIGHT,
+
+ //-------------------------------------------------------------------------
+
+ /** The page style is used unchanged for left pages and mirrored for
+ right pages.
+ */
+ MIRRORED
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
+
diff --git a/offapi/com/sun/star/style/ParagraphAdjust.idl b/offapi/com/sun/star/style/ParagraphAdjust.idl
new file mode 100644
index 000000000000..2dc8b2b62eaa
--- /dev/null
+++ b/offapi/com/sun/star/style/ParagraphAdjust.idl
@@ -0,0 +1,86 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * 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_style_ParagraphAdjust_idl__
+#define __com_sun_star_style_ParagraphAdjust_idl__
+
+
+//=============================================================================
+
+ module com { module sun { module star { module style {
+
+//=============================================================================
+
+// DocMerge from xml: enum com::sun::star::style::ParagraphAdjust
+/** These enumeration values describe the formatting of a text paragraph.
+ */
+published enum ParagraphAdjust
+{
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: value com::sun::star::style::ParagraphAdjust::LEFT
+ /** adjusted to the left border
+ */
+ LEFT,
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: value com::sun::star::style::ParagraphAdjust::RIGHT
+ /** adjusted to the right border
+ */
+ RIGHT,
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: value com::sun::star::style::ParagraphAdjust::BLOCK
+ /** adjusted to both borders / stretched, except for last line
+ */
+ BLOCK,
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: value com::sun::star::style::ParagraphAdjust::CENTER
+ /** adjusted to the center
+ */
+ CENTER,
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: value com::sun::star::style::ParagraphAdjust::STRETCH
+ /** adjusted to both borders / stretched, including last line
+ */
+ STRETCH
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+/*=============================================================================
+
+=============================================================================*/
+#endif
diff --git a/offapi/com/sun/star/style/ParagraphProperties.idl b/offapi/com/sun/star/style/ParagraphProperties.idl
new file mode 100644
index 000000000000..3a063305541a
--- /dev/null
+++ b/offapi/com/sun/star/style/ParagraphProperties.idl
@@ -0,0 +1,463 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * 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_style_ParagraphProperties_idl__
+#define __com_sun_star_style_ParagraphProperties_idl__
+
+#ifndef __com_sun_star_style_ParagraphAdjust_idl__
+#include <com/sun/star/style/ParagraphAdjust.idl>
+#endif
+
+#ifndef __com_sun_star_util_Color_idl__
+#include <com/sun/star/util/Color.idl>
+#endif
+
+#ifndef __com_sun_star_style_LineSpacing_idl__
+#include <com/sun/star/style/LineSpacing.idl>
+#endif
+
+#ifndef __com_sun_star_style_GraphicLocation_idl__
+#include <com/sun/star/style/GraphicLocation.idl>
+#endif
+
+#ifndef __com_sun_star_style_TabStop_idl__
+#include <com/sun/star/style/TabStop.idl>
+#endif
+
+#ifndef __com_sun_star_style_DropCapFormat_idl__
+#include <com/sun/star/style/DropCapFormat.idl>
+#endif
+
+#ifndef __com_sun_star_container_XIndexReplace_idl__
+#include <com/sun/star/container/XIndexReplace.idl>
+#endif
+#ifndef __com_sun_star_table_ShadowFormat_idl__
+#include <com/sun/star/table/ShadowFormat.idl>
+#endif
+#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
+
+//=============================================================================
+
+ module com { module sun { module star { module style {
+
+//=============================================================================
+
+/** describes the style of paragraphs.
+ */
+published service ParagraphProperties
+{
+ //-------------------------------------------------------------------------
+
+ /** determines the adjustment of a paragraph.
+ */
+ [property] com::sun::star::style::ParagraphAdjust ParaAdjust;
+
+ //-------------------------------------------------------------------------
+
+ /** contains the type of the line spacing of a paragraph.
+ */
+ [optional, property] com::sun::star::style::LineSpacing ParaLineSpacing;
+
+ //-------------------------------------------------------------------------
+
+ /** contains the paragraph background color.
+ */
+ [optional, property] com::sun::star::util::Color ParaBackColor;
+
+ //-------------------------------------------------------------------------
+
+ /** This value is <TRUE/> if the paragraph background color
+ is set to transparent.
+ */
+ [optional, property] boolean ParaBackTransparent;
+
+ //-------------------------------------------------------------------------
+
+ /** contains the value of a link for the background graphic of a paragraph.
+ */
+ [optional, property] string ParaBackGraphicURL;
+
+ //-------------------------------------------------------------------------
+
+ /** contains the name of the graphic filter for the background graphic of a paragraph.
+ */
+ [optional, property] string ParaBackGraphicFilter;
+
+ //-------------------------------------------------------------------------
+
+ /** contains the value for the position of a background graphic.
+
+ @see com::sun::star::style::GraphicLocation
+ */
+ [optional, property] com::sun::star::style::GraphicLocation ParaBackGraphicLocation;
+
+ //-------------------------------------------------------------------------
+
+ /** determines the adjustment of the last line.
+ <p>It is only valid if <member>ParagraphProperties::ParaAdjust</member>
+ is set to <const>ParagraphAdjust::BLOCK</const>.</p>
+ */
+ [property] short ParaLastLineAdjust;
+
+ //-------------------------------------------------------------------------
+
+ /** determines if single words are stretched.
+
+ <p>It is only valid if <member>ParagraphProperties::ParaAdjust</member> and
+ <member>ParagraphProperties::ParaLastLineAdjust</member> are also valid.</p>
+ */
+ [optional, property] boolean ParaExpandSingleWord;
+
+ //-------------------------------------------------------------------------
+
+ /** determines the left margin of the paragraph in 100th mm.
+ */
+ [property] long ParaLeftMargin;
+
+ //-------------------------------------------------------------------------
+
+ /** determines the right margin of the paragraph in 100th mm.
+ */
+ [property] long ParaRightMargin;
+
+ //-------------------------------------------------------------------------
+
+ /** determines the top margin of the paragraph in 100th mm.
+
+ <p>The distance between two paragraphs is specified by:</p>
+ <ul>
+ <li>either the bottom margin of the previous paragraph.</li>
+ <li>or the top margin of the following paragraph.</li>
+ </ul>
+ The greater one is chosen.
+ */
+ [property] long ParaTopMargin;
+
+ //-------------------------------------------------------------------------
+
+ /** determines the bottom margin of the paragraph in 100th mm.
+
+ <p>The distance between two paragraphs is specified by:</p>
+ <ul>
+ <li>either the bottom margin of the previous paragraph
+ </li>
+ <li>or the top margin of the following paragraph.
+ </li>
+ </ul>
+ The greater one is chosen.
+ */
+ [property] long ParaBottomMargin;
+
+ //-------------------------------------------------------------------------
+
+ /** determines if the paragraph is included in the
+ line numbering.
+ */
+ [optional, property] boolean ParaLineNumberCount;
+
+ //-------------------------------------------------------------------------
+
+ /** contains the start value for the line numbering.
+ */
+ [optional, property] long ParaLineNumberStartValue;
+
+ //-------------------------------------------------------------------------
+
+ /** If this property is set, it creates a page break before the
+ paragraph it belongs to and assigns the value as the name
+ of the new page style sheet to use.
+ */
+ [optional, property] string PageDescName;
+
+ //-------------------------------------------------------------------------
+
+ /** If a page break property is set at a paragraph, this property contains the new value for the page number.
+ */
+ [optional, property] short PageNumberOffset;
+
+ //-------------------------------------------------------------------------
+
+ /** determines if the register mode is applied to a
+ paragraph.
+
+
+
+ <p>Remark: Register mode is only used if the register
+ mode property of the page style is switched on.</p>
+ */
+ [optional, property] boolean ParaRegisterModeActive;
+
+ //-------------------------------------------------------------------------
+
+ /** specifies the positions and kinds of thei tab stops within this
+ paragraph.
+ */
+ [optional, property] sequence<com::sun::star::style::TabStop> ParaTabStops;
+
+ //-------------------------------------------------------------------------
+
+ /** contains the name of the current paragraph style.
+ */
+ [optional, property] string ParaStyleName;
+
+ //-------------------------------------------------------------------------
+
+ /** contains the name of the current page style.
+ */
+ [optional, property, maybevoid, readonly] string PageStyleName;
+
+ //-------------------------------------------------------------------------
+
+ /** specifies whether the first characters of the
+ paragraph are displayed in capital letters and how they are
+ formatted.
+ */
+ [optional, property] com::sun::star::style::DropCapFormat DropCapFormat;
+
+ //-------------------------------------------------------------------------
+
+ /** specifies if the property <var>DropCapFormat</var>
+ is applied to the whole first word.
+ */
+ [optional, property] boolean DropCapWholeWord;
+
+ //-------------------------------------------------------------------------
+
+ /** Setting this property to <TRUE/> prevents page or column
+ breaks between this and the following paragraph.
+
+
+ <p>This feature is useful for preventing title paragraphs to be
+ the last line on a page or column.</p>
+ */
+ [optional, property] boolean ParaKeepTogether;
+
+ //-------------------------------------------------------------------------
+
+ /** Setting this property to <FALSE/> prevents the paragraph from
+ getting split into two pages or columns.
+ */
+ [optional, property] boolean ParaSplit;
+
+ //-------------------------------------------------------------------------
+
+ /** specifies the numbering level of the paragraph.
+ */
+ [optional, property] short NumberingLevel;
+
+ //-------------------------------------------------------------------------
+ /** contains the numbering rules applied to this paragraph.
+ */
+ [optional, property] com::sun::star::container::XIndexReplace NumberingRules;
+
+ //-------------------------------------------------------------------------
+
+ /** specifies the start value for numbering if a new numbering starts at this paragraph.
+ */
+ [optional, property] short NumberingStartValue;
+
+ //-------------------------------------------------------------------------
+ /** determines if the numbering rules restart, counting at the current paragraph.
+ */
+ [optional, property] boolean ParaIsNumberingRestart;
+ //-------------------------------------------------------------------------
+
+ /** specifies the name of the style for the numbering.
+
+
+ <p>The name must be one of the names which are available via
+ <type>XStyleFamiliesSupplier</type>.</p>
+ */
+ [optional, property] string NumberingStyleName;
+ //-------------------------------------------------------------------------
+
+ /** specifies the minimum number of lines of the paragraph that have
+ to be at bottom of a page if the paragraph is spread over more than
+ one page.
+ */
+ [optional, property] byte ParaOrphans;
+ //-------------------------------------------------------------------------
+
+ /** specifies the minimum number of lines of the paragraph that have
+ to be at top of a page if the paragraph is spread over more than
+ one page.
+ */
+ [optional, property] byte ParaWidows;
+ //-------------------------------------------------------------------------
+ /** determines the type, color, and size of the shadow.
+ @see com.sun.star.table.ShadowFormat
+ */
+ [optional, property] com::sun::star::table::ShadowFormat ParaShadowFormat;
+ //-------------------------------------------------------------------------
+ /** contains the left border of the object.
+ */
+ [property, optional] com::sun::star::table::BorderLine LeftBorder;
+
+ //-------------------------------------------------------------------------
+ /** contains the right border of the object.
+ */
+ [property, optional] com::sun::star::table::BorderLine RightBorder;
+
+ //-------------------------------------------------------------------------
+ /** contains the top border of the object.
+ */
+ [property, optional] com::sun::star::table::BorderLine TopBorder;
+
+ //-------------------------------------------------------------------------
+ /** contains the bottom border of the object.
+ */
+ [property, optional] com::sun::star::table::BorderLine BottomBorder;
+
+ //-------------------------------------------------------------------------
+ /** contains the distance from the border to the object.
+ */
+ [property, optional] long BorderDistance;
+
+ //-------------------------------------------------------------------------
+ /** contains the distance from the left border to the object.
+ */
+ [property, optional] long LeftBorderDistance;
+
+ //-------------------------------------------------------------------------
+ /** contains the distance from the right border to the object.
+ */
+ [property, optional] long RightBorderDistance;
+
+ //-------------------------------------------------------------------------
+ /** contains the distance from the top border to the object.
+ */
+ [property, optional] long TopBorderDistance;
+
+ //-------------------------------------------------------------------------
+ /** contains the distance from the bottom border to the object.
+ */
+ [property, optional] long BottomBorderDistance;
+
+ //-------------------------------------------------------------------------
+ /** determins the type of break that is applied at the beginning of the table.
+ @see com.sun.star.style.BreakType
+ */
+ [optional, property] com::sun::star::style::BreakType BreakType;
+
+ //-------------------------------------------------------------------------
+ /** specifies the character style name for drop caps.
+ */
+ [optional, property] string DropCapCharStyleName;
+
+ //-------------------------------------------------------------------------
+ /** specifies the indent for the first line.
+ */
+ [optional, property] long ParaFirstLineIndent;
+
+ //-------------------------------------------------------------------------
+ /** determines if the first line should be indented automatically.
+ */
+ [optional, property] boolean ParaIsAutoFirstLineIndent;
+
+ //-------------------------------------------------------------------------
+ /** specifies if automatic hyphenation is applied.
+ */
+ [property] boolean ParaIsHyphenation;
+
+ //-------------------------------------------------------------------------
+ /** specifies the maximum number of consecutive hyphens.
+ */
+ [optional, property] short ParaHyphenationMaxHyphens;
+
+ //-------------------------------------------------------------------------
+ /** specifies the maximum number of characters to remain before the
+ hyphen character (when hyphenation is applied).
+ */
+ [optional, property] short ParaHyphenationMaxLeadingChars;
+
+ //-------------------------------------------------------------------------
+ /** specifies the maximum number of characters to remain after the
+ hyphen character (when hyphenation is applied).
+ */
+ [optional, property] short ParaHyphenationMaxTrailingChars;
+
+ //-------------------------------------------------------------------------
+ /** specifies the vertical alignment of a paragraph.
+
+ @see com::sun::star::text::ParagraphVertAlign
+ */
+ [optional, 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
+ */
+ [optional, property] com::sun::star::container::XNameContainer ParaUserDefinedAttributes;
+
+ //-------------------------------------------------------------------------
+ /** returns <FALSE/> if the paragraph is part of a numbering, but has no
+ numbering label.
+
+ <p>A paragraph is part of a numbering, if a style for a numbering is
+ set - see NumberingStyleName.</p>
+ <p>If the paragraph is not part of a numbering the property is void.</p>
+ */
+ [optional, property, maybevoid] boolean NumberingIsNumber;
+
+ //-------------------------------------------------------------------------
+ /** the property determines if borders set at a paragraph are merged with the
+ next paragraph.
+ <p>Borders are only merged if they are identical.</p>
+ */
+ [optional, property, maybevoid] boolean ParaIsConnectBorder;
+
+ //-------------------------------------------------------------------------
+ /** specifies the id of the list to which the paragraph belongs
+
+ */
+ [optional, property] string ListId;
+
+ //-------------------------------------------------------------------------
+ /** specifies the outline level to which the paragraph belongs
+
+ @since OOo 3.1
+
+ <p>Value 0 indicates that the paragraph belongs to the body text.</p>
+ <p>Values [1..10] indicates that the paragraph belongs to the corresponding outline level.</p>
+ */
+ [optional, property] short OutlineLevel;
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/offapi/com/sun/star/style/ParagraphPropertiesAsian.idl b/offapi/com/sun/star/style/ParagraphPropertiesAsian.idl
new file mode 100644
index 000000000000..7d92799c61cf
--- /dev/null
+++ b/offapi/com/sun/star/style/ParagraphPropertiesAsian.idl
@@ -0,0 +1,63 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * 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_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.
+ */
+published 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 rules for forbidden characters at the start or end
+ of text lines are considered.
+ */
+ [property] boolean ParaIsForbiddenRules;
+
+ //-------------------------------------------------------------------------
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/offapi/com/sun/star/style/ParagraphPropertiesComplex.idl b/offapi/com/sun/star/style/ParagraphPropertiesComplex.idl
new file mode 100644
index 000000000000..71b3e2885fad
--- /dev/null
+++ b/offapi/com/sun/star/style/ParagraphPropertiesComplex.idl
@@ -0,0 +1,53 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * 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_style_ParagraphPropertiesComplex_idl__
+#define __com_sun_star_style_ParagraphPropertiesComplex_idl__
+
+
+
+//=============================================================================
+
+ module com { module sun { module star { module style {
+
+//=============================================================================
+
+/** contains settings for the style of paragraphs with complex text layout.
+ */
+published service ParagraphPropertiesComplex
+{
+ //-----------------------------------------------------------------------------
+ /** contains the writing direction, as represented by the
+ <type scope="com::sun::star::text">WritingMode2</type> constants
+ */
+ [property] short WritingMode;
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/offapi/com/sun/star/style/ParagraphStyle.idl b/offapi/com/sun/star/style/ParagraphStyle.idl
new file mode 100644
index 000000000000..814ac3ef9a74
--- /dev/null
+++ b/offapi/com/sun/star/style/ParagraphStyle.idl
@@ -0,0 +1,163 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * 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_style_ParagraphStyle_idl__
+#define __com_sun_star_style_ParagraphStyle_idl__
+
+#ifndef __com_sun_star_style_ParagraphProperties_idl__
+#include <com/sun/star/style/ParagraphProperties.idl>
+#endif
+
+#ifndef __com_sun_star_style_Style_idl__
+#include <com/sun/star/style/Style.idl>
+#endif
+
+#ifndef _com_sun_star_xml_ParaUserDefinedAttributesSupplier_idl_
+#include <com/sun/star/xml/ParaUserDefinedAttributesSupplier.idl>
+#endif
+
+//=============================================================================
+
+ module com { module sun { module star { module style {
+
+//=============================================================================
+
+/** specifies a stylesheet for paragraphs within a
+ <type scope="com::sun::star::text">Text</type>.
+ */
+published service ParagraphStyle
+{
+ //-------------------------------------------------------------------------
+ /// specifies administrative properties.
+ service Style;
+
+ //-------------------------------------------------------------------------
+ /** contains user defined attributes for paragraphs.
+
+ @see <type scope="com::sun::star::xml">ParaUserDefinedAttributesSupplier</type>
+ */
+ [optional] service com::sun::star::xml::ParaUserDefinedAttributesSupplier;
+
+ //-------------------------------------------------------------------------
+ /// specifies the style properties.
+ service ParagraphProperties;
+
+ /** determines the left margin of the paragraph relative to the ParaLeftMargin
+ of the parent style.
+
+ <p> If the value of ParaLeftMarginRelative is 100 the current
+ ParaLeftMargin value is used. </p>
+ */
+ [property] long ParaLeftMarginRelative;
+
+ //-------------------------------------------------------------------------
+
+ /** determines the right margin of the paragraph relative to the ParaRightMargin
+ of the parent style.
+
+ <p> If the value of ParaRightMarginRelative is 100 the current
+ ParaRightMargin value is used. </p>
+ */
+ [property] long ParaRightMarginRelative;
+
+ //-------------------------------------------------------------------------
+
+ /** determines the top margin of the paragraph relative to the ParaTopMargin
+ of the parent style.
+
+ <p> If the value of ParaTopMarginRelative is 100 the current
+ ParaTopMargin value is used. </p>
+ */
+ [property] long ParaTopMarginRelative;
+
+ //-------------------------------------------------------------------------
+
+ /** determines the Bottom margin of the paragraph relative to the ParaBottomMargin
+ of the parent style.
+
+ <p> If the value of ParaBottomMarginRelative is 100 the current
+ ParaBottomMargin value is used. </p>
+ */
+ [property] long ParaBottomMarginRelative;
+ //-------------------------------------------------------------------------
+
+ /** determines the category of a paragraph style.@see com.sun.star.style.ParagraphStyleCategory
+ */
+ [property] short Category;
+ //-------------------------------------------------------------------------
+
+ [property] float CharDiffHeight;
+ //-------------------------------------------------------------------------
+
+ /** This value contains the character height as percentage value relative to the height of
+ the character in the parent style.
+ */
+ [property] short CharPropHeight;
+ //-------------------------------------------------------------------------
+
+ /** This value contains the character height as difference in point to the height of
+ the character in the parent style in Asian text.
+ */
+ [property] float CharDiffHeightAsian;
+ //-------------------------------------------------------------------------
+
+ /** This value contains the character height as percentage value relative to the height of
+ the character in the parent style in Asian text.
+ */
+ [property] short CharPropHeightAsian;
+ //-------------------------------------------------------------------------
+
+ /** This value contains the character height as difference in point to the height of
+ the character in the parent style in complex text.
+ */
+ [property] float CharDiffHeightComplex;
+ //-------------------------------------------------------------------------
+
+ /** This value contains the character height as percentage value relative to the height of
+ the character in the parent style in complex text.
+ */
+ [property] short CharPropHeightComplex;
+ //-------------------------------------------------------------------------
+
+ /** returns the name of the page style in use
+
+ <P>For setting the page style you have to use the
+ <member scope="com::sun::star::text">PageDescName</member>
+ properties.
+ </P>
+ */
+ [optional, readonly, property] string PageStyleName;
+};
+
+//=============================================================================
+
+}; }; }; };
+
+/*=============================================================================
+
+=============================================================================*/
+#endif
+
diff --git a/offapi/com/sun/star/style/ParagraphStyleCategory.idl b/offapi/com/sun/star/style/ParagraphStyleCategory.idl
new file mode 100644
index 000000000000..d7e2793e0d24
--- /dev/null
+++ b/offapi/com/sun/star/style/ParagraphStyleCategory.idl
@@ -0,0 +1,86 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * 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_style_ParagraphStyleCategory_idl__
+#define __com_sun_star_style_ParagraphStyleCategory_idl__
+
+//=============================================================================
+
+ module com { module sun { module star { module style {
+//=============================================================================
+
+// DocMerge from idl: constants com::sun::star::style::ParagraphStyleCategory
+/** These constants are used to specify the category of paragraph styles in text documents.
+ */
+published constants ParagraphStyleCategory
+{
+ //-------------------------------------------------------------------------
+
+ // DocMerge from idl: value com::sun::star::style::ParagraphStyleCategory::TEXT
+ /** is applied to styles that are used for common text.
+ */
+ const short TEXT = 0;
+ //-------------------------------------------------------------------------
+
+ // DocMerge from idl: value com::sun::star::style::ParagraphStyleCategory::CHAPTER
+ /** is applied to styles that are used as headings.
+ */
+ const short CHAPTER = 1;
+ //-------------------------------------------------------------------------
+
+ // DocMerge from idl: value com::sun::star::style::ParagraphStyleCategory::LIST
+ /** is applied to styles that used in numberings and lists.
+ */
+ const short LIST = 2;
+ //-------------------------------------------------------------------------
+
+ // DocMerge from idl: value com::sun::star::style::ParagraphStyleCategory::INDEX
+ /** is applied to styles that are used in indexes.
+ */
+ const short INDEX = 3;
+ //-------------------------------------------------------------------------
+
+ // DocMerge from idl: value com::sun::star::style::ParagraphStyleCategory::EXTRA
+ /** is applied to styles that are used in special regions like headers, footers, and footnote text.
+ */
+ const short EXTRA = 4;
+ //-------------------------------------------------------------------------
+
+ // DocMerge from idl: value com::sun::star::style::ParagraphStyleCategory::HTML
+ /** is applied to styles that are used to support HTML.
+ */
+ const short HTML = 5;
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
+
+
+
diff --git a/offapi/com/sun/star/style/Style.idl b/offapi/com/sun/star/style/Style.idl
new file mode 100644
index 000000000000..29747a990e96
--- /dev/null
+++ b/offapi/com/sun/star/style/Style.idl
@@ -0,0 +1,174 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * 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_style_Style_idl__
+#define __com_sun_star_style_Style_idl__
+
+#ifndef __com_sun_star_style_XStyle_idl__
+#include <com/sun/star/style/XStyle.idl>
+#endif
+
+#ifndef __com_sun_star_beans_XPropertySet_idl__
+#include <com/sun/star/beans/XPropertySet.idl>
+#endif
+#ifndef __com_sun_star_beans_XMultiPropertySet_idl__
+#include <com/sun/star/beans/XMultiPropertySet.idl>
+#endif
+#ifndef __com_sun_star_beans_XMultiPropertyStates_idl__
+#include <com/sun/star/beans/XMultiPropertyStates.idl>
+#endif
+#ifndef __com_sun_star_beans_NamedValue_idl__
+#include <com/sun/star/beans/NamedValue.idl>
+#endif
+#ifndef _com_sun_star_xml_UserDefinedAttributesSupplier_idl_
+#include <com/sun/star/xml/UserDefinedAttributesSupplier.idl>
+#endif
+
+
+//=============================================================================
+
+ module com { module sun { module star { module style {
+
+//=============================================================================
+
+/** This service specifies a single style sheet.
+ */
+published service Style
+{
+ //-------------------------------------------------------------------------
+ /** contains user defined attributes.
+
+ @see <type scope="com::sun::star::xml">UserDefinedAttributesSupplier</type>
+ */
+ [optional] service com::sun::star::xml::UserDefinedAttributesSupplier;
+
+ //-------------------------------------------------------------------------
+
+ interface com::sun::star::style::XStyle;
+
+ interface com::sun::star::beans::XPropertySet;
+
+ [optional] interface com::sun::star::beans::XMultiPropertySet;
+
+ /* This optional interface is available as an optimisation, allowing users
+ to use 'setAllPropertiesToDefault', for example. */
+ //-------------------------------------------------------------------------
+
+ [optional] interface com::sun::star::beans::XMultiPropertyStates;
+
+ //-------------------------------------------------------------------------
+
+ /** determines if a style is physically created.
+
+ <p> Built in styles may not be created until they are needed.
+ To prevent standard style properties from being exported, it may be
+ useful to check if the style is created first.
+ </p>
+ */
+ [optional, readonly, property] boolean IsPhysical;
+ //-------------------------------------------------------------------------
+
+ /** contains the name of the style that is applied to the next paragraph.
+
+ <p> This property is usually available at paragraph styles only. </p>
+ */
+ [optional, property] string FollowStyle;
+ //-------------------------------------------------------------------------
+
+ /** contains the name of the style as it is displayed in the user interface.
+
+ <p> The names of the styles at the API are language independent. The user interface
+ names are localised.</p>
+ */
+ [optional, readonly, property] string DisplayName;
+ //-------------------------------------------------------------------------
+
+ /** determines if a style is automatically updated, if the properties of an object
+ that the style is applied to are changed.
+
+ <p> For example, if the style is applied to a paragraph and the properties of the paragraph
+ are changed then the style will be updated accordingly.</p>
+ */
+ [optional, property] string IsAutoUpdate;
+ //-------------------------------------------------------------------------
+
+ /** defines the context and styles for conditional paragraphs.
+
+ <p>This property is only available if the style is a conditional
+ paragraph style.</p>
+
+ <p>The sequence consists of pairs where the name part of the pair
+ defines the context where it should be applied and the value part
+ is a string naming the style to be used in that context.</p>
+
+ <p>Assigning an empty string to the style name will disable
+ the conditional style for that context.</p>
+
+ <p>The alowed strings (contexts) for the name part of an entry
+ of the sequence are:</p>
+
+ <ul>
+ <li>TableHeader</li>
+ <li>Table</li>
+ <li>Frame</li>
+ <li>Section</li>
+ <li>Footnote</li>
+ <li>Endnote</li>
+ <li>Header</li>
+ <li>Footer</li>
+ <li>OutlineLevel1</li>
+ <li>OutlineLevel2</li>
+ <li>OutlineLevel3</li>
+ <li>OutlineLevel4</li>
+ <li>OutlineLevel5</li>
+ <li>OutlineLevel6</li>
+ <li>OutlineLevel7</li>
+ <li>OutlineLevel8</li>
+ <li>OutlineLevel9</li>
+ <li>OutlineLevel10</li>
+ <li>NumberingLevel1</li>
+ <li>NumberingLevel2</li>
+ <li>NumberingLevel3</li>
+ <li>NumberingLevel4</li>
+ <li>NumberingLevel5</li>
+ <li>NumberingLevel6</li>
+ <li>NumberingLevel7</li>
+ <li>NumberingLevel8</li>
+ <li>NumberingLevel9</li>
+ <li>NumberingLevel10</li>
+ </ul>
+
+
+ @since OOo 2.0.1
+ */
+ [optional, property] sequence< com::sun::star::beans::NamedValue > ParaStyleConditions;
+
+};
+
+//=============================================================================
+
+}; }; }; };
+#endif
diff --git a/offapi/com/sun/star/style/StyleFamilies.idl b/offapi/com/sun/star/style/StyleFamilies.idl
new file mode 100644
index 000000000000..708fe6c0b1f7
--- /dev/null
+++ b/offapi/com/sun/star/style/StyleFamilies.idl
@@ -0,0 +1,119 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * 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_style_StyleFamilies_idl__
+#define __com_sun_star_style_StyleFamilies_idl__
+
+#ifndef __com_sun_star_container_XNameAccess_idl__
+#include <com/sun/star/container/XNameAccess.idl>
+#endif
+
+#ifndef __com_sun_star_container_XIndexAccess_idl__
+#include <com/sun/star/container/XIndexAccess.idl>
+#endif
+
+
+//=============================================================================
+
+ module com { module sun { module star { module style {
+
+//=============================================================================
+
+// DocMerge from xml: service com::sun::star::style::StyleFamilies
+/** This service contains the collection of style families within the
+ container document.
+
+ <p>Examples of style families may be:
+ <dl>
+ <dt>CharacterStyles
+ </dt>
+ <dd>the container of style sheets for sequences of characters
+ within a text
+
+ </dd>
+ <dt>ParagraphStyles
+ </dt>
+ <dd>the container of style sheets for text paragraphs
+
+ </dd>
+ <dt>FrameStyles
+ </dt>
+ <dd>the container of style sheets for text frames
+
+ </dd>
+ <dt>PageStyles
+ </dt>
+ <dd>the container of style sheets for pages
+
+ </dd>
+ <dt>NumberingStyles
+ </dt>
+ <dd>the container for style sheets for numbering
+
+ </dd>
+ <dt>CellStyles
+ </dt>
+ <dd>the container for style sheets for cells
+
+ </dd>
+ <dt>ShapeStyles
+ </dt>
+ <dd>the container for style sheets for shapes
+ </dd>
+ </dl>
+ </p>
+ */
+published service StyleFamilies
+{
+
+
+ // DocMerge from xml: service com::sun::star::style::StyleFamilies: interface com::sun::star::container::XNameAccess
+ /** This mandatory interface makes it possible to get access to the
+ style families by their names.
+
+ <p>The elements within this collection are <type>StyleFamily</type> instances.
+ */
+ interface com::sun::star::container::XNameAccess;
+
+
+ // DocMerge from xml: service com::sun::star::style::StyleFamilies: interface com::sun::star::container::XIndexAccess
+ /** This optional interface makes it possible to get access to the
+ style families by index.
+
+ <p>The elements within this collection are <type>StyleFamily</type> instances.
+ */
+ [optional] interface com::sun::star::container::XIndexAccess;
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+/*=============================================================================
+
+=============================================================================*/
+#endif
diff --git a/offapi/com/sun/star/style/StyleFamily.idl b/offapi/com/sun/star/style/StyleFamily.idl
new file mode 100644
index 000000000000..17c8d1a7b10f
--- /dev/null
+++ b/offapi/com/sun/star/style/StyleFamily.idl
@@ -0,0 +1,89 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * 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_style_StyleFamily_idl__
+#define __com_sun_star_style_StyleFamily_idl__
+
+#ifndef __com_sun_star_container_XNameContainer_idl__
+#include <com/sun/star/container/XNameContainer.idl>
+#endif
+
+#ifndef __com_sun_star_container_XIndexAccess_idl__
+#include <com/sun/star/container/XIndexAccess.idl>
+#endif
+
+
+//=============================================================================
+
+ module com { module sun { module star { module style {
+
+//=============================================================================
+
+// DocMerge from xml: service com::sun::star::style::StyleFamily
+/** This service is a container of style sheets of the same style family.@see StyleFamilies
+ */
+published service StyleFamily
+{
+
+
+ // DocMerge from xml: service com::sun::star::style::StyleFamily: interface com::sun::star::container::XNameAccess
+ /** This mandatory interface makes it possible to access
+ the style sheets within this family by name.
+
+ <p>The elements in this container support the service
+ <type>Style</type> and are accessed via an <type>XStyle</type>.
+ */
+ interface com::sun::star::container::XNameAccess;
+
+
+ // DocMerge from xml: service com::sun::star::style::StyleFamily: interface com::sun::star::container::XNameContainer
+ /** This optional interface makes it possible to add and
+ remove the style sheets within this family by name.
+
+ <p>The elements in this container support the service
+ <type>Style</type> and are accessed via an <type>XStyle</type>.
+ */
+ [optional] interface com::sun::star::container::XNameContainer;
+
+ // DocMerge from xml: service com::sun::star::style::StyleFamily: interface com::sun::star::container::XIndexAccess
+ /** This optional interface makes it possible to access the style sheets
+ within this family by index.
+
+ <p>The elements in this container support the service
+ <type>Style</type> and are accessed via an <type>XStyle</type>.
+ */
+ [optional] interface com::sun::star::container::XIndexAccess;
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+/*=============================================================================
+
+=============================================================================*/
+#endif
diff --git a/offapi/com/sun/star/style/TabAlign.idl b/offapi/com/sun/star/style/TabAlign.idl
new file mode 100644
index 000000000000..0696a17db855
--- /dev/null
+++ b/offapi/com/sun/star/style/TabAlign.idl
@@ -0,0 +1,91 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * 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_style_TabAlign_idl__
+#define __com_sun_star_style_TabAlign_idl__
+
+
+//=============================================================================
+
+ module com { module sun { module star { module style {
+
+//=============================================================================
+
+// DocMerge from xml: enum com::sun::star::style::TabAlign
+/** These enumeration values are used to specify the alignment of
+ the text range delimited by a tabulator.
+ */
+published enum TabAlign
+{
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: value com::sun::star::style::TabAlign::LEFT
+ /** The text range is left-aligned between the previous tabulator
+ (or the left border, if none) and this tabulator.
+ */
+ LEFT,
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: value com::sun::star::style::TabAlign::CENTER
+ /** The text range is centered between the previous tabulator
+ (or the left border, if none) and this tabulator.
+ */
+ CENTER,
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: value com::sun::star::style::TabAlign::RIGHT
+ /** The text range is right-aligned between the previous tabulator
+ (or the left border, if none) and this tabulator.
+ */
+ RIGHT,
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: value com::sun::star::style::TabAlign::DECIMAL
+ /** The decimal point of the text range to the left of this
+ tabulator is aligned to the position of this tabulator.
+ */
+ DECIMAL,
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: value com::sun::star::style::TabAlign::DEFAULT
+ /** The default alignment for tabulators is applied.
+ */
+ DEFAULT
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+/*=============================================================================
+
+=============================================================================*/
+#endif
diff --git a/offapi/com/sun/star/style/TabStop.idl b/offapi/com/sun/star/style/TabStop.idl
new file mode 100644
index 000000000000..5300dcca2079
--- /dev/null
+++ b/offapi/com/sun/star/style/TabStop.idl
@@ -0,0 +1,84 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * 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_style_TabStop_idl__
+#define __com_sun_star_style_TabStop_idl__
+
+#ifndef __com_sun_star_style_TabAlign_idl__
+#include <com/sun/star/style/TabAlign.idl>
+#endif
+
+
+//=============================================================================
+
+ module com { module sun { module star { module style {
+
+//=============================================================================
+
+// DocMerge from xml: struct com::sun::star::style::TabStop
+/** This structure is used to specify a single tabulator stop.
+ */
+published struct TabStop
+{
+ // DocMerge from xml: field com::sun::star::style::TabStop::Position
+ /** This field specifies the position of the tabulator in relation
+ to the left border.
+ */
+ long Position;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: field com::sun::star::style::TabStop::Alignment
+ /** This field specifies the alignment of the text range before the
+ tabulator.
+ */
+ com::sun::star::style::TabAlign Alignment;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: field com::sun::star::style::TabStop::DecimalChar
+ /** This field specifies which delimiter is used for the decimal.
+ */
+ char DecimalChar;
+
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: field com::sun::star::style::TabStop::FillChar
+ /** This field specifies the character that is used to fill up the
+ space between the text in the text range and the tabulators.
+ */
+ char FillChar;
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+/*=============================================================================
+
+=============================================================================*/
+#endif
diff --git a/offapi/com/sun/star/style/VerticalAlignment.idl b/offapi/com/sun/star/style/VerticalAlignment.idl
new file mode 100644
index 000000000000..30dc2afe905a
--- /dev/null
+++ b/offapi/com/sun/star/style/VerticalAlignment.idl
@@ -0,0 +1,76 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * 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_style_VerticalAlignment_idl__
+#define __com_sun_star_style_VerticalAlignment_idl__
+
+
+//=============================================================================
+
+ module com { module sun { module star { module style {
+
+//=============================================================================
+
+// DocMerge from xml: enum com::sun::star::style::VerticalAlignment
+/** specify the horizontal alignment of
+ an object within a container object.
+ */
+published enum VerticalAlignment
+{
+ //-------------------------------------------------------------------------
+ // DOCUMENTATION OMITTING FOR VerticalAlignment:: TOP,
+
+ // DocMerge from xml: value com::sun::star::style::VerticalAlignment::TOP
+ /** set the vertical alignment to the center between the top and bottom margins from the container object.
+ */
+ TOP,
+
+ //-------------------------------------------------------------------------
+ // DOCUMENTATION OMITTING FOR VerticalAlignment:: MIDDLE,
+
+ // DocMerge from xml: value com::sun::star::style::VerticalAlignment::MIDDLE
+ /** set the vertical alignment to the top margin from the container object.
+ */
+ MIDDLE,
+
+ //-------------------------------------------------------------------------
+ // DOCUMENTATION OMITTING FOR VerticalAlignment:: BOTTOM
+
+ // DocMerge from xml: value com::sun::star::style::VerticalAlignment::BOTTOM
+ /** set the vertical alignment to the bottom margin from the container object.
+ */
+ BOTTOM
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+/*=============================================================================
+
+=============================================================================*/
+#endif
diff --git a/offapi/com/sun/star/style/XAutoStyle.idl b/offapi/com/sun/star/style/XAutoStyle.idl
new file mode 100644
index 000000000000..400d0685e9be
--- /dev/null
+++ b/offapi/com/sun/star/style/XAutoStyle.idl
@@ -0,0 +1,74 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * 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_style_XAutoStyle_idl__
+#define __com_sun_star_style_XAutoStyle_idl__
+
+#ifndef __com_sun_star_style_XStyle_idl__
+#include <com/sun/star/style/XStyle.idl>
+#endif
+
+#ifndef __com_sun_star_beans_XPropertySet_idl__
+#include <com/sun/star/beans/XPropertySet.idl>
+#endif
+#ifndef __com_sun_star_beans_XMultiPropertySet_idl__
+#include <com/sun/star/beans/XMultiPropertySet.idl>
+#endif
+#ifndef __com_sun_star_beans_XMultiPropertyStates_idl__
+#include <com/sun/star/beans/XMultiPropertyStates.idl>
+#endif
+#ifndef __com_sun_star_beans_NamedValue_idl__
+#include <com/sun/star/beans/NamedValue.idl>
+#endif
+#ifndef __com_sun_star_beans_PropertyValues_idl__
+#include <com/sun/star/beans/PropertyValues.idl>
+#endif
+
+
+
+//=============================================================================
+
+ module com { module sun { module star { module style {
+
+//=============================================================================
+
+/** This interface allows access to a single automatic style.
+ */
+interface XAutoStyle
+{
+ interface com::sun::star::beans::XMultiPropertySet;
+ interface com::sun::star::beans::XMultiPropertyStates;
+
+ /**
+ returns a sequence of all properties that are set in the style
+ */
+ com::sun::star::beans::PropertyValues getProperties();
+};
+
+//=============================================================================
+
+}; }; }; };
+#endif
diff --git a/offapi/com/sun/star/style/XAutoStyleFamily.idl b/offapi/com/sun/star/style/XAutoStyleFamily.idl
new file mode 100644
index 000000000000..2ec3158b9abe
--- /dev/null
+++ b/offapi/com/sun/star/style/XAutoStyleFamily.idl
@@ -0,0 +1,65 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * 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_style_XAutoStyleFamily_idl__
+#define __com_sun_star_style_XAutoStyleFamily_idl__
+#ifndef __com_sun_star_style_XAutoStyle_idl__
+#include <com/sun/star/style/XAutoStyle.idl>
+#endif
+#ifndef __com_sun_star_container_XEnumerationAccess_idl__
+#include <com/sun/star/container/XEnumerationAccess.idl>
+#endif
+
+#ifndef __com_sun_star_beans_PropertyValues_idl__
+#include <com/sun/star/beans/PropertyValues.idl>
+#endif
+
+//=============================================================================
+
+ module com { module sun { module star { module style {
+
+//=============================================================================
+
+// DocMerge from xml: service com::sun::star::style::StyleFamilies
+/** This service contains the collection of automatic style families within the
+ container document.
+
+ */
+interface XAutoStyleFamily
+{
+ interface com::sun::star::container::XEnumerationAccess;
+ /** */
+ com::sun::star::style::XAutoStyle insertStyle( [in] com::sun::star::beans::PropertyValues Values);
+};
+
+//=============================================================================
+
+}; }; }; };
+
+/*=============================================================================
+
+=============================================================================*/
+#endif
diff --git a/offapi/com/sun/star/style/XAutoStyles.idl b/offapi/com/sun/star/style/XAutoStyles.idl
new file mode 100644
index 000000000000..b63d0b6d5a0a
--- /dev/null
+++ b/offapi/com/sun/star/style/XAutoStyles.idl
@@ -0,0 +1,64 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * 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_style_XAutoStyles_idl__
+#define __com_sun_star_style_XAutoStyles_idl__
+
+#ifndef __com_sun_star_container_XNameAccess_idl__
+#include <com/sun/star/container/XNameAccess.idl>
+#endif
+
+#ifndef __com_sun_star_container_XIndexAccess_idl__
+#include <com/sun/star/container/XIndexAccess.idl>
+#endif
+
+
+//=============================================================================
+
+ module com { module sun { module star { module style {
+
+//=============================================================================
+
+
+/** This service contains the collection of automatic style families within the
+ container document.
+
+ */
+interface XAutoStyles
+
+{
+ interface com::sun::star::container::XNameAccess;
+ interface com::sun::star::container::XIndexAccess;
+};
+
+//=============================================================================
+
+}; }; }; };
+
+/*=============================================================================
+
+=============================================================================*/
+#endif
diff --git a/offapi/com/sun/star/style/XAutoStylesSupplier.idl b/offapi/com/sun/star/style/XAutoStylesSupplier.idl
new file mode 100644
index 000000000000..141a2785ea89
--- /dev/null
+++ b/offapi/com/sun/star/style/XAutoStylesSupplier.idl
@@ -0,0 +1,66 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * 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_style_XAutoStylesSupplier_idl__
+#define __com_sun_star_style_XAutoStylesSupplier_idl__
+
+#ifndef __com_sun_star_uno_XInterface_idl__
+#include <com/sun/star/uno/XInterface.idl>
+#endif
+
+#ifndef __com_sun_star_style_XAutoStyles_idl__
+#include <com/sun/star/style/XAutoStyles.idl>
+#endif
+
+//=============================================================================
+
+ module com { module sun { module star { module style {
+
+//=============================================================================
+
+// DocMerge from xml: interface com::sun::star::style::XStyleFamiliesSupplier
+/** This interface provides access to the style families within the
+ container document.
+ */
+interface XAutoStylesSupplier: com::sun::star::uno::XInterface
+{
+ //-------------------------------------------------------------------------
+
+ /** This method returns the collection of automatic style families available
+ in the container document.@see AutoStyles
+ */
+ com::sun::star::style::XAutoStyles getAutoStyles();
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+/*=============================================================================
+
+=============================================================================*/
+#endif
diff --git a/offapi/com/sun/star/style/XDefaultsSupplier.idl b/offapi/com/sun/star/style/XDefaultsSupplier.idl
new file mode 100644
index 000000000000..25b767ce0eb6
--- /dev/null
+++ b/offapi/com/sun/star/style/XDefaultsSupplier.idl
@@ -0,0 +1,62 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * 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_style_XDefaultsSupplier_idl__
+#define __com_sun_star_style_XDefaultsSupplier_idl__
+
+#ifndef __com_sun_star_uno_XInterface_idl__
+#include <com/sun/star/uno/XInterface.idl>
+#endif
+
+#ifndef __com_sun_star_beans_XPropertySet_idl__
+#include <com/sun/star/beans/XPropertySet.idl>
+#endif
+
+
+//=============================================================================
+
+ module com { module sun { module star { module style {
+
+//=============================================================================
+
+/** This interface provides access to an XPropertySet of defaults. This can
+ either be the parent of an XPropertySet or the global property defaults
+ for a document.
+ */
+published interface XDefaultsSupplier: com::sun::star::uno::XInterface
+{
+ //-------------------------------------------------------------------------
+ /** This method returns an XPropertySet of defaults.
+ */
+ com::sun::star::beans::XPropertySet getDefaults();
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/offapi/com/sun/star/style/XStyle.idl b/offapi/com/sun/star/style/XStyle.idl
new file mode 100644
index 000000000000..bf5d5d568074
--- /dev/null
+++ b/offapi/com/sun/star/style/XStyle.idl
@@ -0,0 +1,85 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * 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_style_XStyle_idl__
+#define __com_sun_star_style_XStyle_idl__
+
+#ifndef __com_sun_star_container_XNamed_idl__
+#include <com/sun/star/container/XNamed.idl>
+#endif
+
+#ifndef __com_sun_star_container_NoSuchElementException_idl__
+#include <com/sun/star/container/NoSuchElementException.idl>
+#endif
+
+
+//=============================================================================
+
+ module com { module sun { module star { module style {
+
+//=============================================================================
+
+/** specifies a template for a style (aka style sheet).
+ */
+published interface XStyle: com::sun::star::container::XNamed
+{
+ //-------------------------------------------------------------------------
+
+ /** identifies a style as defined by the user.
+ */
+ boolean isUserDefined();
+
+ //-------------------------------------------------------------------------
+
+ /** @returns
+ <TRUE/> if this type is used in the document.
+ */
+ boolean isInUse();
+
+ //-------------------------------------------------------------------------
+
+ /** @returns
+ the name of the parent style, probably empty.
+ */
+ string getParentStyle();
+
+ //-------------------------------------------------------------------------
+
+ /** sets the name of the parent style.
+ */
+ void setParentStyle( [in] string aParentStyle )
+ raises( com::sun::star::container::NoSuchElementException );
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+/*=============================================================================
+
+=============================================================================*/
+#endif
diff --git a/offapi/com/sun/star/style/XStyleCondition.idl b/offapi/com/sun/star/style/XStyleCondition.idl
new file mode 100644
index 000000000000..c159de9feabb
--- /dev/null
+++ b/offapi/com/sun/star/style/XStyleCondition.idl
@@ -0,0 +1,70 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * 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_style_XStyleCondition_idl__
+#define __com_sun_star_style_XStyleCondition_idl__
+
+#ifndef __com_sun_star_uno_XInterface_idl__
+#include <com/sun/star/uno/XInterface.idl>
+#endif
+
+
+//=============================================================================
+
+ module com { module sun { module star { module style {
+
+//=============================================================================
+
+/** This interface makes it possible to access conditional styles of the object.
+
+ @deprecated This interface was never implemented or referenced.
+ */
+published interface XStyleCondition: com::sun::star::uno::XInterface
+{
+ //-------------------------------------------------------------------------
+
+ /** @returns
+ the style condition for the specified type.
+ */
+ string getStyleConditionByType( [in] short TextType );
+
+ //-------------------------------------------------------------------------
+
+ /** sets the style condition for the specified type.
+ */
+ [oneway] void setStyleConditionByType( [in] string StyleName,
+ [in] short TextType );
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+/*=============================================================================
+
+=============================================================================*/
+#endif
diff --git a/offapi/com/sun/star/style/XStyleFamiliesSupplier.idl b/offapi/com/sun/star/style/XStyleFamiliesSupplier.idl
new file mode 100644
index 000000000000..0e6fb1d756f8
--- /dev/null
+++ b/offapi/com/sun/star/style/XStyleFamiliesSupplier.idl
@@ -0,0 +1,68 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * 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_style_XStyleFamiliesSupplier_idl__
+#define __com_sun_star_style_XStyleFamiliesSupplier_idl__
+
+#ifndef __com_sun_star_uno_XInterface_idl__
+#include <com/sun/star/uno/XInterface.idl>
+#endif
+
+#ifndef __com_sun_star_container_XNameAccess_idl__
+#include <com/sun/star/container/XNameAccess.idl>
+#endif
+
+
+//=============================================================================
+
+ module com { module sun { module star { module style {
+
+//=============================================================================
+
+// DocMerge from xml: interface com::sun::star::style::XStyleFamiliesSupplier
+/** This interface provides access to the style families within the
+ container document.
+ */
+published interface XStyleFamiliesSupplier: com::sun::star::uno::XInterface
+{
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: method com::sun::star::style::XStyleFamiliesSupplier::getStyleFamilies
+ /** This method returns the collection of style families available
+ in the container document.@see StyleFamilies
+ */
+ com::sun::star::container::XNameAccess getStyleFamilies();
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+/*=============================================================================
+
+=============================================================================*/
+#endif
diff --git a/offapi/com/sun/star/style/XStyleLoader.idl b/offapi/com/sun/star/style/XStyleLoader.idl
new file mode 100644
index 000000000000..cc668028fafb
--- /dev/null
+++ b/offapi/com/sun/star/style/XStyleLoader.idl
@@ -0,0 +1,97 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * 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_style_XStyleLoader_idl__
+#define __com_sun_star_style_XStyleLoader_idl__
+
+#ifndef __com_sun_star_uno_XInterface_idl__
+#include <com/sun/star/uno/XInterface.idl>
+#endif
+
+#ifndef __com_sun_star_beans_PropertyValue_idl__
+#include <com/sun/star/beans/PropertyValue.idl>
+#endif
+
+#ifndef __com_sun_star_io_IOException_idl__
+#include <com/sun/star/io/IOException.idl>
+#endif
+
+
+//=============================================================================
+
+ module com { module sun { module star { module style {
+
+//=============================================================================
+
+// DocMerge from xml: interface com::sun::star::style::XStyleLoader
+/** enables the object to import styles from documents.
+ */
+published interface XStyleLoader: com::sun::star::uno::XInterface
+{
+ //-------------------------------------------------------------------------
+
+ // DocMerge from xml: method com::sun::star::style::XStyleLoader::loadStylesFromURL
+ /** loads styles from a document at the given URL.
+ <p>
+ If <var>OverwriteStyles</var> is <TRUE/>, then all styles
+ will be loaded. Otherwise, only styles which are not already
+ defined in this document are loaded.</p>
+ @param string URL:
+ The directory and the filename from document with the styles
+ @param aOptions :
+ Specifies which of the Style families the method should load.
+ The sequence <PropertyValue/> has the following, optional items:
+ <ul>
+ <li> boolean LoadCellStyles </li>
+ <li> boolean LoadTextStyles </li>
+ <li> boolean LoadFrameStyles </li>
+ <li> boolean LoadPageStyles </li>
+ <li> boolean LoadNumberingStyles </li>
+ <li> boolean OverwriteStyles</li>
+ </ul>
+ <p>As the default, all supported style families are loaded and existing styles are overwritten.</p>
+ */
+ void loadStylesFromURL( [in] string URL,
+ [in] sequence<com::sun::star::beans::PropertyValue> aOptions )
+ raises( com::sun::star::io::IOException );
+
+ //-------------------------------------------------------------------------
+ /** @returns
+ a sequence of the supported properties as declared in <member>XStyleLoader::loadStylesFromURL</member>
+ with their current values.
+ */
+ sequence<com::sun::star::beans::PropertyValue> getStyleLoaderOptions();
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+/*=============================================================================
+
+=============================================================================*/
+#endif
diff --git a/offapi/com/sun/star/style/makefile.mk b/offapi/com/sun/star/style/makefile.mk
new file mode 100644
index 000000000000..969f0589d9c3
--- /dev/null
+++ b/offapi/com/sun/star/style/makefile.mk
@@ -0,0 +1,87 @@
+#*************************************************************************
+#
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+#
+# Copyright 2000, 2010 Oracle and/or its affiliates.
+#
+# OpenOffice.org - a multi-platform office productivity suite
+#
+# 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.
+#
+#*************************************************************************
+
+PRJ=..$/..$/..$/..
+
+PRJNAME=offapi
+
+TARGET=cssstyle
+PACKAGE=com$/sun$/star$/style
+
+# --- Settings -----------------------------------------------------
+.INCLUDE : $(PRJ)$/util$/makefile.pmk
+
+# ------------------------------------------------------------------------
+
+IDLFILES=\
+ BreakType.idl\
+ CaseMap.idl\
+ CellStyle.idl\
+ CharacterProperties.idl\
+ CharacterPropertiesAsian.idl\
+ CharacterPropertiesComplex.idl\
+ CharacterStyle.idl\
+ DropCapFormat.idl\
+ GraphicLocation.idl\
+ HorizontalAlignment.idl\
+ LineNumberPosition.idl\
+ LineSpacing.idl\
+ LineSpacingMode.idl\
+ NumberingAlignment.idl\
+ NumberingLevel.idl\
+ NumberingRule.idl\
+ NumberingType.idl\
+ PageProperties.idl\
+ PageStyle.idl\
+ PageStyleLayout.idl\
+ ParagraphAdjust.idl\
+ ParagraphProperties.idl\
+ ParagraphPropertiesAsian.idl\
+ ParagraphPropertiesComplex.idl\
+ ParagraphStyle.idl\
+ ParagraphStyleCategory.idl\
+ Style.idl\
+ StyleFamilies.idl\
+ StyleFamily.idl\
+ TabAlign.idl\
+ TabStop.idl\
+ VerticalAlignment.idl\
+ XDefaultsSupplier.idl\
+ XStyle.idl\
+ XStyleFamiliesSupplier.idl\
+ XStyleLoader.idl\
+ XStyleCondition.idl\
+ XAutoStylesSupplier.idl\
+ XAutoStyles.idl\
+ XAutoStyleFamily.idl\
+ XAutoStyle.idl
+
+
+# ------------------------------------------------------------------
+
+.INCLUDE : target.mk
+.INCLUDE : $(PRJ)$/util$/target.pmk