diff options
Diffstat (limited to 'offapi/com/sun/star/style')
-rw-r--r-- | offapi/com/sun/star/style/CharacterProperties.idl | 16 | ||||
-rw-r--r-- | offapi/com/sun/star/style/CharacterPropertiesAsian.idl | 2 | ||||
-rw-r--r-- | offapi/com/sun/star/style/CharacterStyle.idl | 2 | ||||
-rw-r--r-- | offapi/com/sun/star/style/FootnoteLineStyle.idl | 44 | ||||
-rw-r--r-- | offapi/com/sun/star/style/NumberingType.idl | 20 | ||||
-rw-r--r-- | offapi/com/sun/star/style/PageProperties.idl | 37 | ||||
-rw-r--r-- | offapi/com/sun/star/style/PageStyleLayout.idl | 2 | ||||
-rw-r--r-- | offapi/com/sun/star/style/ParagraphProperties.idl | 4 | ||||
-rw-r--r-- | offapi/com/sun/star/style/ParagraphPropertiesAsian.idl | 2 | ||||
-rw-r--r-- | offapi/com/sun/star/style/ParagraphStyle.idl | 2 | ||||
-rw-r--r-- | offapi/com/sun/star/style/Style.idl | 8 | ||||
-rw-r--r-- | offapi/com/sun/star/style/makefile.mk | 1 |
12 files changed, 103 insertions, 37 deletions
diff --git a/offapi/com/sun/star/style/CharacterProperties.idl b/offapi/com/sun/star/style/CharacterProperties.idl index fb6556b508ae..d2ab956c348f 100644 --- a/offapi/com/sun/star/style/CharacterProperties.idl +++ b/offapi/com/sun/star/style/CharacterProperties.idl @@ -99,7 +99,7 @@ published service CharacterProperties //------------------------------------------------------------------------- - /** specifies the percentage of raisement/lowerment of superscript/subscript + /** specifies the percentage by which to raise/lower superscript/subscript characters. <p>Negative values denote subscripts and positive values superscripts.</p> @@ -181,7 +181,7 @@ published service CharacterProperties //------------------------------------------------------------------------- - /** This property determins the type of the strike out of the character. + /** This property determines the type of the strike out of the character. @see com::sun::star::awt::FontStrikeout */ [optional, property] short CharStrikeout; @@ -256,7 +256,7 @@ published service CharacterProperties //------------------------------------------------------------------------- - /** This optional property determins whether text is formatted in two lines. + /** This optional property determines whether text is formatted in two lines. <p>It is linked to the properties CharCombinePrefix and CharCombineSuffix.</p> */ @@ -302,7 +302,7 @@ published service CharacterProperties //------------------------------------------------------------------------- - /** This optional property determins the adjustment of the ruby . + /** This optional property determines the adjustment of the ruby . @see com::sun::star::text::RubyAdjust */ [optional, property] short RubyAdjust; @@ -316,14 +316,14 @@ published service CharacterProperties //------------------------------------------------------------------------- - /** This optional property determins whether the ruby text is printed + /** This optional property determines 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 + /** This optional property determines the rotation of a character in tenths of a degree. <p>Depending on the implementation only certain values may be allowed.</p> @@ -332,14 +332,14 @@ published service CharacterProperties //------------------------------------------------------------------------- - /** This optional property determins whether the text formatting tries to + /** This optional property determines 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 + /** This optional property determines the percentage value for scaling the width of characters. <p>The value refers to the original width which is denoted by 100, diff --git a/offapi/com/sun/star/style/CharacterPropertiesAsian.idl b/offapi/com/sun/star/style/CharacterPropertiesAsian.idl index 844bf2038e1b..56d54ef7545a 100644 --- a/offapi/com/sun/star/style/CharacterPropertiesAsian.idl +++ b/offapi/com/sun/star/style/CharacterPropertiesAsian.idl @@ -40,7 +40,7 @@ module com { module sun { module star { module style { //============================================================================= -/** This is a set of properties to describe the style of characters in asian texts. +/** This is a set of properties to describe the style of characters in Asian texts. */ published service CharacterPropertiesAsian { diff --git a/offapi/com/sun/star/style/CharacterStyle.idl b/offapi/com/sun/star/style/CharacterStyle.idl index 568cb2fda40e..f5d8a6ff08ea 100644 --- a/offapi/com/sun/star/style/CharacterStyle.idl +++ b/offapi/com/sun/star/style/CharacterStyle.idl @@ -41,7 +41,7 @@ //============================================================================= -/** specifies a stylesheet for characters within a +/** specifies a style sheet for characters within a <type scope="com::sun::star::text">Text</type>. */ published service CharacterStyle diff --git a/offapi/com/sun/star/style/FootnoteLineStyle.idl b/offapi/com/sun/star/style/FootnoteLineStyle.idl new file mode 100644 index 000000000000..100e27f1cb41 --- /dev/null +++ b/offapi/com/sun/star/style/FootnoteLineStyle.idl @@ -0,0 +1,44 @@ +/* + * Version: MPL 1.1 / GPLv3+ / LGPLv3+ + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Initial Developer of the Original Code is + * [ Novell Inc. ] + * Portions created by the Initial Developer are Copyright (C) 2010 the + * Initial Developer. All Rights Reserved. + * + * Contributor(s): Cedric Bosdonnat <cbosdonnat@novell.com> + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 3 or later (the "GPLv3+"), or + * the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"), + * in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable + * instead of those above. + */ +#ifndef __com_sun_star_text_FootnoteLineStyle_idl__ +#define __com_sun_star_text_FootnoteLineStyle_idl__ + +module com { module sun { module star { module text { + +published constants FootnoteLineStyle +{ + const short NONE = 0; + + const short SOLID = 1; + + const short DOTTED = 2; + + const short DASHED = 3; +}; + +}; }; }; }; +#endif diff --git a/offapi/com/sun/star/style/NumberingType.idl b/offapi/com/sun/star/style/NumberingType.idl index 21196a8cafb0..da9a9865b6dc 100644 --- a/offapi/com/sun/star/style/NumberingType.idl +++ b/offapi/com/sun/star/style/NumberingType.idl @@ -98,13 +98,13 @@ published constants NumberingType //------------------------------------------------------------------------- /** A transliteration module will be used to produce numbers in - chinese, japanese, etc. + Chinese, Japanese, etc. */ const short TRANSLITERATION = 11; //------------------------------------------------------------------------- - /** The nativenumbersupplier service will be called to produce numbers in + /** The NativeNumberSupplier service will be called to produce numbers in native languages. */ const short NATIVE_NUMBERING = 12; @@ -179,7 +179,7 @@ published constants NumberingType const short NUMBER_UPPER_KO = 25; //------------------------------------------------------------------------- - /** Numbering for Korean hangul number + /** Numbering for Korean Hangul number as "일,이,삼..." */ const short NUMBER_HANGUL_KO = 26; @@ -471,6 +471,20 @@ published constants NumberingType */ const short CHARS_CYRILLIC_LOWER_LETTER_N_SR = 51; + //------------------------------------------------------------------------- + /** Numbering in Greek alphabet upper case letters + + @since OOo 3.3 + */ + const short CHARS_GREEK_UPPER_LETTER = 52; + + //------------------------------------------------------------------------- + /** Numbering in Greek alphabet lower case letters + + @since OOo 3.3 + */ + const short CHARS_GREEK_LOWER_LETTER = 53; + }; //============================================================================= diff --git a/offapi/com/sun/star/style/PageProperties.idl b/offapi/com/sun/star/style/PageProperties.idl index 2ace32f8cc73..4476ff711ff7 100644 --- a/offapi/com/sun/star/style/PageProperties.idl +++ b/offapi/com/sun/star/style/PageProperties.idl @@ -94,30 +94,30 @@ published service PageProperties */ [property] string BackGraphicFilter; //----------------------------------------------------------------------------- -/** determins the location of the background graphic. +/** determines the location of the background graphic. */ [property] com::sun::star::style::GraphicLocation BackGraphicLocation; //----------------------------------------------------------------------------- -/** determins if the background color is transparent. +/** determines 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. +/** determines the left margin of the page. */ [property] long LeftMargin; //----------------------------------------------------------------------------- -/** determins the right margin of the page. +/** determines the right margin of the page. */ [property] long RightMargin; //----------------------------------------------------------------------------- -/** determins the top margin of the page. +/** determines the top margin of the page. */ [property] long TopMargin; //----------------------------------------------------------------------------- -/** determins the bottom margin of the page. +/** determines the bottom margin of the page. */ [property] long BottomMargin; //----------------------------------------------------------------------------- @@ -137,35 +137,35 @@ published service PageProperties */ [property] com::sun::star::table::BorderLine BottomBorder; //----------------------------------------------------------------------------- -/** determins the left border distance of the page. +/** determines the left border distance of the page. */ [property] long LeftBorderDistance; //----------------------------------------------------------------------------- -/** determins the right border distance of the page. +/** determines the right border distance of the page. */ [property] long RightBorderDistance; //----------------------------------------------------------------------------- -/** determins the top border distance of the page. +/** determines the top border distance of the page. */ [property] long TopBorderDistance; //----------------------------------------------------------------------------- -/** determins the bottom border distance of the page. +/** determines the bottom border distance of the page. */ [property] long BottomBorderDistance; //----------------------------------------------------------------------------- -/** determins the shadow of the page. +/** determines the shadow of the page. */ [property] com::sun::star::table::ShadowFormat ShadowFormat; //----------------------------------------------------------------------------- -/** determins if the page format is landscape. +/** determines if the page format is landscape. */ [property] boolean IsLandscape; //----------------------------------------------------------------------------- -/** determins the default numbering type for this page. +/** determines the default numbering type for this page. */ [property] short NumberingType; //----------------------------------------------------------------------------- -/** determins the layout of the page. +/** determines the layout of the page. */ [property] com::sun::star::style::PageStyleLayout PageStyleLayout; //----------------------------------------------------------------------------- @@ -173,7 +173,7 @@ published service PageProperties */ [property] string PrinterPaperTray; //----------------------------------------------------------------------------- -/** determins if the register mode is active on that page. +/** determines if the register mode is active on that page. */ [optional, property] boolean RegisterModeActive; //----------------------------------------------------------------------------- @@ -424,6 +424,13 @@ of the current page is used as limit. */ [optional,property] short FootnoteLineWeight; //----------------------------------------------------------------------------- +/** contains the style of the separator line between the text and the footnote area. + + @see com::sun::star::style::FootnoteLineStyle + for the possible values. + */ +[optional,property] short FootnoteLineStyle; +//----------------------------------------------------------------------------- /** contains the color of the separator line between the text and the footnote area.. */ [optional,property] com::sun::star::util::Color FootnoteLineColor; diff --git a/offapi/com/sun/star/style/PageStyleLayout.idl b/offapi/com/sun/star/style/PageStyleLayout.idl index 6c91d53c3215..ca8dafafa52e 100644 --- a/offapi/com/sun/star/style/PageStyleLayout.idl +++ b/offapi/com/sun/star/style/PageStyleLayout.idl @@ -34,7 +34,7 @@ module com { module sun { module star { module style { //============================================================================= -/** spefifies the pages for which a page layout is valid. +/** specifies the pages for which a page layout is valid. */ published enum PageStyleLayout { diff --git a/offapi/com/sun/star/style/ParagraphProperties.idl b/offapi/com/sun/star/style/ParagraphProperties.idl index 65e24f2fa895..57bbdee9a7ac 100644 --- a/offapi/com/sun/star/style/ParagraphProperties.idl +++ b/offapi/com/sun/star/style/ParagraphProperties.idl @@ -220,7 +220,7 @@ published service ParagraphProperties //------------------------------------------------------------------------- - /** specifies the positions and kinds of thei tab stops within this + /** specifies the positions and kinds of the tab stops within this paragraph. */ [optional, property] sequence<com::sun::star::style::TabStop> ParaTabStops; @@ -365,7 +365,7 @@ published service ParagraphProperties [property, optional] long BottomBorderDistance; //------------------------------------------------------------------------- - /** determins the type of break that is applied at the beginning of the table. + /** determines 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; diff --git a/offapi/com/sun/star/style/ParagraphPropertiesAsian.idl b/offapi/com/sun/star/style/ParagraphPropertiesAsian.idl index 48e513acd65b..ce32a1a7f6ea 100644 --- a/offapi/com/sun/star/style/ParagraphPropertiesAsian.idl +++ b/offapi/com/sun/star/style/ParagraphPropertiesAsian.idl @@ -44,7 +44,7 @@ published service ParagraphPropertiesAsian */ [property] boolean ParaIsHangingPunctuation; //------------------------------------------------------------------------- - /** determines if a distance between asian text, western text or complex text is set. + /** determines if a distance between Asian text, western text or complex text is set. */ [property] boolean ParaIsCharacterDistance; //------------------------------------------------------------------------- diff --git a/offapi/com/sun/star/style/ParagraphStyle.idl b/offapi/com/sun/star/style/ParagraphStyle.idl index 66836a9454ef..e0e192b9826d 100644 --- a/offapi/com/sun/star/style/ParagraphStyle.idl +++ b/offapi/com/sun/star/style/ParagraphStyle.idl @@ -45,7 +45,7 @@ //============================================================================= -/** specifies a stylesheet for paragraphs within a +/** specifies a style sheet for paragraphs within a <type scope="com::sun::star::text">Text</type>. */ published service ParagraphStyle diff --git a/offapi/com/sun/star/style/Style.idl b/offapi/com/sun/star/style/Style.idl index e19a7f82c005..d24c2cd42636 100644 --- a/offapi/com/sun/star/style/Style.idl +++ b/offapi/com/sun/star/style/Style.idl @@ -73,8 +73,8 @@ published service Style [optional] interface com::sun::star::beans::XMultiPropertySet; - /* This optional interface is available as an optimisation, allowing users - to use 'setAllPropertiesToDefault', for example. */ + /* This optional interface is available as an optimization, allowing users + to use "setAllPropertiesToDefault", for example. */ //------------------------------------------------------------------------- [optional] interface com::sun::star::beans::XMultiPropertyStates; @@ -101,7 +101,7 @@ published service Style /** 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> + names are localized.</p> */ [optional, readonly, property] string DisplayName; //------------------------------------------------------------------------- @@ -127,7 +127,7 @@ published service Style <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 + <p>The allowed strings (contexts) for the name part of an entry of the sequence are:</p> <ul> diff --git a/offapi/com/sun/star/style/makefile.mk b/offapi/com/sun/star/style/makefile.mk index 969f0589d9c3..b9077b14109c 100644 --- a/offapi/com/sun/star/style/makefile.mk +++ b/offapi/com/sun/star/style/makefile.mk @@ -46,6 +46,7 @@ IDLFILES=\ CharacterPropertiesComplex.idl\ CharacterStyle.idl\ DropCapFormat.idl\ + FootnoteLineStyle.idl\ GraphicLocation.idl\ HorizontalAlignment.idl\ LineNumberPosition.idl\ |