summaryrefslogtreecommitdiff
path: root/offapi/com/sun/star/drawing
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-04-27 23:45:24 +0200
committerMichael Stahl <mstahl@redhat.com>2013-06-04 12:01:02 +0200
commitd11a7b5eb1b127c4f60367ecaeb64868313002d6 (patch)
tree4333a00f2ffd957219cfa355c54cc62fc7cd670a /offapi/com/sun/star/drawing
parent4e70bdec9657f60c2bc9f4e8ad22c3625cc009a4 (diff)
*api: convert <const>
This one is apparently often abused to link to a constant group, while it can only link to constants within a group. sed -i "s,<const>\([^<]\+\)</const>,\1,g" Change-Id: Ic3d8099751340e4b046298c861bb659beb351eaf
Diffstat (limited to 'offapi/com/sun/star/drawing')
-rw-r--r--offapi/com/sun/star/drawing/FillProperties.idl16
-rw-r--r--offapi/com/sun/star/drawing/ShadeMode.idl8
-rw-r--r--offapi/com/sun/star/drawing/TextProperties.idl8
-rw-r--r--offapi/com/sun/star/drawing/TextureKind.idl2
-rw-r--r--offapi/com/sun/star/drawing/TextureKind2.idl4
-rw-r--r--offapi/com/sun/star/drawing/framework/XConfigurationController.idl16
-rw-r--r--offapi/com/sun/star/drawing/framework/XModuleController.idl2
-rw-r--r--offapi/com/sun/star/drawing/framework/XResourceId.idl6
8 files changed, 31 insertions, 31 deletions
diff --git a/offapi/com/sun/star/drawing/FillProperties.idl b/offapi/com/sun/star/drawing/FillProperties.idl
index a9470fe58563..55eb98d4230d 100644
--- a/offapi/com/sun/star/drawing/FillProperties.idl
+++ b/offapi/com/sun/star/drawing/FillProperties.idl
@@ -48,7 +48,7 @@ published service FillProperties
/** This is the transparence of the filled area.
<p>This property is only valid if the property <member>FillStyle
- </member> is set to <const>FillStyle::SOLID</const>.
+ </member> is set to FillStyle::SOLID.
*/
[property] short FillTransparence;
@@ -162,15 +162,15 @@ published service FillProperties
<p>This property corresponds to the properties <member>
FillBitmapStretch</member> and #FillBitmapTile.</p>
- <p>If set to <const>BitmapMode::REPEAT</const>, the property
+ <p>If set to BitmapMode::REPEAT, the property
FillBitmapStretch is set to <FALSE/>, and the property FillBitmapTile
is set to <TRUE/>.</p>
- <p>If set to <const>BitmapMode::STRETCH</const>, the property
+ <p>If set to BitmapMode::STRETCH, the property
FillBitmapStretch is set to <TRUE/>, and the property FillBitmapTile
is set to <FALSE/>.</p>
- <p>If set to <const>BitmapMode::NO_REPEAT</const>, both properties
+ <p>If set to BitmapMode::NO_REPEAT, both properties
FillBitmapStretch and FillBitmapTile are set to <FALSE/>.</p>
*/
[property] BitmapMode FillBitmapMode;
@@ -182,11 +182,11 @@ published service FillProperties
instead to set all supported bitmap modes.</p>
<p>If set to <TRUE/>, the value of the FillBitmapMode property changes
- to <const>BitmapMode::STRETCH</const>. BUT: behavior is undefined, if
+ to BitmapMode::STRETCH. BUT: behavior is undefined, if
the property #FillBitmapTile is <TRUE/> too.</p>
<p>If set to <FALSE/>, the value of the FillBitmapMode property
- changes to <const>BitmapMode::REPEAT</const> or <const>
+ changes to BitmapMode::REPEAT or <const>
BitmapMode::NO_REPEAT</const>, depending on the current value of the
#FillBitmapTile property.</p>
*/
@@ -199,11 +199,11 @@ published service FillProperties
instead to set all supported bitmap modes.</p>
<p>If set to <TRUE/>, the value of the FillBitmapMode property changes
- to <const>BitmapMode::REPEAT</const>. BUT: behavior is undefined, if
+ to BitmapMode::REPEAT. BUT: behavior is undefined, if
the property #FillBitmapStretch is <TRUE/> too.</p>
<p>If set to <FALSE/>, the value of the FillBitmapMode property
- changes to <const>BitmapMode::STRETCH</const> or <const>
+ changes to BitmapMode::STRETCH or <const>
BitmapMode::NO_REPEAT</const>, depending on the current value of the
#FillBitmapStretch property.</p>
*/
diff --git a/offapi/com/sun/star/drawing/ShadeMode.idl b/offapi/com/sun/star/drawing/ShadeMode.idl
index 6a6c2fe88e26..90b70cb27703 100644
--- a/offapi/com/sun/star/drawing/ShadeMode.idl
+++ b/offapi/com/sun/star/drawing/ShadeMode.idl
@@ -27,23 +27,23 @@
*/
published enum ShadeMode
{
- /** With <const>FLAT</const> shading, the faces of the object are
+ /** With FLAT shading, the faces of the object are
rendered in a solid color.
*/
FLAT,
- /** With <const>PHONG</const> shading, the normal itself is interpolated
+ /** With PHONG shading, the normal itself is interpolated
to get more realistic colors and light reflections.
*/
PHONG,
- /** With <const>SMOOTH</const> shading, the colors of the lit vertices is
+ /** With SMOOTH shading, the colors of the lit vertices is
interpolated.
*/
SMOOTH,
- /** <const>DRAFT</const> is a special mode which uses a BSP tree and
+ /** DRAFT is a special mode which uses a BSP tree and
triangle subdivision for displaying.
*/
DRAFT
diff --git a/offapi/com/sun/star/drawing/TextProperties.idl b/offapi/com/sun/star/drawing/TextProperties.idl
index e67110e4d52a..b5e1cb31987d 100644
--- a/offapi/com/sun/star/drawing/TextProperties.idl
+++ b/offapi/com/sun/star/drawing/TextProperties.idl
@@ -141,7 +141,7 @@ published service TextProperties
/** This is the distance from the left edge of the Shape
to the left edge of the text.
<p>This is only useful if Text::TextHorizontalAdjust is
- <const>BLOCK</const> or <const>STRETCH</const> or if
+ BLOCK or STRETCH or if
Text::TextFitSize is <TRUE/>.</p>
*/
[property] long TextLeftDistance;
@@ -151,7 +151,7 @@ published service TextProperties
to the right edge of the text.
<p>This is only useful if Text::TextHorizontalAdjust is
- <const>BLOCK</const> or <const>STRETCH</const>
+ BLOCK or STRETCH
or if Text::TextFitSize is <TRUE/>.</p>
*/
[property] long TextRightDistance;
@@ -161,7 +161,7 @@ published service TextProperties
the upper edge of the text.
<p>This is only useful if Text::TextVerticalAdjust is
- <const>BLOCK</const> or if Text::TextFitSize is
+ BLOCK or if Text::TextFitSize is
<TRUE/>.</p>
*/
[property] long TextUpperDistance;
@@ -173,7 +173,7 @@ published service TextProperties
<p>This is only useful if Text::TextVerticalAdjust is
- <const>BLOCK</const> or if Text::TextFitSize is
+ BLOCK or if Text::TextFitSize is
<TRUE/>.</p>
*/
[property] long TextLowerDistance;
diff --git a/offapi/com/sun/star/drawing/TextureKind.idl b/offapi/com/sun/star/drawing/TextureKind.idl
index 5d2e0e19ba66..9a66a3d99c8e 100644
--- a/offapi/com/sun/star/drawing/TextureKind.idl
+++ b/offapi/com/sun/star/drawing/TextureKind.idl
@@ -28,7 +28,7 @@
*/
published enum TextureKind
{
- /** With TextureKind <const>LUMINANCE</const>, the texture
+ /** With TextureKind LUMINANCE, the texture
and the lighting information are mixed to produce the image, so a
lit, textured object is achieved.
*/
diff --git a/offapi/com/sun/star/drawing/TextureKind2.idl b/offapi/com/sun/star/drawing/TextureKind2.idl
index 9b49a967ef64..6fa264250953 100644
--- a/offapi/com/sun/star/drawing/TextureKind2.idl
+++ b/offapi/com/sun/star/drawing/TextureKind2.idl
@@ -29,13 +29,13 @@
published enum TextureKind2
{
- /** With TextureKind <const>LUMINANCE</const>, the texture
+ /** With TextureKind LUMINANCE, the texture
and the lighting information are mixed to produce the image, so a
lit, textured object is achieved.
*/
LUMINANCE,
- /** With TextureKind <const>INTENSITY</const>, each texture
+ /** With TextureKind INTENSITY, each texture
pixel is used as an intensity value.
*/
INTENSITY,
diff --git a/offapi/com/sun/star/drawing/framework/XConfigurationController.idl b/offapi/com/sun/star/drawing/framework/XConfigurationController.idl
index 8fda669f47fe..6f84d2dbd7fc 100644
--- a/offapi/com/sun/star/drawing/framework/XConfigurationController.idl
+++ b/offapi/com/sun/star/drawing/framework/XConfigurationController.idl
@@ -97,7 +97,7 @@ interface XResource;
<p>The configuration controller sends the following events:
<ul>
- <li><const>ResourceActivationRequested</const> is sent when the
+ <li>ResourceActivationRequested is sent when the
activation of a resource has been requested and the resource is not yet
active in the requested configuration. The event is sent when the
configuration change request is executed, not when the
@@ -105,7 +105,7 @@ interface XResource;
<p>The ConfigurationChangeEvent::ResourceId member is set to the requested
resource. The #ResourceObject member is not
set.</p></li>
- <li><const>ResourceDeactivationRequested</const> is sent when the
+ <li>ResourceDeactivationRequested is sent when the
deactivation of a resource has been requested and the resource is active
in the requested configuration. The event is sent when the
configuration change request is executed that is created when for
@@ -113,25 +113,25 @@ interface XResource;
<p>The #ResourceId member is set to the requested
resource. The #ResourceObject member is not
set.</p></li>
- <li><const>ConfigurationUpdateStart</const> is sent before the update of
+ <li>ConfigurationUpdateStart is sent before the update of
the current configuration starts.</p>
<p>The requested configuration is available in the <member
scope="ConfigurationChangeEvent">Configuration</member> member. The
#ResourceId and #ResourceObject members
are not set.</p></li>
- <li><const>ConfigurationUpdateEnd</const> is sent after the update of
+ <li>ConfigurationUpdateEnd is sent after the update of
the current configuration ends.</p>
<p>The requested configuration is
available in the <member scope="ConfigurationChangeEvent"
>Configuration</member> member. The #ResourceId and
#ResourceObject members are not set.</p></li>
- <li><const>ResourceActivation</const> is sent when a resource is
+ <li>ResourceActivation is sent when a resource is
activated, i.e. when a new object of a resource is created (or taken
from a cash).</p>
<p>The #ResourceId and #ResourceObject
members are set to the XResourceId and object reference of
the activated resource.</p></li>
- <li><const>ResourceDeactivation</const> is sent when a resource is
+ <li>ResourceDeactivation is sent when a resource is
deactivated, i.e. when an object that previously was part of the
configuration is removed from the configuration.</p>
<p>The #ResourceId and #ResourceObject
@@ -151,13 +151,13 @@ interface XConfigurationController
@param xResourceId
The resource whose activation is requested.
@param eMode
- <p>When eMode is <const>REPLACE</const> then, before adding the
+ <p>When eMode is REPLACE then, before adding the
resource activation to the request queue, similar resources
linked to the same anchor are removed. This makes it easer to
switch between resources whose activation is mutually exclusive.
For example, there can only be one view per pane, so before
activating a new view the old one has to be deactivated.</p>
- <p>When eMode is <const>ADD</const> then the resource is requested
+ <p>When eMode is ADD then the resource is requested
without further changes.</p>
*/
void requestResourceActivation (
diff --git a/offapi/com/sun/star/drawing/framework/XModuleController.idl b/offapi/com/sun/star/drawing/framework/XModuleController.idl
index b8bb1d26aa0d..e9f8b581d837 100644
--- a/offapi/com/sun/star/drawing/framework/XModuleController.idl
+++ b/offapi/com/sun/star/drawing/framework/XModuleController.idl
@@ -35,7 +35,7 @@ interface XView;
list in the office configuration which associates resource URLs with
service names which in turn are associated with modules (or dlls). The
path to the office configuration list is
- <const>MultiPaneGUI/Framework/ResourceFactories</const> in the
+ MultiPaneGUI/Framework/ResourceFactories in the
Impress.xcu file.</p>
*/
interface XModuleController
diff --git a/offapi/com/sun/star/drawing/framework/XResourceId.idl b/offapi/com/sun/star/drawing/framework/XResourceId.idl
index 143893eedd0f..2655ab924255 100644
--- a/offapi/com/sun/star/drawing/framework/XResourceId.idl
+++ b/offapi/com/sun/star/drawing/framework/XResourceId.idl
@@ -89,7 +89,7 @@ interface XResourceId
@param xId
The resource id to which the called resource id is compared.
@return
- Returns <const>0</const> when the called resource id is
+ Returns 0 when the called resource id is
equivalent to the given resource id. Returns <code>-1</code> or
<code>+1</code> when the two compared resource ids differ.
*/
@@ -106,9 +106,9 @@ interface XResourceId
@param eMode
This mode specifies how the called resource has to be bound to
the given anchor in order to have this function return <TRUE/>.
- <p>If eMode is <const>DIRECT</const> then the anchor of the called resource id
+ <p>If eMode is DIRECT then the anchor of the called resource id
has to be identical to the given anchor. If eMode is
- <const>INDIRECT</const> then the given anchor has to be a part
+ INDIRECT then the given anchor has to be a part
of the anchor of the called resource.
*/
boolean isBoundTo (