Kaydet (Commit) 928b8640 authored tarafından Michael Stahl's avatar Michael Stahl

*api: convert <TRUE/> <FALSE/> <VOID/> <NULL/>

sed -i 's,<\(TRUE\|FALSE\|VOID\|NULL\)/>,`\1`,g'

Change-Id: Ia4df97ca809b00993530d67203bbe4ba7a072201
üst 6e1d239a
......@@ -172,7 +172,7 @@ constants AccessibleEventId
<p>Not used: The AccessibleEventObject::OldValue and
AccessibleEventObject::NewValue fields contain
references to the old and new predecessor. Note that both references
my be <NULL/> to indicate that a flow to the sending object has not
my be `NULL` to indicate that a flow to the sending object has not
existed or does not exist anymore.</p>
*/
const short CONTENT_FLOWS_FROM_RELATION_CHANGED = 12;
......@@ -183,7 +183,7 @@ constants AccessibleEventId
<p>Not used: The AccessibleEventObject::OldValue and
AccessibleEventObject::NewValue fields contain
references to the old and new successor. Note that both references
my be <NULL/> to indicate that a flow from the sending object has not
my be `NULL` to indicate that a flow from the sending object has not
existed or does not exist anymore.</p>
*/
const short CONTENT_FLOWS_TO_RELATION_CHANGED = 13;
......
......@@ -54,10 +54,10 @@ interface XAccessibleAction : ::com::sun::star::uno::XInterface
@param nIndex
This index specifies the action to perform. If it lies outside
the valid range <FALSE/> is returned and no action is performed.
the valid range `FALSE` is returned and no action is performed.
@return
Returns <TRUE/> if the action was successfully performed. If
the action could not be performed successfully <FALSE/> is
Returns `TRUE` if the action was successfully performed. If
the action could not be performed successfully `FALSE` is
returned.
@throws IndexOutOfBoundsException
......
......@@ -83,7 +83,7 @@ interface XAccessibleComponent : ::com::sun::star::uno::XInterface
<p>The test point's coordinates are defined relative to the
coordinate system of the object. That means that when the object is
an opaque rectangle then both the points (0,0) and (with-1,height-1)
would yield a <TRUE/> value.</p>
would yield a `TRUE` value.</p>
@param point
Coordinates of the point to test. The origin of the coordinate
......@@ -93,8 +93,8 @@ interface XAccessibleComponent : ::com::sun::star::uno::XInterface
system.
@return
Returns <TRUE/> if the point lies within or on the object's bounding
box and <FALSE/> otherwise.
Returns `TRUE` if the point lies within or on the object's bounding
box and `FALSE` otherwise.
*/
boolean containsPoint ([in] ::com::sun::star::awt::Point aPoint);
......@@ -103,7 +103,7 @@ interface XAccessibleComponent : ::com::sun::star::uno::XInterface
<p>The test point's coordinates are defined relative to the
coordinate system of the object. That means that when the object is
an opaque rectangle then both the points (0,0) and (with-1,height-1)
would yield a <TRUE/> value.</p>
would yield a `TRUE` value.</p>
@param aPoint
Coordinates of the test point for which to find the Accessible
......@@ -181,7 +181,7 @@ interface XAccessibleComponent : ::com::sun::star::uno::XInterface
/** Grabs the focus to this object.
<p>If this object can not accept the focus,
i.e. isFocusTraversable() returns <FALSE/> for this
i.e. isFocusTraversable() returns `FALSE` for this
object then nothing happens. Otherwise the object will attempt to
take the focus. Nothing happens if that fails, otherwise the object
has the focus. This method is called <code>requestFocus</code> in
......
......@@ -119,8 +119,8 @@ interface XAccessibleHyperlink :
like e.g. sending an appropriate event.</p>
@return
Returns <TRUE/> if the referenced document is still valid and
<FALSE/> otherwise.
Returns `TRUE` if the referenced document is still valid and
`FALSE` otherwise.
*/
boolean isValid ();
};
......
......@@ -74,8 +74,8 @@ interface XAccessibleRelationSet : ::com::sun::star::uno::XInterface
AccessibleRelationType.
@return
Returns <TRUE/> if there is a (at least one) relation of the
given type and <FALSE/> if there is no such relation in the set.
Returns `TRUE` if there is a (at least one) relation of the
given type and `FALSE` if there is no such relation in the set.
*/
boolean containsRelation ([in] short aRelationType);
......
......@@ -69,7 +69,7 @@ interface XAccessibleSelection : ::com::sun::star::uno::XInterface
This index refers to all the children of this object.
@return
Returns <TRUE/> if the specified child is selected and <FALSE/>
Returns `TRUE` if the specified child is selected and `FALSE`
if it is not selected.
@throws ::com::sun::star::lang::IndexOutOfBoundsException
if the given index does not lie in the valid range of 0 up to
......
......@@ -41,8 +41,8 @@ interface XAccessibleStateSet : ::com::sun::star::uno::XInterface
/** Checks whether the current state set is empty.
@return
Returns <TRUE/> if there is no state in this state set and
<FALSE/> if there is at least one set state in it.
Returns `TRUE` if there is no state in this state set and
`FALSE` if there is at least one set state in it.
*/
boolean isEmpty ();
......@@ -54,8 +54,8 @@ interface XAccessibleStateSet : ::com::sun::star::uno::XInterface
the constants of AccessibleStateType.
@return
Returns <TRUE/> if the given state is a member of this object's
state set and <FALSE/> otherwise.
Returns `TRUE` if the given state is a member of this object's
state set and `FALSE` otherwise.
*/
boolean contains ([in] short aState);
......@@ -69,8 +69,8 @@ interface XAccessibleStateSet : ::com::sun::star::uno::XInterface
constants of AccessibleStateType.
@return
Returns <TRUE/> if all states of the given state set are members
of this object's state set. <FALSE/> is returned if at least
Returns `TRUE` if all states of the given state set are members
of this object's state set. `FALSE` is returned if at least
one of the states in the given state is not a member of this
object's state set.
*/
......
......@@ -216,8 +216,8 @@ interface XAccessibleTable : ::com::sun::star::uno::XInterface
Index of the row for which to determine whether it is selected.
@return
Returns <TRUE/> if the specified row is selected completely and
<FALSE/> otherwise.
Returns `TRUE` if the specified row is selected completely and
`FALSE` otherwise.
@throws ::com::sun::star::lang::IndexOutOfBoundsException
if the specified row index is not valid, i.e. lies not inside
......@@ -235,8 +235,8 @@ interface XAccessibleTable : ::com::sun::star::uno::XInterface
selected.
@return
Returns <TRUE/> if the specified column is selected completely
and <FALSE/> otherwise.
Returns `TRUE` if the specified column is selected completely
and `FALSE` otherwise.
@throws ::com::sun::star::lang::IndexOutOfBoundsException
if the specified column index is not valid, i.e. lies not inside
......@@ -305,9 +305,9 @@ interface XAccessibleTable : ::com::sun::star::uno::XInterface
accessible object that spans that cell is selected.
@return
Returns <TRUE/> if the given row and column indices are valid
Returns `TRUE` if the given row and column indices are valid
and the specified accessible object is selected. Otherwise
<FALSE/> is returned.
`FALSE` is returned.
*/
boolean isAccessibleSelected ([in] long nRow, [in] long nColumn)
raises (::com::sun::star::lang::IndexOutOfBoundsException);
......
......@@ -94,8 +94,8 @@ interface XAccessibleText : ::com::sun::star::uno::XInterface
leads to insertion after the last character.
@return
Returns <TRUE/> if the caret has been moved and <FALSE/>
otherwise. A <TRUE/> value does not necessarily mean that the
Returns `TRUE` if the caret has been moved and `FALSE`
otherwise. A `TRUE` value does not necessarily mean that the
caret has been positioned exactly at the required position.
If that position lies inside a read-only area the caret is
positioned before or behind it. Listen to the caret event to
......@@ -296,8 +296,8 @@ interface XAccessibleText : ::com::sun::star::uno::XInterface
The valid range is 0..length.
@return
Returns <TRUE/> if the selection has been set successfully and
<FALSE/> otherwise or when selection is not supported.
Returns `TRUE` if the selection has been set successfully and
`FALSE` otherwise or when selection is not supported.
@throws ::com::sun::star::lang::IndexOutOfBoundsException
if the indices are invalid
......
......@@ -59,8 +59,8 @@ interface XAccessibleValue : ::com::sun::star::uno::XInterface
types for this argument is implementation dependent.
@return
Returns <TRUE/> if the new value could successfully be set and
<FALSE/> otherwise.
Returns `TRUE` if the new value could successfully be set and
`FALSE` otherwise.
*/
boolean setCurrentValue ([in] any aNumber);
......
......@@ -57,7 +57,7 @@ published interface XSSOContext : ::com::sun::star::uno::XInterface
/** retrieves whether or not the context supports mutual authentication
@returns
<TRUE/> if mutual authentication is supported, <FALSE/> otherwise.
`TRUE` if mutual authentication is supported, `FALSE` otherwise.
*/
boolean getMutual();
};
......
......@@ -50,7 +50,7 @@ struct DockingEvent: com::sun::star::lang::EventObject
/** specifies if the docking procedure is interactive which means that
the user is currently dragging the window to a new position
if this member is <FALSE/> the window will be docked or undocked immediately
if this member is `FALSE` the window will be docked or undocked immediately
using the returned tracking rectangle
*/
boolean bInteractive;
......
......@@ -36,7 +36,7 @@ struct EndDockingEvent: com::sun::star::lang::EventObject
com::sun::star::awt::Rectangle WindowRectangle;
/** specifies if the window is now floating <TRUE/> or docked <FALSE/>
/** specifies if the window is now floating `TRUE` or docked `FALSE`
*/
boolean bFloating;
......
......@@ -32,14 +32,14 @@ struct EndPopupModeEvent: com::sun::star::lang::EventObject
{
/** specifies how the pop-up mode was ended
<TRUE/> means the window should be teared-off and positioned at FloatingPosition
<FALSE/> means the window was closed
`TRUE` means the window should be teared-off and positioned at FloatingPosition
`FALSE` means the window was closed
*/
boolean bTearoff;
/** specifies the new position of the floating window in frame coordinates
if bTearoff is <TRUE/>
if bTearoff is `TRUE`
*/
com::sun::star::awt::Point FloatingPosition;
};
......
......@@ -135,8 +135,8 @@ published struct FontDescriptor
/** specifies if only words get underlined.
<p><TRUE/> means that only non-space characters get underlined,
<FALSE/> means that the spacing also gets underlined.</p>
<p>`TRUE` means that only non-space characters get underlined,
`FALSE` means that the spacing also gets underlined.</p>
<p>This property is only valid if the property
com::sun::star::awt::FontDescriptor::Underline
......
......@@ -63,7 +63,7 @@ published struct MouseEvent: com::sun::star::awt::InputEvent
/** specifies if this event is a pop-up menu trigger event.
<p>If this member is <TRUE/>, the event describes a request for a pop-up menu,
<p>If this member is `TRUE`, the event describes a request for a pop-up menu,
also known as context menu, on an object.</p>
<p>In this case, X and Y describe the position
......
......@@ -65,9 +65,9 @@ published service UnoControlButtonModel
/** specifies whether the button control should grab the focus when clicked.
<p>If set to <TRUE/> (which is the default), the button control automatically grabs the
<p>If set to `TRUE` (which is the default), the button control automatically grabs the
focus when the user clicks onto it with the mouse.<br/>
If set to <FALSE/>, the focus is preserved when the user operates the button control with
If set to `FALSE`, the focus is preserved when the user operates the button control with
the mouse.</p>
@since OOo 2.0
......@@ -129,7 +129,7 @@ published service UnoControlButtonModel
<p>If this property is present, it interacts with the #ImageURLin the
following way:
<ul><li>If #ImageURL is set, #Graphic will be reset
to an object as loaded from the given image URL, or <NULL/> if #ImageURL
to an object as loaded from the given image URL, or `NULL` if #ImageURL
does not point to a valid image file.</li>
<li>If #Graphic is set, #ImageURL will be reset
to an empty string.</li>
......@@ -166,7 +166,7 @@ published service UnoControlButtonModel
<p>Normally, when you click a button with the mouse, you need to
release the mouse button, and press it again. With this property
set to <TRUE/>, the button is repeatedly pressed while you hold
set to `TRUE`, the button is repeatedly pressed while you hold
down the mouse button.</p>
@since OOo 2.0
......@@ -209,11 +209,11 @@ published service UnoControlButtonModel
/** specifies whether the button should toggle on a single operation.
<p>If this property is set to <TRUE/>, a single operation of the button control (pressing space
<p>If this property is set to `TRUE`, a single operation of the button control (pressing space
while it is focused, or clicking onto it) toggles it between a <em>pressed</em> and a <em>not
pressed</em> state.</p>
<p>The default for this property is <FALSE/>, which means the button behaves like a usual
<p>The default for this property is `FALSE`, which means the button behaves like a usual
push button.</p>
@since OOo 2.0
......
......@@ -104,7 +104,7 @@ published service UnoControlCheckBoxModel
<p>If this property is present, it interacts with the #ImageURLin the
following way:
<ul><li>If #ImageURL is set, #Graphic will be reset
to an object as loaded from the given image URL, or <NULL/> if #ImageURL
to an object as loaded from the given image URL, or `NULL` if #ImageURL
does not point to a valid image file.</li>
<li>If #Graphic is set, #ImageURL will be reset
to an empty string.</li>
......
......@@ -135,7 +135,7 @@ published service UnoControlDialogModel
<p>If this property is present, it interacts with the #ImageURLin the
following way:
<ul><li>If #ImageURL is set, #Graphic will be reset
to an object as loaded from the given image URL, or <NULL/> if #ImageURL
to an object as loaded from the given image URL, or `NULL` if #ImageURL
does not point to a valid image file.</li>
<li>If #Graphic is set, #ImageURL will be reset
to an empty string.</li>
......
......@@ -87,7 +87,7 @@ published service UnoControlImageControlModel
<p>If this property is present, it interacts with the #ImageURLin the
following way:
<ul><li>If #ImageURL is set, #Graphic will be reset
to an object as loaded from the given image URL, or <NULL/> if #ImageURL
to an object as loaded from the given image URL, or `NULL` if #ImageURL
does not point to a valid image file.</li>
<li>If #Graphic is set, #ImageURL will be reset
to an empty string.</li>
......
......@@ -180,7 +180,7 @@ published service UnoControlListBoxModel
/** specifies where an item separator - a horizontal line - is drawn.
<p>If this is not <NULL/>, then a horizontal line will be drawn between the item at the given position,
<p>If this is not `NULL`, then a horizontal line will be drawn between the item at the given position,
and the following item.</p>
@since OOo 3.3
......
......@@ -105,7 +105,7 @@ published service UnoControlRadioButtonModel
<p>If this property is present, it interacts with the #ImageURLin the
following way:
<ul><li>If #ImageURL is set, #Graphic will be reset
to an object as loaded from the given image URL, or <NULL/> if #ImageURL
to an object as loaded from the given image URL, or `NULL` if #ImageURL
does not point to a valid image file.</li>
<li>If #Graphic is set, #ImageURL will be reset
to an empty string.</li>
......
......@@ -37,7 +37,7 @@
<li>ImageURL: The image referenced by the URL is placed in the lower right corner
of the control.</li>
<li>Graphic: The graphic is placed in the lower right corner of the control.</li>
<li>Complete: When set to <FALSE/> a non interactive RoadmapItem is appended
<li>Complete: When set to `FALSE` a non interactive RoadmapItem is appended
after the last roadmap item, labeled with three dots, indicating incompleteness.</li>
<li>Interactive: When activating a RoadmapItem (see RoadmapItem) the
information about which Item has been selected is passed over when an itemlistener
......
......@@ -80,7 +80,7 @@ service UnoControlRoadmapModel
<p>If this property is present, it interacts with the #ImageURLin the
following way:
<ul><li>If #ImageURL is set, #Graphic will be reset
to an object as loaded from the given image URL, or <NULL/> if #ImageURL
to an object as loaded from the given image URL, or `NULL` if #ImageURL
does not point to a valid image file.</li>
<li>If #Graphic is set, #ImageURL will be reset
to an empty string.</li>
......
......@@ -89,9 +89,9 @@ published service UnoControlScrollBarModel
/** specifies the scrolling behavior of the control.
<p><TRUE/> means, that when the user moves the slider in the scroll bar,
<p>`TRUE` means, that when the user moves the slider in the scroll bar,
the content of the window is updated immediately.
<FALSE/> means, that the window is only updated after the user has
`FALSE` means, that the window is only updated after the user has
released the mouse button.</p>
@since OOo 2.0
......
......@@ -49,7 +49,7 @@ interface XAnimatedImages
/** specifies whether the animation should start over with the first image of the image series when the last image
has been played.
<p>The default value for this attribute is <TRUE/>.</p>
<p>The default value for this attribute is `TRUE`.</p>
*/
[attribute] boolean AutoRepeat;
......
......@@ -50,7 +50,7 @@ published interface XDevice: com::sun::star::uno::XInterface
/** creates a new device which is compatible with this one.
<p>If the device does not support the GETBITS device capability,
this method returns <NULL/>.</p>
this method returns `NULL`.</p>
*/
XDevice createDevice( [in] long nWidth,
[in] long nHeight );
......
......@@ -51,8 +51,8 @@ interface XDockableWindow : com::sun::star::uno::XInterface
/** enable or disable docking, docking is disabled by default
@param bEnable