diff options
author | Michael Hönnig <mi@openoffice.org> | 2000-11-06 08:23:00 +0000 |
---|---|---|
committer | Michael Hönnig <mi@openoffice.org> | 2000-11-06 08:23:00 +0000 |
commit | 88c437c597b604524d50f450506285a594bd03a5 (patch) | |
tree | 3c12c7a1422fc0fc7d6e9b6433b55b91aa3a80a8 /offapi/com/sun/star/style | |
parent | 09ec45ba551bfaa33e4538dc5eb8bbfe6b114fed (diff) |
moved from api
Diffstat (limited to 'offapi/com/sun/star/style')
31 files changed, 5007 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..be853ebc4d5d --- /dev/null +++ b/offapi/com/sun/star/style/BreakType.idl @@ -0,0 +1,176 @@ +/************************************************************************* + * + * $RCSfile: BreakType.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:15 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_style_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. + */ +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 + +}; + +//============================================================================= + +}; }; }; }; + +/*============================================================================= + + $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 23:35:54 hjs + initial import + + Revision 1.3 2000/09/11 11:52:53 mi + documentation merged from XML + + Revision 1.1.1.1 1999/11/11 09:48:45 jsc + new + + +=============================================================================*/ +#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..55fea69cd7ba --- /dev/null +++ b/offapi/com/sun/star/style/CaseMap.idl @@ -0,0 +1,132 @@ +/************************************************************************* + * + * $RCSfile: CaseMap.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:15 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_style_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. + */ +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; + +}; + +//============================================================================= + +}; }; }; }; + +/*============================================================================= + + $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 23:35:54 hjs + initial import + + Revision 1.3 2000/09/11 11:52:55 mi + documentation merged from XML + + Revision 1.1.1.1 1999/11/11 09:48:45 jsc + new + + +=============================================================================*/ +#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..3faf2841952b --- /dev/null +++ b/offapi/com/sun/star/style/CharacterProperties.idl @@ -0,0 +1,371 @@ +/************************************************************************* + * + * $RCSfile: CharacterProperties.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:15 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_style_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_awt_FontSlant_idl__ +#include <com/sun/star/awt/FontSlant.idl> +#endif + + +//============================================================================= + + module com { module sun { module star { module style { + +//============================================================================= + +// DocMerge from xml: service com::sun::star::style::CharacterProperties +/** This is a set of properties to describe the style of characters.@see service ParagraphProperties + */ +service CharacterProperties +{ + //------------------------------------------------------------------------- + + // DocMerge from xml: property com::sun::star::style::CharacterProperties::CharFontName + /** This property specifies the name of the font style. + + + + <p>It may contain more than one name separated by comma.</p> + */ + [property] string CharFontName; + //------------------------------------------------------------------------- + + // DocMerge from xml: property com::sun::star::style::CharacterProperties::CharFontStyleName + /** This property contains the name of the font style. + + <p>This property may be empty.</p> + */ + [property] string CharFontStyleName; + //------------------------------------------------------------------------- + + // DocMerge from xml: property com::sun::star::style::CharacterProperties::CharFontFamily + /** This property contains font family as specified in + com.sun.star.awt.FontFamily . + */ + [property] short CharFontFamily; + //------------------------------------------------------------------------- + + // DocMerge from xml: property com::sun::star::style::CharacterProperties::CharFontCharSet + /** This property contains the text encoding of the font as specified in + com.sun.star.awt.CharSet. + */ + [property] short CharFontCharSet; + //------------------------------------------------------------------------- + + // DocMerge from xml: property com::sun::star::style::CharacterProperties::CharFontPitch + /** This property contains the font pitch as specified in com.sun.star.awt.FontPitch. + */ + [property] short CharFontPitch; + + //------------------------------------------------------------------------- + + // DocMerge from xml: property com::sun::star::style::CharacterProperties::CharColor + /** This property contains the value of the text color. + */ + [property] long CharColor; + + //------------------------------------------------------------------------- + + // DocMerge from xml: property com::sun::star::style::CharacterProperties::CharEscapement + /** optional property which contains the relative value of the character + height in subscription or superscription. + + + + + + + + + + @optional + */ + [optional, property] short CharEscapement; + + //------------------------------------------------------------------------- + + // DocMerge from xml: property com::sun::star::style::CharacterProperties::CharHeight + /** This value contains the height of the characters in point. + */ + [property] float CharHeight; + + //------------------------------------------------------------------------- + + // DocMerge from xml: property com::sun::star::style::CharacterProperties::CharUnderline + /** This property contains the value for the character underline.@see com::sun::star::awt::FontUnderline + */ + [property] short CharUnderline; + + //------------------------------------------------------------------------- + + // DocMerge from xml: property com::sun::star::style::CharacterProperties::CharWeight + /** This property contains the value of the font weight.@see com::sun::star::awt::FontWeight + */ + [property] float CharWeight; + + //------------------------------------------------------------------------- + + // DocMerge from xml: property com::sun::star::style::CharacterProperties::CharPosture + /** This property contains the value of the posture of the document.@see com::sun::star::awt::FontSlant + */ + [property] com::sun::star::awt::FontSlant CharPosture; + + //------------------------------------------------------------------------- + + // DocMerge from xml: property com::sun::star::style::CharacterProperties::CharAutoKerning + /** optional property to determine 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 + */ + [optional, property] boolean CharAutoKerning; + + //------------------------------------------------------------------------- + + // DocMerge from xml: property com::sun::star::style::CharacterProperties::CharBackColor + /** optional property which contains the text background color. + + @optional + */ + [optional, property] long CharBackColor; + + //------------------------------------------------------------------------- + + // DocMerge from xml: property com::sun::star::style::CharacterProperties::CharBackTransparent + /** determines if the text background color is set at transparent. + */ + [optional, property] boolean CharBackTransparent; + + //------------------------------------------------------------------------- + + // DocMerge from xml: property com::sun::star::style::CharacterProperties::CharCaseMap + /** optional property which contains the value of the case-mapping of the + text for formatting and displaying. + + @optional + + @see constants CaseMap + */ + [optional, property] short CharCaseMap; + + //------------------------------------------------------------------------- + + // DocMerge from xml: property com::sun::star::style::CharacterProperties::CharCrossedOut + /** This property is <true></true> if the character(s) is(are) crossed out. + + @optional + */ + [optional, property] boolean CharCrossedOut; + + //------------------------------------------------------------------------- + + // DocMerge from xml: property com::sun::star::style::CharacterProperties::CharFlash + /** If this optional property is <true></true>, then the characters are flashing. + + @optional + */ + [optional, property] boolean CharFlash; + + //------------------------------------------------------------------------- + /** 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 + */ + [optional, property] boolean CharWordMode; + + //------------------------------------------------------------------------- + + // DocMerge from xml: property com::sun::star::style::CharacterProperties::CharKerning + /** optional property which contains the value of the kerning of the characters. + + @optional + */ + [optional, property] short CharKerning; + + //------------------------------------------------------------------------- + + // DocMerge from xml: property com::sun::star::style::CharacterProperties::CharLocale + /** contains the value of the locale. + */ + [property] com::sun::star::lang::Locale CharLocale; + + //------------------------------------------------------------------------- + + // DocMerge from xml: property com::sun::star::style::CharacterProperties::CharKeepTogether + /** optional property which 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 + */ + [optional, property] boolean CharKeepTogether; + + //------------------------------------------------------------------------- + + // DocMerge from xml: property com::sun::star::style::CharacterProperties::CharNoLineBreak + /** optional property which 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 + */ + [optional, property] boolean CharNoLineBreak; + + //------------------------------------------------------------------------- + + // DocMerge from xml: property com::sun::star::style::CharacterProperties::CharShadowed + /** specifies if the characters are formatted and + displayed with a shadow effect. + + @optional + */ + [optional, property] boolean CharShadowed; + + //------------------------------------------------------------------------- + + // DocMerge from xml: property com::sun::star::style::CharacterProperties::CharFontType + /** optional property which specifies the fundamental technology of the font. + + @optional@see com::sun::star::awt::FontType + */ + [optional, property] short CharFontType; + + //------------------------------------------------------------------------- + + // DocMerge from xml: property com::sun::star::style::CharacterProperties::CharStyleName + /** specifies the name of the style of the font. + */ + [optional, property] string CharStyleName; + + //------------------------------------------------------------------------- + + // DocMerge from xml: property com::sun::star::style::CharacterProperties::CharContoured + /** specifies if the characters are formatted and + displayed with a contour effect. + + @optional + */ + [optional, property] boolean CharContoured; + +}; + +//============================================================================= + +}; }; }; }; + +/*============================================================================= + + $Log: not supported by cvs2svn $ + Revision 1.2 2000/10/09 14:25:01 mi + #78715# exchanged stardiv::... by com::sun::star::... (especially in @see tags) + + Revision 1.1.1.1 2000/09/18 23:35:54 hjs + initial import + + Revision 1.10 2000/09/11 11:52:55 mi + documentation merged from XML + + Revision 1.8 2000/08/25 08:44:15 os + property CharStrikeout + + Revision 1.7 2000/08/17 11:41:20 bm + some properties are optional (settings got lost by merge). I set them according to old docu + + Revision 1.6 2000/07/19 07:56:26 os + ...Style -> ...StyleName + + Revision 1.5 2000/06/29 12:27:06 os + TransparentBackground -> ~BackTransparent + + Revision 1.4 2000/06/28 15:41:11 os + new properties: CharFontStyleName/Family/CharSet/Pitch + + Revision 1.3 2000/02/21 16:18:09 mi + string documentation from stardiv...*.idl-files + + Revision 1.2 2000/01/28 16:32:18 mi + #72210# Locale instead of Language in NumberFormatter + + Revision 1.1.1.1 1999/11/11 09:48:45 jsc + new + + +=============================================================================*/ +#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..a3597e676d7f --- /dev/null +++ b/offapi/com/sun/star/style/CharacterStyle.idl @@ -0,0 +1,96 @@ +/************************************************************************* + * + * $RCSfile: CharacterStyle.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:15 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_style_CharacterProperties_idl__ +#define __com_sun_star_style_CharacterProperties_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</type>. + */ +service CharacterProperties +{ + //------------------------------------------------------------------------- + /// specifies administrative properties. + service Style; + + //------------------------------------------------------------------------- + /// specifies the style properties. + service CharacterProperties; +}; + +//============================================================================= + +}; }; }; }; + +#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..a8644ddcddd0 --- /dev/null +++ b/offapi/com/sun/star/style/DropCapFormat.idl @@ -0,0 +1,115 @@ +/************************************************************************* + * + * $RCSfile: DropCapFormat.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:15 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_style_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. + */ +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; + +}; + +//============================================================================= + +}; }; }; }; + +/*============================================================================= + + $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 23:35:54 hjs + initial import + + Revision 1.3 2000/09/11 11:52:55 mi + documentation merged from XML + + Revision 1.1.1.1 1999/11/11 09:48:45 jsc + new + + +=============================================================================*/ +#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..e81b2981106a --- /dev/null +++ b/offapi/com/sun/star/style/GraphicLocation.idl @@ -0,0 +1,182 @@ +/************************************************************************* + * + * $RCSfile: GraphicLocation.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:15 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_style_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. + */ +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 + +}; + +//============================================================================= + +}; }; }; }; + +/*============================================================================= + + $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 23:35:54 hjs + initial import + + Revision 1.3 2000/09/11 11:52:55 mi + documentation merged from XML + + Revision 1.1.1.1 1999/11/11 09:48:45 jsc + new + + +=============================================================================*/ +#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..54a446ea3da6 --- /dev/null +++ b/offapi/com/sun/star/style/HorizontalAlignment.idl @@ -0,0 +1,127 @@ +/************************************************************************* + * + * $RCSfile: HorizontalAlignment.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:15 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_style_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. + */ +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 + +}; + +//============================================================================= + +}; }; }; }; + +/*============================================================================= + + $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 23:35:54 hjs + initial import + + Revision 1.5 2000/09/11 11:52:55 mi + documentation merged from XML + + Revision 1.3 2000/03/14 12:18:48 mi + #70728# missing documentation + + Revision 1.2 2000/02/07 11:24:58 mi + zu #70728# missing documentation marked + + Revision 1.1.1.1 1999/11/11 09:48:45 jsc + new + + +=============================================================================*/ +#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..87a5038aab8e --- /dev/null +++ b/offapi/com/sun/star/style/LineNumberPosition.idl @@ -0,0 +1,131 @@ +/************************************************************************* + * + * $RCSfile: LineNumberPosition.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:15 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_style_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. + */ +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; + +}; + +//============================================================================= + +}; }; }; }; + +/*============================================================================= + + $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 23:35:54 hjs + initial import + + Revision 1.5 2000/09/11 11:52:55 mi + documentation merged from XML + + Revision 1.3 2000/03/14 12:18:48 mi + #70728# missing documentation + + Revision 1.2 2000/02/07 11:24:58 mi + zu #70728# missing documentation marked + + Revision 1.1.1.1 1999/11/11 09:48:45 jsc + new + + +=============================================================================*/ +#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..8567ea4b77d6 --- /dev/null +++ b/offapi/com/sun/star/style/LineSpacing.idl @@ -0,0 +1,108 @@ +/************************************************************************* + * + * $RCSfile: LineSpacing.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:15 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_style_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 + */ +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; + +}; + +//============================================================================= + +}; }; }; }; + +/*============================================================================= + + $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 23:35:54 hjs + initial import + + Revision 1.3 2000/09/11 11:52:55 mi + documentation merged from XML + + Revision 1.1.1.1 1999/11/11 09:48:45 jsc + new + + +=============================================================================*/ +#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..a6c2cff8ddc2 --- /dev/null +++ b/offapi/com/sun/star/style/LineSpacingMode.idl @@ -0,0 +1,124 @@ +/************************************************************************* + * + * $RCSfile: LineSpacingMode.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:15 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_style_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. + */ +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; + +}; + +//============================================================================= + +}; }; }; }; + +/*============================================================================= + + $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 23:35:54 hjs + initial import + + Revision 1.3 2000/09/11 11:52:55 mi + documentation merged from XML + + Revision 1.1.1.1 1999/11/11 09:48:45 jsc + new + + +=============================================================================*/ +#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..90ad0a058145 --- /dev/null +++ b/offapi/com/sun/star/style/NumberingAlignment.idl @@ -0,0 +1,128 @@ +/************************************************************************* + * + * $RCSfile: NumberingAlignment.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:15 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_style_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. + */ +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; + +}; + +//============================================================================= + +}; }; }; }; + +/*============================================================================= + + $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 23:35:54 hjs + initial import + + Revision 1.3 2000/09/11 11:52:55 mi + documentation merged from XML + + Revision 1.1.1.1 1999/11/11 09:48:45 jsc + new + + +=============================================================================*/ +#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..fb639dc63a2f --- /dev/null +++ b/offapi/com/sun/star/style/NumberingLevel.idl @@ -0,0 +1,172 @@ +/************************************************************************* + * + * $RCSfile: NumberingLevel.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:15 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_style_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> + */ +service NumberingLevel +{ + //------------------------------------------------------------------------- + + // DocMerge from xml: property com::sun::star::style::NumberingLevel::NumberingType + /** specifies the type of numbering.@see constants 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 behind 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; + +}; + +//============================================================================= + +}; }; }; }; + +/*============================================================================= + + $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 23:35:54 hjs + initial import + + Revision 1.5 2000/09/11 11:52:55 mi + documentation merged from XML + + Revision 1.3 2000/02/21 16:18:09 mi + string documentation from stardiv...*.idl-files + + Revision 1.2 2000/02/07 11:24:58 mi + zu #70728# missing documentation marked + + Revision 1.1.1.1 1999/11/11 09:48:45 jsc + new + + +=============================================================================*/ +#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..f80875e1b0b1 --- /dev/null +++ b/offapi/com/sun/star/style/NumberingRule.idl @@ -0,0 +1,116 @@ +/************************************************************************* + * + * $RCSfile: NumberingRule.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:15 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_style_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> + */ +service NumberingRule +{ + // DocMerge: empty anyway + service com::sun::star::style::NumberingAlignment; + + // DocMerge: empty anyway + service com::sun::star::style::NumberingLevel; + +}; + +//============================================================================= + +}; }; }; }; + +/*============================================================================= + + $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 23:35:54 hjs + initial import + + Revision 1.4 2000/09/11 11:52:55 mi + documentation merged from XML + + Revision 1.2 2000/02/07 11:24:58 mi + zu #70728# missing documentation marked + + Revision 1.1.1.1 1999/11/11 09:48:45 jsc + new + + +=============================================================================*/ +#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..89b2b399a272 --- /dev/null +++ b/offapi/com/sun/star/style/NumberingType.idl @@ -0,0 +1,179 @@ +/************************************************************************* + * + * $RCSfile: NumberingType.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:15 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_style_NumberingType_idl__ +#define __com_sun_star_style_NumberingType_idl__ + + +//============================================================================= + + module com { module sun { module star { module style { + +//============================================================================= + +// DocMerge from idl: constants com::sun::star::style::NumberingType +/** These constants are used to specify which numbering style is used. + */ +constants NumberingType +{ + //------------------------------------------------------------------------- + + // DocMerge from idl: value com::sun::star::style::NumberingType::CHARS_UPPER_LETTER + /** Numbering is put in upper case letters as "A, B, C, D, ...". + */ + const short CHARS_UPPER_LETTER = 0; + + //------------------------------------------------------------------------- + + // DocMerge from idl: value com::sun::star::style::NumberingType::CHARS_LOWER_LETTER + /** Numbering is in lower case letters as "a, b, c, e,...". + */ + const short CHARS_LOWER_LETTER = 1; + + //------------------------------------------------------------------------- + + // DocMerge from idl: value com::sun::star::style::NumberingType::ROMAN_UPPER + /** Numbering is in Roman numbers with upper case letters + as "I, II, III, IV, ...". + */ + const short ROMAN_UPPER = 2; + + //------------------------------------------------------------------------- + + // DocMerge from idl: value com::sun::star::style::NumberingType::ROMAN_LOWER + /** Numbering is in Roman numbers with lower case letters + as "i, ii, iii, iv, ...". + */ + const short ROMAN_LOWER = 3; + + //------------------------------------------------------------------------- + + // DocMerge from idl: value com::sun::star::style::NumberingType::ARABIC + /** Numbering is in Arabic numbers as "1, 2, 3, 4, ...". + */ + const short ARABIC = 4; + + //------------------------------------------------------------------------- + + // DocMerge from idl: value com::sun::star::style::NumberingType::NUMBER_NONE + /** Numbering is invisible. + */ + const short NUMBER_NONE = 5; + + //------------------------------------------------------------------------- + + // DocMerge from idl: value com::sun::star::style::NumberingType::CHAR_SPECIAL + /** Use a character from a specified font. + */ + const short CHAR_SPECIAL = 6; + + //------------------------------------------------------------------------- + + // DocMerge from idl: value com::sun::star::style::NumberingType::PAGE_DESCRIPTOR + /** Numbering is specified in the page style. + */ + const short PAGE_DESCRIPTOR = 7; + + //------------------------------------------------------------------------- + + // DocMerge from idl: value com::sun::star::style::NumberingType::BITMAP + /** Numbering is displayed as a bitmap graphic. + */ + const short BITMAP = 8; + //------------------------------------------------------------------------- + + // DocMerge from idl: value com::sun::star::style::NumberingType::CHARS_UPPER_LETTER_N + /** Numbering is put in upper case letters as "A, B, ..., Y, Z, AA, BB, CC, ... AAA, ...". + */ + const short CHARS_UPPER_LETTER_N = 9; + //------------------------------------------------------------------------- + + // DocMerge from idl: value com::sun::star::style::NumberingType::CHARS_LOWER_LETTER_N + /** Numbering is put in lower case letters as "a, b, ..., y, z, aa, bb, cc, ... aaa, ...". + */ + const short CHARS_LOWER_LETTER_N =10; + +}; + +//============================================================================= + +}; }; }; }; + +/*============================================================================= + + $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 23:35:54 hjs + initial import + + Revision 1.5 2000/09/11 11:52:55 mi + documentation merged from XML + + Revision 1.3 2000/06/26 06:35:52 os + syntax + + Revision 1.2 2000/06/26 06:34:54 os + new types: CHARS_UPPER/LOWER_LETTER_N + + Revision 1.1.1.1 1999/11/11 09:48:45 jsc + new + + +=============================================================================*/ +#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..62ba4a19134f --- /dev/null +++ b/offapi/com/sun/star/style/PageProperties.idl @@ -0,0 +1,429 @@ +/************************************************************************* + * + * $RCSfile: PageProperties.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:15 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_style_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_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 +//============================================================================= + + module com { module sun { module star { module style { + +//============================================================================= + +/** describes the style of pages. + */ +service PageProperties +{ +//----------------------------------------------------------------------------- +/** contains color of the background. + */ +[property] long 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. + */ +[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; +//----------------------------------------------------------------------------- +/** determins the left border of the page. + */ +[property] com::sun::star::table::BorderLine LeftBorder; +//----------------------------------------------------------------------------- +/** determins the right border of the page. + */ +[property] com::sun::star::table::BorderLine RightBorder; +//----------------------------------------------------------------------------- +/** determins the top border of the page. + */ +[property] com::sun::star::table::BorderLine TopBorder; +//----------------------------------------------------------------------------- +/** determins the bottom border 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. + */ +[property] com::sun::star::container::XNameContainer UserDefinedAttributes; + +//----------------------------------------------------------------------------- +/** contains the color of the background of the header. + */ +[property] long HeaderBackColor; +//----------------------------------------------------------------------------- +/** + */ +//[property] HeaderBackGraphic; +//----------------------------------------------------------------------------- +/** contains the URL of the background graphic of the header. + */ +[property] string HeaderBackGraphicURL; +//----------------------------------------------------------------------------- +/** contains the filter name of the background graphic of the header. + */ +[property] string HeaderBackGraphicFilter; +//----------------------------------------------------------------------------- +/** determins the location of the background graphic of the header. + */ +[property] com::sun::star::style::GraphicLocation HeaderBackGraphicLocation; +//----------------------------------------------------------------------------- +/** contains the left margin of the header. + */ +[property] long HeaderLeftMargin; +//----------------------------------------------------------------------------- +/** contains the right margin of the header. + */ +[property] long HeaderRightMargin; +//----------------------------------------------------------------------------- +/** determins if the the background color of the header is transparent. + */ +[property] boolean HeaderBackTransparent; +//----------------------------------------------------------------------------- +/** determins the left border of the header. + */ +[property] com::sun::star::table::BorderLine HeaderLeftBorder; +//----------------------------------------------------------------------------- +/** determins the right border of the header. + */ +[property] com::sun::star::table::BorderLine HeaderRightBorder; +//----------------------------------------------------------------------------- +/** determins the top border of the header. + */ +[property] com::sun::star::table::BorderLine HeaderTopBorder; +//----------------------------------------------------------------------------- +/** determins the bottom border of the header. + */ +[property] com::sun::star::table::BorderLine HeaderBottomBorder; + +//----------------------------------------------------------------------------- +/** determins the left border distance of the header. + */ +[property] long HeaderLeftBorderDistance; +//----------------------------------------------------------------------------- +/** determins the right border distance of the header. + */ +[property] long HeaderRightBorderDistance; +//----------------------------------------------------------------------------- +/** determins the top border distance of the header. + */ +[property] long HeaderTopBorderDistance; +//----------------------------------------------------------------------------- +/** determins the bottom border distance of the header. + */ +[property] long HeaderBottomBorderDistance; +//----------------------------------------------------------------------------- +/** determins the shadow of the header. + */ +[property] com::sun::star::table::ShadowFormat HeaderShadowFormat; +//----------------------------------------------------------------------------- +/** determins the distance between the header and the body text area. + */ +[property] long HeaderBodyDistance; +//----------------------------------------------------------------------------- +/** determins if the header content on left and right pages is the same. + */ +[property] boolean HeaderIsShared; +//----------------------------------------------------------------------------- +/** contains the height of the header. + */ +[property] long HeaderHeight; +//----------------------------------------------------------------------------- +/** determins if the height of the header depends on the content. + */ +[property] boolean HeaderIsDynamicHeight; +//----------------------------------------------------------------------------- +/** determins if a header is used on the page. + */ +[property] boolean HeaderIsOn; + +//----------------------------------------------------------------------------- +/** contains the interface to the text of the header. + */ +[optional, property] com::sun::star::text::XText HeaderText; +//----------------------------------------------------------------------------- +/** contains the interface to the text of the header of left pages. + */ +[optional, property] com::sun::star::text::XText HeaderTextLeft; +//----------------------------------------------------------------------------- +/** contains the interface to the text of the header of right pages. + */ +[optional, property] com::sun::star::text::XText HeaderTextRight; + +//----------------------------------------------------------------------------- +/** contains the color of the background of the footer. + */ +[property] long FooterBackColor; +//----------------------------------------------------------------------------- +/** + */ +//[property] FooterBackGraphic; +//----------------------------------------------------------------------------- +/** contains the URL of the background graphic in the footer. + */ +[property] string FooterBackGraphicURL; +//----------------------------------------------------------------------------- +/** contains the filter name of the background graphic in the footer. + */ +[property] string FooterBackGraphicFilter; +//----------------------------------------------------------------------------- +/** determins the location of the background graphic in the footer. + */ +[property] com::sun::star::style::GraphicLocation FooterBackGraphicLocation; +//----------------------------------------------------------------------------- +/** determins the left margin of the footer. + */ +[property] long FooterLeftMargin; +//----------------------------------------------------------------------------- +/** determins the right margin of the footer. + */ +[property] long FooterRightMargin; +//----------------------------------------------------------------------------- +/** determins if the background is transparent. + */ +[property] boolean FooterBackTransparent; +//----------------------------------------------------------------------------- +/** contains the left border of the footer. + */ +[property] com::sun::star::table::BorderLine FooterLeftBorder; +//----------------------------------------------------------------------------- +/** contains the right border of the footer. + */ +[property] com::sun::star::table::BorderLine FooterRightBorder; +//----------------------------------------------------------------------------- +/** contains the top border of the footer. + */ +[property] com::sun::star::table::BorderLine FooterTopBorder; +//----------------------------------------------------------------------------- +/** contains the bottom border of the footer. + */ +[property] com::sun::star::table::BorderLine FooterBottomBorder; +//----------------------------------------------------------------------------- +/** contains the left border distance of the footer. + */ +[property] long FooterLeftBorderDistance; +//----------------------------------------------------------------------------- +/** contains the right border distance of the footer. + */ +[property] long FooterRightBorderDistance; +//----------------------------------------------------------------------------- +/** contains the top border distance of the footer. + */ +[property] long FooterTopBorderDistance; +//----------------------------------------------------------------------------- +/** contains the bottom border distance of the footer. + */ +[property] long FooterBottomBorderDistance; +//----------------------------------------------------------------------------- +/** determins the shadow of the footer. + */ +[property] com::sun::star::table::ShadowFormat FooterShadowFormat; +//----------------------------------------------------------------------------- +/** determins the distance between the footer and the body text area. + */ +[property] long FooterBodyDistance; +//----------------------------------------------------------------------------- +/** determins if the height of the footer depends on the content. + */ +[property] boolean FooterIsDynamicHeight; +//----------------------------------------------------------------------------- +/** determins if the footer content on left and right pages is the same. + */ +[property] boolean FooterIsShared; +//----------------------------------------------------------------------------- +/** determins the height of the footer. + */ +[property] long FooterHeight; +//----------------------------------------------------------------------------- +/** determins if a footer is used on the page. + */ +[property] boolean FooterIsOn; +//----------------------------------------------------------------------------- +/** contains the interface to the text of the footer. + */ +[optional,property] com::sun::star::text::XText FooterText; +//----------------------------------------------------------------------------- +/** contains the interface to the text of the footer of a left page. + */ +[optional,property] com::sun::star::text::XText FooterTextLeft; +//----------------------------------------------------------------------------- +/** contains the interface to the text of the footer of a right page. + */ +[optional,property] com::sun::star::text::XText FooterTextRight; + +}; +//============================================================================= + +}; }; }; }; + +#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..154832bcb71e --- /dev/null +++ b/offapi/com/sun/star/style/PageStyleLayout.idl @@ -0,0 +1,125 @@ +/************************************************************************* + * + * $RCSfile: PageStyleLayout.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:15 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_style_PageStyleLayout_idl__ +#define __com_sun_star_style_PageStyleLayout_idl__ + + +//============================================================================= + + module com { module sun { module star { module style { + +//============================================================================= + +// DocMerge from xml: enum com::sun::star::style::PageStyleLayout +/** spefifies the pages for which a layout is valid. + */ +enum PageStyleLayout +{ + //------------------------------------------------------------------------- + + // DocMerge from xml: value com::sun::star::style::PageStyleLayout::ALL + /** The page style is identically used for left and right pages. + */ + ALL, + + //------------------------------------------------------------------------- + + // DocMerge from xml: value com::sun::star::style::PageStyleLayout::LEFT + /** The page style is only used for left pages. + */ + LEFT, + + //------------------------------------------------------------------------- + + // DocMerge from xml: value com::sun::star::style::PageStyleLayout::RIGHT + /** The page style is only used for right pages. + */ + RIGHT, + + //------------------------------------------------------------------------- + + // DocMerge from xml: value com::sun::star::style::PageStyleLayout::MIRRORED + /** The page style is used for left and right pages, but mirrored for + right pages. + */ + MIRRORED + +}; + +//============================================================================= + +}; }; }; }; + +/*============================================================================= + + $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 23:35:54 hjs + initial import + + Revision 1.3 2000/09/11 11:52:55 mi + documentation merged from XML + + Revision 1.1.1.1 1999/11/11 09:48:45 jsc + new + + +=============================================================================*/ +#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..77f163ea2403 --- /dev/null +++ b/offapi/com/sun/star/style/ParagraphAdjust.idl @@ -0,0 +1,131 @@ +/************************************************************************* + * + * $RCSfile: ParagraphAdjust.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:15 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_style_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. + */ +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 + +}; + +//============================================================================= + +}; }; }; }; + +/*============================================================================= + + $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 23:35:54 hjs + initial import + + Revision 1.3 2000/09/11 11:52:55 mi + documentation merged from XML + + Revision 1.1.1.1 1999/11/11 09:48:45 jsc + new + + +=============================================================================*/ +#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..dcb43bad366f --- /dev/null +++ b/offapi/com/sun/star/style/ParagraphProperties.idl @@ -0,0 +1,396 @@ +/************************************************************************* + * + * $RCSfile: ParagraphProperties.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:15 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_style_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_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_XIndexAccess_idl__ +#include <com/sun/star/container/XIndexAccess.idl> +#endif +#ifndef __com_sun_star_table_ShadowFormat_idl__ +#include <com/sun/star/table/ShadowFormat.idl> +#endif + + +//============================================================================= + + module com { module sun { module star { module style { + +//============================================================================= + +// DocMerge from xml: service com::sun::star::style::ParagraphProperties +/** describes the style of paragraphs. + */ +service ParagraphProperties +{ + //------------------------------------------------------------------------- + + // DocMerge from xml: property com::sun::star::style::ParagraphProperties::ParaAdjust + /** determines the adjustment of a paragraph. + */ + [property] com::sun::star::style::ParagraphAdjust ParaAdjust; + + //------------------------------------------------------------------------- + + // DocMerge from xml: property com::sun::star::style::ParagraphProperties::ParaLineSpacing + /** contains the type of the line spacing of a paragraph. + */ + [property] com::sun::star::style::LineSpacing ParaLineSpacing; + + //------------------------------------------------------------------------- + + // DocMerge from xml: property com::sun::star::style::ParagraphProperties::ParaBackColor + /** contains the paragraph background color. + */ + [property] long ParaBackColor; + + //------------------------------------------------------------------------- + + // DocMerge from xml: property com::sun::star::style::ParagraphProperties::ParaBackTransparent + /** This value is <true></true> if the paragraph background color + is set to transparent. + */ + [property] boolean ParaBackTransparent; + + //------------------------------------------------------------------------- + + // DocMerge from xml: property com::sun::star::style::ParagraphProperties::ParaBackGraphicURL + /** contains the value of a link for the background graphic of a paragraph. + */ + [property] string ParaBackGraphicURL; + + //------------------------------------------------------------------------- + + // DocMerge from xml: property com::sun::star::style::ParagraphProperties::ParaBackGraphicFilter + /** contains the name of the graphic filter for the background graphic of a paragraph. + */ + [property] string ParaBackGraphicFilter; + + //------------------------------------------------------------------------- + + // DocMerge from xml: property com::sun::star::style::ParagraphProperties::ParaBackGraphicLocation + /** contains the value for the position of a background graphic. + + <p> </p>@see com::sun::star::style::GraphicLocation</p> + */ + [property] com::sun::star::style::GraphicLocation ParaBackGraphicLocation; + + //------------------------------------------------------------------------- + + // DocMerge from xml: property com::sun::star::style::ParagraphProperties::ParaLastLineAdjust + /** determines the adjustment of the last line. + + + + <p>It is only valid if <member>ParagraphProperties::ParagraphAdjust</member> + is set to <const>ParagraphAdjust::BLOCK</const>.</p> + */ + [property] short ParaLastLineAdjust; + + //------------------------------------------------------------------------- + + // DocMerge from xml: property com::sun::star::style::ParagraphProperties::ParaExpandSingleWord + /** 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> + */ + [property] boolean ParaExpandSingleWord; + + //------------------------------------------------------------------------- + + // DocMerge from xml: property com::sun::star::style::ParagraphProperties::ParaLeftMargin + /** determines the left margin of the paragraph in 100th mm. + */ + [property] long ParaLeftMargin; + + //------------------------------------------------------------------------- + + // DocMerge from xml: property com::sun::star::style::ParagraphProperties::ParaRightMargin + /** determines the right margin of the paragraph in 100th mm. + */ + [property] long ParaRightMargin; + + //------------------------------------------------------------------------- + + // DocMerge from xml: property com::sun::star::style::ParagraphProperties::ParaTopMargin + /** 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; + + //------------------------------------------------------------------------- + + // DocMerge from xml: property com::sun::star::style::ParagraphProperties::ParaBottomMargin + /** 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; + + //------------------------------------------------------------------------- + + // DocMerge from xml: property com::sun::star::style::ParagraphProperties::ParaLineNumberCount + /** determines if the paragraph is included in the + line numbering. + */ + [property] boolean ParaLineNumberCount; + + //------------------------------------------------------------------------- + + // DocMerge from xml: property com::sun::star::style::ParagraphProperties::ParaLineNumberStartValue + /** contains the start value for the line numbering. + */ + [property] long ParaLineNumberStartValue; + + //------------------------------------------------------------------------- + + // DocMerge from xml: property com::sun::star::style::ParagraphProperties::ParaIsHyphenation + /** prevents the paragraph from getting hyphenated. + */ + [property] boolean ParaIsHyphenation; + + //------------------------------------------------------------------------- + + // DocMerge from xml: property com::sun::star::style::ParagraphProperties::PageDescName + /** If this property is set, it creates a page break before the + paragraph it belongs to and assigns the value as the name + of the new page style sheet to use. + */ + [property] string PageDescName; + + //------------------------------------------------------------------------- + + // DocMerge from xml: property com::sun::star::style::ParagraphProperties::PageNumberOffset + /** If a page break property is set at a paragraph, this property contains the new value for the page number. + */ + [property] short PageNumberOffset; + + //------------------------------------------------------------------------- + + // DocMerge from xml: property com::sun::star::style::ParagraphProperties::ParaRegisterModeActive + /** 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> + */ + [property] boolean ParaRegisterModeActive; + + //------------------------------------------------------------------------- + + // DocMerge from idl: property com::sun::star::style::ParagraphProperties::ParaTabStops + /** specifies the positions and kinds of thei tab stops within this + paragraph. + */ + [property] sequence<com::sun::star::style::TabStop> ParaTabStops; + + //------------------------------------------------------------------------- + + // DocMerge from xml: property com::sun::star::style::ParagraphProperties::ParaStyleName + /** contains the name of the current paragraph style. + */ + [property] string ParaStyleName; + + //------------------------------------------------------------------------- + + // DocMerge from xml: property com::sun::star::style::ParagraphProperties::DropCapFormat + /** specifies whether the first characters of the + paragraph are displayed in capital letters and how they are + formatted. + */ + [property] com::sun::star::style::DropCapFormat DropCapFormat; + + //------------------------------------------------------------------------- + + // DocMerge from xml: property com::sun::star::style::ParagraphProperties::DropCapWholeWord + /** specifies if the property <var>DropCapFormat</var> + is applied to the whole first word. + */ + [property] boolean DropCapWholeWord; + + //------------------------------------------------------------------------- + + // DocMerge from xml: property com::sun::star::style::ParagraphProperties::ParaKeepTogether + /** 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> + */ + [property] boolean ParaKeepTogether; + + //------------------------------------------------------------------------- + + // DocMerge from xml: property com::sun::star::style::ParagraphProperties::ParaSplit + /** Setting this property to FALSE prevents the paragraph from + getting split into two pages or columns. + */ + [property] boolean ParaSplit; + + //------------------------------------------------------------------------- + + // DocMerge from xml: property com::sun::star::style::ParagraphProperties::NumberingLevel + /** specifies the numbering level of the + paragraph. + */ + [property] short NumberingLevel; + + //------------------------------------------------------------------------- + + // DocMerge from xml: property com::sun::star::style::ParagraphProperties::NumberingRules + /** contains the numbering rules applied to this paragraph. + */ + [readonly, property] com::sun::star::container::XIndexAccess NumberingRules; + + //------------------------------------------------------------------------- + + // DocMerge from xml: property com::sun::star::style::ParagraphProperties::NumberingStartValue + /** specifies the start value for numbering if a new numbering starts at this paragraph. + */ + [property] short NumberingStartValue; + + //------------------------------------------------------------------------- + /** determins if the numbering rules restart counting at the current paragraph. + */ + [optional, property] boolean ParaIsNumberingRestart; + //------------------------------------------------------------------------- + + // DocMerge from xml: property com::sun::star::style::ParagraphProperties::NumberingStyleName + /** 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> + */ + [property] string NumberingStyleName; + //------------------------------------------------------------------------- + + // DocMerge from xml: property com::sun::star::style::ParagraphProperties::ParaOrphans + /** 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. + */ + [property] byte ParaOrphans; + //------------------------------------------------------------------------- + + // DocMerge from xml: property com::sun::star::style::ParagraphProperties::ParaWidows + /** 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. + */ + [property] byte ParaWidows; + //------------------------------------------------------------------------- + /** determins the type, color and size of the shadow. + @see com.sun.star.table.ShadowFormat + */ + [property] com::sun::star::table::ShadowFormat ParaShadowFormat; + +}; + +//============================================================================= + +}; }; }; }; + +#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..e1205c3d122e --- /dev/null +++ b/offapi/com/sun/star/style/ParagraphStyle.idl @@ -0,0 +1,168 @@ +/************************************************************************* + * + * $RCSfile: ParagraphStyle.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:15 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_style_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 + +//============================================================================= + + module com { module sun { module star { module style { + +//============================================================================= + +/** specifies a stylesheet for paragraphs within a + <type scope="com::sun::star">Text</type>. + */ +service ParagraphStyle +{ + //------------------------------------------------------------------------- + /// specifies administrative properties. + service Style; + + //------------------------------------------------------------------------- + /// specifies the style properties. + service ParagraphProperties; + + // DocMerge from xml: property com::sun::star::style::ParagraphStyle::ParaLeftMarginRelative + /** 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; + + //------------------------------------------------------------------------- + + // DocMerge from xml: property com::sun::star::style::ParagraphStyle::ParaRightMarginRelative + /** 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; + + //------------------------------------------------------------------------- + + // DocMerge from xml: property com::sun::star::style::ParagraphStyle::ParaTopMarginRelative + /** 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; + + //------------------------------------------------------------------------- + + // DocMerge from xml: property com::sun::star::style::ParagraphStyle::ParaBottomMarginRelative + /** 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; + //------------------------------------------------------------------------- + + // DocMerge from xml: property com::sun::star::style::ParagraphStyle::Category + /** determines the category of a paragraph style.@see com.sun.star.style.ParagraphStyleCategory + */ + [property] short Category; +}; + +//============================================================================= + +}; }; }; }; + +/*============================================================================= + + $Log: not supported by cvs2svn $ + Revision 1.3 2000/10/18 09:35:26 mi + missing include Style.idl added + + Revision 1.2 2000/10/16 16:23:57 mi + documentation improved and analog to CharacterStyle + + Revision 1.1.1.1 2000/09/18 23:35:54 hjs + initial import + + Revision 1.4 2000/09/11 11:52:56 mi + documentation merged from XML + + Revision 1.2 2000/07/21 13:21:10 os + #76644# Category property at paragraph styles + + Revision 1.1 2000/06/29 12:44:25 os + service ParagraphStyle + + +=============================================================================*/ +#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..3d54916d111d --- /dev/null +++ b/offapi/com/sun/star/style/ParagraphStyleCategory.idl @@ -0,0 +1,120 @@ +/************************************************************************* + * + * $RCSfile: ParagraphStyleCategory.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:15 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ + +#ifndef __com_sun_star_style_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. + */ +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..6f88b9dc7e9e --- /dev/null +++ b/offapi/com/sun/star/style/Style.idl @@ -0,0 +1,146 @@ +/************************************************************************* + * + * $RCSfile: Style.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:15 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_style_Style_idl__ +#define __com_sun_star_style_Style_idl__ + +#ifndef __com_sun_star_style_XStyle_idl__ +#include <com/sun/star/style/XStyle.idl> +#endif + + +//============================================================================= + + module com { module sun { module star { module style { + +//============================================================================= + +// DocMerge from xml: service com::sun::star::style::Style +/** This service specifies a single style sheet. + */ +service Style +{ + // DocMerge: empty anyway + interface com::sun::star::style::XStyle; + //------------------------------------------------------------------------- + + // DocMerge from xml: property com::sun::star::style::Style::IsPhysical + /** determins 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 + usefull to check if the style is created first. + </p> + */ + [optional, readonly, property] boolean IsPhysical; + //------------------------------------------------------------------------- + + // DocMerge from xml: property com::sun::star::style::Style::FollowStyle + /** 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] boolean FollowStyle; + //------------------------------------------------------------------------- + + // DocMerge from xml: property com::sun::star::style::Style::DisplayName + /** 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; + //------------------------------------------------------------------------- + + // DocMerge from xml: property com::sun::star::style::Style::IsAutoUpdate + /** determins if a style is automatically updated if the properties of an object + that the style is applied to are changed. + + <p> I.e. if a the style is applied to a paragraph and the properties of the paragraph + are changed than the style will be updated accordingly.</p> + */ + [optional, property] string IsAutoUpdate; +}; + +//============================================================================= + +}; }; }; }; + +/*============================================================================= + + $Log: not supported by cvs2svn $ + Revision 1.2 2000/10/10 09:30:02 os + #79332# IsPhysical and DisplayName now readonly + + Revision 1.1.1.1 2000/09/18 23:35:54 hjs + initial import + + Revision 1.4 2000/09/11 11:52:56 mi + documentation merged from XML + + Revision 1.2 2000/06/28 13:25:30 os + new properties + + Revision 1.1.1.1 1999/11/11 09:48:45 jsc + new + + +=============================================================================*/ +#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..85d191b28d6f --- /dev/null +++ b/offapi/com/sun/star/style/StyleFamilies.idl @@ -0,0 +1,168 @@ +/************************************************************************* + * + * $RCSfile: StyleFamilies.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:15 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_style_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> + */ +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 accessed by <type>XStyleFamily</type>. + */ + 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 accessed by <type>XStyleFamily</type>. + */ + interface com::sun::star::container::XIndexAccess; + +}; + +//============================================================================= + +}; }; }; }; + +/*============================================================================= + + $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 23:35:54 hjs + initial import + + Revision 1.3 2000/09/11 11:52:56 mi + documentation merged from XML + + Revision 1.1.1.1 1999/11/11 09:48:45 jsc + new + + +=============================================================================*/ +#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..ee3fe676bc5f --- /dev/null +++ b/offapi/com/sun/star/style/StyleFamily.idl @@ -0,0 +1,140 @@ +/************************************************************************* + * + * $RCSfile: StyleFamily.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:15 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_style_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 service StyleFamilies + */ +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>. + */ + 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>. + */ + interface com::sun::star::container::XIndexAccess; + +}; + +//============================================================================= + +}; }; }; }; + +/*============================================================================= + + $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 23:35:54 hjs + initial import + + Revision 1.5 2000/09/11 11:52:56 mi + documentation merged from XML + + Revision 1.3 2000/02/07 11:24:58 mi + zu #70728# missing documentation marked + + Revision 1.2 2000/01/03 12:03:22 mi + reference manual + + Revision 1.1.1.1 1999/11/11 09:48:45 jsc + new + + +=============================================================================*/ +#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..6b6abf283504 --- /dev/null +++ b/offapi/com/sun/star/style/TabAlign.idl @@ -0,0 +1,136 @@ +/************************************************************************* + * + * $RCSfile: TabAlign.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:15 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_style_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. + */ +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 + +}; + +//============================================================================= + +}; }; }; }; + +/*============================================================================= + + $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 23:35:54 hjs + initial import + + Revision 1.3 2000/09/11 11:52:56 mi + documentation merged from XML + + Revision 1.1.1.1 1999/11/11 09:48:45 jsc + new + + +=============================================================================*/ +#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..fffea6fc56b6 --- /dev/null +++ b/offapi/com/sun/star/style/TabStop.idl @@ -0,0 +1,129 @@ +/************************************************************************* + * + * $RCSfile: TabStop.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:15 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_style_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. + */ +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; + +}; + +//============================================================================= + +}; }; }; }; + +/*============================================================================= + + $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 23:35:54 hjs + initial import + + Revision 1.3 2000/09/11 11:52:56 mi + documentation merged from XML + + Revision 1.1.1.1 1999/11/11 09:48:45 jsc + new + + +=============================================================================*/ +#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..c7246399f4d8 --- /dev/null +++ b/offapi/com/sun/star/style/VerticalAlignment.idl @@ -0,0 +1,127 @@ +/************************************************************************* + * + * $RCSfile: VerticalAlignment.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:15 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_style_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. + */ +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 + +}; + +//============================================================================= + +}; }; }; }; + +/*============================================================================= + + $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 23:35:54 hjs + initial import + + Revision 1.5 2000/09/11 11:52:56 mi + documentation merged from XML + + Revision 1.3 2000/03/14 12:18:49 mi + #70728# missing documentation + + Revision 1.2 2000/02/07 11:24:58 mi + zu #70728# missing documentation marked + + Revision 1.1.1.1 1999/11/11 09:48:45 jsc + new + + +=============================================================================*/ +#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..c66573c803ae --- /dev/null +++ b/offapi/com/sun/star/style/XStyle.idl @@ -0,0 +1,142 @@ +/************************************************************************* + * + * $RCSfile: XStyle.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:15 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_style_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 { + +//============================================================================= + +// DocMerge from xml: interface com::sun::star::style::XStyle +/** specifies a template for a style (aka style sheet). + */ +[ uik(E2280500-33D6-11D1-AABE00A0-249D5590), ident( "XStyle", 1.0 ) ] +interface XStyle: com::sun::star::container::XNamed +{ + //------------------------------------------------------------------------- + + // DocMerge from xml: method com::sun::star::style::XStyle::isUserDefined + /** identifies a style as defined by the user. + */ + [const] boolean isUserDefined(); + + //------------------------------------------------------------------------- + + // DocMerge from idl: method com::sun::star::style::XStyle::isInUse + /** @returns + <TRUE/> if this type is used in the document. + */ + [const] boolean isInUse(); + + //------------------------------------------------------------------------- + + // DocMerge from idl: method com::sun::star::style::XStyle::getParentStyle + /** @returns + the name of the parent style, probably empty. + */ + [const] string getParentStyle(); + + //------------------------------------------------------------------------- + + // DocMerge from xml: method com::sun::star::style::XStyle::setParentStyle + /** sets the name of the parent style. + */ + void setParentStyle( [in] string aParentStyle ) + raises( com::sun::star::container::NoSuchElementException ); + +}; + +//============================================================================= + +}; }; }; }; + +/*============================================================================= + + $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 23:35:54 hjs + initial import + + Revision 1.5 2000/09/11 11:52:56 mi + documentation merged from XML + + Revision 1.3 2000/03/14 12:18:49 mi + #70728# missing documentation + + Revision 1.2 2000/02/07 11:24:58 mi + zu #70728# missing documentation marked + + Revision 1.1.1.1 1999/11/11 09:48:45 jsc + new + + +=============================================================================*/ +#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..df35bb4efbec --- /dev/null +++ b/offapi/com/sun/star/style/XStyleCondition.idl @@ -0,0 +1,124 @@ +/************************************************************************* + * + * $RCSfile: XStyleCondition.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:15 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_style_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 { + +//============================================================================= + +// DocMerge from xml: interface com::sun::star::style::XStyleCondition +/** This interface makes it possible to access conditional styles of the + object. + */ +[ uik(E2280501-33D6-11D1-AABE00A0-249D5590), ident( "XStyleCondition", 1.0 ) ] +interface XStyleCondition: com::sun::star::uno::XInterface +{ + //------------------------------------------------------------------------- + + // DocMerge from idl: method com::sun::star::style::XStyleCondition::getStyleConditionByType + /** @returns + the style condition for the specified type. + */ + string getStyleConditionByType( [in] short TextType ); + + //------------------------------------------------------------------------- + + // DocMerge from xml: method com::sun::star::style::XStyleCondition::setStyleConditionByType + /** sets the style condition for the specified type. + */ + [oneway] void setStyleConditionByType( [in] string StyleName, + [in] short TextType ); + +}; + +//============================================================================= + +}; }; }; }; + +/*============================================================================= + + $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 23:35:54 hjs + initial import + + Revision 1.5 2000/09/11 11:52:56 mi + documentation merged from XML + + Revision 1.3 2000/03/14 12:18:49 mi + #70728# missing documentation + + Revision 1.2 2000/02/07 11:24:58 mi + zu #70728# missing documentation marked + + Revision 1.1.1.1 1999/11/11 09:48:45 jsc + new + + +=============================================================================*/ +#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..0cb1ba4a2a4a --- /dev/null +++ b/offapi/com/sun/star/style/XStyleFamiliesSupplier.idl @@ -0,0 +1,114 @@ +/************************************************************************* + * + * $RCSfile: XStyleFamiliesSupplier.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:15 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_style_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. + */ +[ uik(E2280503-33D6-11D1-AABE00A0-249D5590), ident( "XStyleFamiliesSupplier", 1.0 ) ] +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 service StyleFamilies + */ + com::sun::star::container::XNameAccess getStyleFamilies(); + +}; + +//============================================================================= + +}; }; }; }; + +/*============================================================================= + + $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 23:35:54 hjs + initial import + + Revision 1.3 2000/09/11 11:52:56 mi + documentation merged from XML + + Revision 1.1.1.1 1999/11/11 09:48:45 jsc + new + + +=============================================================================*/ +#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..61dc4602775c --- /dev/null +++ b/offapi/com/sun/star/style/XStyleLoader.idl @@ -0,0 +1,146 @@ +/************************************************************************* + * + * $RCSfile: XStyleLoader.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:15 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_style_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. + */ +[ uik(E2280502-33D6-11D1-AABE00A0-249D5590), ident( "XStyleLoader", 1.0 ) ] +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>Overwrite</var> is <true></true>, then all styles + will be loaded. Otherwise, only styles which are not already + defined in this document are loaded.</p> String URL: The directory and the filename from document with the styles aOptions : Specify which of the Style families the method should load. The XPropertySetValue[] + has following items <ul> + <li> Bool LoadTextStyle </li> + <li> Bool LoadTextStyle </li> + <li> Bool LoadFrameStyle </li> + <li> Bool LoadPageStyle </li> + <li> Bool LoadNumberingStyle </li> + <li> Bool OverwriteStyle</li> + </ul> + */ + void loadStylesFromURL( [in] string URL, + [in] sequence<com::sun::star::beans::PropertyValue> aOptions ) + raises( com::sun::star::io::IOException ); + + //------------------------------------------------------------------------- + + // DocMerge from idl: method com::sun::star::style::XStyleLoader::getStyleLoaderOptions + /** @returns + a sequence with arguments which can be used to give more + details of how to load style sheets from a file. + */ + sequence<com::sun::star::beans::PropertyValue> getStyleLoaderOptions(); + +}; + +//============================================================================= + +}; }; }; }; + +/*============================================================================= + + $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 23:35:54 hjs + initial import + + Revision 1.5 2000/09/11 11:52:56 mi + documentation merged from XML + + Revision 1.3 2000/03/14 12:18:49 mi + #70728# missing documentation + + Revision 1.2 2000/02/07 11:24:58 mi + zu #70728# missing documentation marked + + Revision 1.1.1.1 1999/11/11 09:48:45 jsc + new + + +=============================================================================*/ +#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..f59f5125b479 --- /dev/null +++ b/offapi/com/sun/star/style/makefile.mk @@ -0,0 +1,109 @@ +#************************************************************************* +# +# $RCSfile: makefile.mk,v $ +# +# $Revision: 1.1 $ +# +# last change: $Author: mi $ $Date: 2000-11-06 09:22:15 $ +# +# The Contents of this file are made available subject to the terms of +# either of the following licenses +# +# - GNU Lesser General Public License Version 2.1 +# - Sun Industry Standards Source License Version 1.1 +# +# Sun Microsystems Inc., October, 2000 +# +# GNU Lesser General Public License Version 2.1 +# ============================================= +# Copyright 2000 by Sun Microsystems, Inc. +# 901 San Antonio Road, Palo Alto, CA 94303, USA +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License version 2.1, as published by the Free Software Foundation. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, +# MA 02111-1307 USA +# +# +# Sun Industry Standards Source License Version 1.1 +# ================================================= +# The contents of this file are subject to the Sun Industry Standards +# Source License Version 1.1 (the "License"); You may not use this file +# except in compliance with the License. You may obtain a copy of the +# License at http://www.openoffice.org/license.html. +# +# Software provided under this License is provided on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, +# WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, +# MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. +# See the License for the specific provisions governing your rights and +# obligations concerning the Software. +# +# The Initial Developer of the Original Code is: Sun Microsystems, Inc. +# +# Copyright: 2000 by Sun Microsystems, Inc. +# +# All Rights Reserved. +# +# Contributor(s): _______________________________________ +# +# +# +#************************************************************************* + +PRJ=..$/..$/..$/.. + +PRJNAME=api + +TARGET=cssstyle +PACKAGE=com$/sun$/star$/style + +# --- Settings ----------------------------------------------------- +.INCLUDE : $(PRJ)$/util$/makefile.pmk + +# ------------------------------------------------------------------------ + +IDLFILES=\ + BreakType.idl\ + CaseMap.idl\ + CharacterProperties.idl\ + CharacterStyle.idl\ + DropCapFormat.idl\ + GraphicLocation.idl\ + HorizontalAlignment.idl\ + LineNumberPosition.idl\ + LineSpacing.idl\ + LineSpacingMode.idl\ + NumberingAlignment.idl\ + NumberingLevel.idl\ + NumberingRule.idl\ + NumberingType.idl\ + PageStyleLayout.idl\ + ParagraphAdjust.idl\ + ParagraphStyle.idl\ + ParagraphStyleCategory.idl\ + ParagraphProperties.idl\ + Style.idl\ + StyleFamilies.idl\ + StyleFamily.idl\ + TabAlign.idl\ + TabStop.idl\ + VerticalAlignment.idl\ + XStyle.idl\ + XStyleCondition.idl\ + XStyleFamiliesSupplier.idl\ + XStyleLoader.idl\ + +# ------------------------------------------------------------------ + +.INCLUDE : target.mk +.INCLUDE : $(PRJ)$/util$/target.pmk |