diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-04-28 00:44:31 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-06-04 12:01:05 +0200 |
commit | 928b8640c0d1a9c49249100efbdd70f8c1090b07 (patch) | |
tree | d4f2388c89d137d62bced7b9e8339f964d3632ad /offapi/com/sun/star/form/component | |
parent | 6e1d239ae04bbb1b639ae8d04c59d3375f867712 (diff) |
*api: convert <TRUE/> <FALSE/> <VOID/> <NULL/>
sed -i 's,<\(TRUE\|FALSE\|VOID\|NULL\)/>,`\1`,g'
Change-Id: Ia4df97ca809b00993530d67203bbe4ba7a072201
Diffstat (limited to 'offapi/com/sun/star/form/component')
10 files changed, 25 insertions, 25 deletions
diff --git a/offapi/com/sun/star/form/component/CommandButton.idl b/offapi/com/sun/star/form/component/CommandButton.idl index 09d0198b9845..451326ce6d24 100644 --- a/offapi/com/sun/star/form/component/CommandButton.idl +++ b/offapi/com/sun/star/form/component/CommandButton.idl @@ -78,7 +78,7 @@ published service CommandButton /** specifies the default toggle state for the button, used when it is reset. <p>This property is meaningful only when com::sun::star::awt::UnoControlButtonModel::Toggle - is <TRUE/>. In this case, the <code>DefaultState</code> controls to which <code>State</code> the button will + is `TRUE`. In this case, the <code>DefaultState</code> controls to which <code>State</code> the button will be reset.</p> <p>For a given implementation of the interface, if this (optional) property is present, then also the optional @@ -89,7 +89,7 @@ published service CommandButton /** allows resetting the button <p>This property is meaningful only when com::sun::star::awt::UnoControlButtonModel::Toggle - is <TRUE/>. In this case, the <code>DefaultState</code> controls to which <code>State</code> the button will + is `TRUE`. In this case, the <code>DefaultState</code> controls to which <code>State</code> the button will be reset, when com::sun::star::form::XReset::reset() is invoked.</p> <p>For a given implementation of the interface, if this (optional) interface is present, then also the optional diff --git a/offapi/com/sun/star/form/component/DataForm.idl b/offapi/com/sun/star/form/component/DataForm.idl index 5edcce71d509..347716768b28 100644 --- a/offapi/com/sun/star/form/component/DataForm.idl +++ b/offapi/com/sun/star/form/component/DataForm.idl @@ -63,7 +63,7 @@ published service DataForm service have been sent, the DataForm resets itself, if all com::sun::star::form::XResetListeners approve this.</li> <li>After the reset happened, the com::sun::star::sdb::RowSet::IsModified - property is reset to <FALSE/>. This property might have been switched to <TRUE/> during listener + property is reset to `FALSE`. This property might have been switched to `TRUE` during listener notifications, since listeners are allowed to change field values. Also, the com::sun::star::form::XReset::reset() implementations of bound control models might have modified the fields they're bound to (by filling them with default values).</li> @@ -164,7 +164,7 @@ published service DataForm <p>Note that this is a recommendation for user interface components displaying the form. Form implementations may decide to allow for insertions done via the API, even - if the property is set to <FALSE/>, but the user interface should respect the property + if the property is set to `FALSE`, but the user interface should respect the property value.</p> */ [property] boolean AllowInserts; @@ -173,7 +173,7 @@ published service DataForm <p>Note that this is a recommendation for user interface components displaying the form. Form implementations may decide to allow for updates done via the API, even - if the property is set to <FALSE/>, but the user interface should respect the property + if the property is set to `FALSE`, but the user interface should respect the property value.</p> */ [property] boolean AllowUpdates; @@ -182,7 +182,7 @@ published service DataForm <p>Note that this is a recommendation for user interface components displaying the form. Form implementations may decide to allow for deletions done via the API, even - if the property is set to <FALSE/>, but the user interface should respect the property + if the property is set to `FALSE`, but the user interface should respect the property value.</p> */ [property] boolean AllowDeletes; diff --git a/offapi/com/sun/star/form/component/DatabaseCheckBox.idl b/offapi/com/sun/star/form/component/DatabaseCheckBox.idl index e187cfe4d44f..cdf1e234763a 100644 --- a/offapi/com/sun/star/form/component/DatabaseCheckBox.idl +++ b/offapi/com/sun/star/form/component/DatabaseCheckBox.idl @@ -31,7 +31,7 @@ /** This service specifies a check box which is data-aware, and can be bound to a database field. <p>Mostly, you will create data-aware checkboxes as tristate checkboxes, because this - is a requirement to correctly handle <NULL/> values in databases.</p> + is a requirement to correctly handle `NULL` values in databases.</p> @see ::com::sun::star::awt::UnoControlCheckBoxModel::TriState */ diff --git a/offapi/com/sun/star/form/component/DatabaseComboBox.idl b/offapi/com/sun/star/form/component/DatabaseComboBox.idl index a94f5fb68ea2..5e231f3ef656 100644 --- a/offapi/com/sun/star/form/component/DatabaseComboBox.idl +++ b/offapi/com/sun/star/form/component/DatabaseComboBox.idl @@ -44,15 +44,15 @@ published service DatabaseComboBox service com::sun::star::form::DataAwareControlModel; - /** determines if an empty text should be treated as a <NULL/> value. + /** determines if an empty text should be treated as a `NULL` value. <p>When the user enters text into a combo box, and after this, the control content is to be committed into the database field the control is bound to, a decision must be made how to deal with empty strings.<br/> This is controlled by #ConvertEmptyToNull.</p> - <p>If the property is set to <TRUE/>, and an empty text is to be commited, this is - converted into <NULL/>, else it is written as empty string.</p> + <p>If the property is set to `TRUE`, and an empty text is to be commited, this is + converted into `NULL`, else it is written as empty string.</p> */ [property] boolean ConvertEmptyToNull; diff --git a/offapi/com/sun/star/form/component/DatabaseFormattedField.idl b/offapi/com/sun/star/form/component/DatabaseFormattedField.idl index 92277a0c7fe5..f3b6d4554f86 100644 --- a/offapi/com/sun/star/form/component/DatabaseFormattedField.idl +++ b/offapi/com/sun/star/form/component/DatabaseFormattedField.idl @@ -37,15 +37,15 @@ published service DatabaseFormattedField service com::sun::star::form::DataAwareControlModel; - /** determines if an empty text should be treated as a <NULL/> value. + /** determines if an empty text should be treated as a `NULL` value. <p>When the user enters text into a formatted field control, and after this, the control content is to be committed into the database field the control is bound to, a decision must be made how to deal with empty strings.<br/> This is controlled by #ConvertEmptyToNull.</p> - <p>If the property is set to <TRUE/>, and an empty text is to be commited, this is - converted into <NULL/>, else it is written as empty string.</p> + <p>If the property is set to `TRUE`, and an empty text is to be commited, this is + converted into `NULL`, else it is written as empty string.</p> */ [property] boolean ConvertEmptyToNull; diff --git a/offapi/com/sun/star/form/component/DatabasePatternField.idl b/offapi/com/sun/star/form/component/DatabasePatternField.idl index 0af61e14ea5e..b1fd540d1859 100644 --- a/offapi/com/sun/star/form/component/DatabasePatternField.idl +++ b/offapi/com/sun/star/form/component/DatabasePatternField.idl @@ -38,15 +38,15 @@ published service DatabasePatternField service com::sun::star::form::DataAwareControlModel; - /** determines if an empty text should be treated as a <NULL/> value. + /** determines if an empty text should be treated as a `NULL` value. <p>When the user enters text into a pattern field, and after this, the control content is to be committed into the database field the control is bound to, a decision must be made how to deal with empty strings.<br/> This is controlled by this property.</p> - <p>If the property is set to <TRUE/>, and an empty text is to be commited, this is - converted into <NULL/>, else it is written as empty string.</p> + <p>If the property is set to `TRUE`, and an empty text is to be commited, this is + converted into `NULL`, else it is written as empty string.</p> */ [property] boolean ConvertEmptyToNull; diff --git a/offapi/com/sun/star/form/component/DatabaseTextField.idl b/offapi/com/sun/star/form/component/DatabaseTextField.idl index 8535ba447ccb..109a5b6e4aec 100644 --- a/offapi/com/sun/star/form/component/DatabaseTextField.idl +++ b/offapi/com/sun/star/form/component/DatabaseTextField.idl @@ -37,15 +37,15 @@ published service DatabaseTextField service com::sun::star::form::DataAwareControlModel; - /** determines if an empty text should be treated as a <NULL/> value. + /** determines if an empty text should be treated as a `NULL` value. <p>When the user enters text into a text field, and after this, the control content is to be committed into the database field the control is bound to, a decision must be made how to deal with empty strings.<br/> This is controlled by this property.</p> - <p>If the property is set to <TRUE/>, and an empty text is to be commited, this is - converted into <NULL/>, else it is written as empty string.</p> + <p>If the property is set to `TRUE`, and an empty text is to be commited, this is + converted into `NULL`, else it is written as empty string.</p> */ [property] boolean ConvertEmptyToNull; diff --git a/offapi/com/sun/star/form/component/GridControl.idl b/offapi/com/sun/star/form/component/GridControl.idl index b79013145ab3..bbe67f21d6d9 100644 --- a/offapi/com/sun/star/form/component/GridControl.idl +++ b/offapi/com/sun/star/form/component/GridControl.idl @@ -141,7 +141,7 @@ published service GridControl /** specifies the height of a row of the grid. - <p>If the value is set to <NULL/>, the height is determined automatically according + <p>If the value is set to `NULL`, the height is determined automatically according to the current font used.</p> @see GridControl::FontDescriptor diff --git a/offapi/com/sun/star/form/component/RichTextControl.idl b/offapi/com/sun/star/form/component/RichTextControl.idl index c5c6ad509cac..180da427034c 100644 --- a/offapi/com/sun/star/form/component/RichTextControl.idl +++ b/offapi/com/sun/star/form/component/RichTextControl.idl @@ -44,17 +44,17 @@ published service RichTextControl /** specifies whether text should be automatically wrapped to fit into the control. - <p>If set to <TRUE/>, users need to manually press the enter key to insert a line break. - If set to <FALSE/>, text is automatically wrapped at the control border.</p> + <p>If set to `TRUE`, users need to manually press the enter key to insert a line break. + If set to `FALSE`, text is automatically wrapped at the control border.</p> */ [property] boolean HardLineBreaks; /** specifies whether the control should display the text including all its formatting. - <p>If this is set to <FALSE/>, the control will act as ordinary + <p>If this is set to `FALSE`, the control will act as ordinary com::sun::star::awt::UnoControlEditModel.</p> - <p>If the property is set to <TRUE/>, the control will ignore the following properties: + <p>If the property is set to `TRUE`, the control will ignore the following properties: <ul> <li>com::sun::star::awt::UnoControlEditModel::EchoChar</li> <li>com::sun::star::awt::UnoControlEditModel::MaxTextLen</li> diff --git a/offapi/com/sun/star/form/component/TextField.idl b/offapi/com/sun/star/form/component/TextField.idl index a8cd8f9d273d..f641d55a05ec 100644 --- a/offapi/com/sun/star/form/component/TextField.idl +++ b/offapi/com/sun/star/form/component/TextField.idl @@ -40,7 +40,7 @@ published service TextField /** specifies optional capabilities for displaying and inputting formatted text. - <p>If the RichTextControl::RichText property is set to <TRUE/>, + <p>If the RichTextControl::RichText property is set to `TRUE`, then the TextField component will disable it's reset capabilities. This means that all calls to com::sun::star::form::XReset::reset() will be ignored.</p> */ |