#96678# changed enum WritingMode2 into constant collection

This commit is contained in:
Daniel Vogelheim
2002-02-06 13:19:59 +00:00
parent ebf9a717be
commit dcf41ca8da
3 changed files with 21 additions and 24 deletions

View File

@@ -2,9 +2,9 @@
*
* $RCSfile: PageProperties.idl,v $
*
* $Revision: 1.7 $
* $Revision: 1.8 $
*
* last change: $Author: dvo $ $Date: 2002-02-06 11:39:16 $
* last change: $Author: dvo $ $Date: 2002-02-06 14:19:59 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -458,9 +458,9 @@ of the current page is used as limit.
*/
[optional,property] long FootnoteLineDistance;
//-----------------------------------------------------------------------------
/** contains the writing direction
*/
[optional,property] com::sun::star::text::WritingMode2 WritingMode;
/** contains the writing direction, as represented by the <type
scope="com::sun::star::text">WritingMode2</type> constants */
[optional,property] short WritingMode;
//-----------------------------------------------------------------------------
/** contains the mode of the text grid (none, lines, ...), as
represented by <type scope="com::sun::star::text">TextGridMode</type>

View File

@@ -2,9 +2,9 @@
*
* $RCSfile: TextFrame.idl,v $
*
* $Revision: 1.8 $
* $Revision: 1.9 $
*
* last change: $Author: dvo $ $Date: 2002-02-04 17:02:55 $
* last change: $Author: dvo $ $Date: 2002-02-06 14:19:40 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -69,10 +69,6 @@
#include <com/sun/star/text/BaseFrame.idl>
#endif
#ifndef __com_sun_star_text_WritingMode2_idl__
#include <com/sun/star/text/WritingMode2.idl>
#endif
//=============================================================================
module com { module sun { module star { module text {
@@ -148,9 +144,10 @@ service TextFrame
*/
[property] short SizeType;
//-----------------------------------------------------------------------------
/** contains the writing direction
/** contains the writing direction, as represented by the
<type scope="com::sun::star::text">WritingMode2</type> constants
*/
[optional,property] com::sun::star::text::WritingMode2 WritingMode;
[optional, property] short WritingMode;
};

View File

@@ -2,9 +2,9 @@
*
* $RCSfile: WritingMode2.idl,v $
*
* $Revision: 1.1 $
* $Revision: 1.2 $
*
* last change: $Author: dvo $ $Date: 2002-02-04 17:02:55 $
* last change: $Author: dvo $ $Date: 2002-02-06 14:19:40 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -68,11 +68,11 @@
//=============================================================================
/** this enum describes different writing directions, and also allows
* for a value 'PAGE' which causes the writing mode to be obtained from
* the current page.
/** this set of constants describes different writing directions, and
* also allows for a value 'PAGE' which causes the writing mode to be
* obtained from the current page.
*/
enum WritingMode2
constants WritingMode2
{
//-------------------------------------------------------------------------
@@ -81,7 +81,7 @@ enum WritingMode2
<p>
Typically, this is the writing mode for normal "alphabetic" text.
*/
LR_TB,
const short LR_TB = 0;
//-------------------------------------------------------------------------
@@ -90,7 +90,7 @@ enum WritingMode2
<p>
Typically, this writing mode is used in Arabic and Hebrew text.
*/
RL_TB,
const short RL_TB = 1;
//-------------------------------------------------------------------------
@@ -99,7 +99,7 @@ enum WritingMode2
<p>
Typically, this writing mode is used in Chinese and Japanese text.
*/
TB_RL,
const short TB_RL = 2;
//-------------------------------------------------------------------------
@@ -108,7 +108,7 @@ enum WritingMode2
<p>
Typically, this writing mode is used in Mongolian text.
*/
TB_LR,
const short TB_LR = 3;
//-------------------------------------------------------------------------
@@ -116,7 +116,7 @@ enum WritingMode2
<p>
May not be used in page styles.
*/
PAGE
const short PAGE = 4;
};