diff options
author | Aurimas Fišeras <aurimas@gmail.com> | 2011-01-22 13:23:30 +0200 |
---|---|---|
committer | Cédric Bosdonnat <cedricbosdo@openoffice.org> | 2011-01-27 09:25:03 +0100 |
commit | 5c0a22ab34a1ce0a7d1bd66e82d82f8bc6caaeec (patch) | |
tree | 6bc8bf2def9fab681f2b37467c965642b96764d1 /offapi/com/sun/star/inspection | |
parent | 67a5f332ea028ef1f201144979b3ef7ad17a6a61 (diff) |
Some fixes to documentation (part 2)
Fixes many spelling errors (checked with en_US spell checker).
Unifies spelling of some common words.
Replaces single quotes ('') with double quotes ("").
Fixes several other errors.
Diffstat (limited to 'offapi/com/sun/star/inspection')
8 files changed, 21 insertions, 21 deletions
diff --git a/offapi/com/sun/star/inspection/InteractiveSelectionResult.idl b/offapi/com/sun/star/inspection/InteractiveSelectionResult.idl index 0447da8ed4ab..ed980ca41040 100644 --- a/offapi/com/sun/star/inspection/InteractiveSelectionResult.idl +++ b/offapi/com/sun/star/inspection/InteractiveSelectionResult.idl @@ -40,9 +40,9 @@ module com { module sun { module star { module inspection { */ enum InteractiveSelectionResult { - /** The interactive selection of a property value was cancelled. + /** The interactive selection of a property value was canceled. */ - Cancelled, + Canceled, /** The interactive selection of a property value succeeded, and the new property value chosen by the user has already been set at the diff --git a/offapi/com/sun/star/inspection/LineDescriptor.idl b/offapi/com/sun/star/inspection/LineDescriptor.idl index 5bf9486f82ee..3efb9885f5b8 100644 --- a/offapi/com/sun/star/inspection/LineDescriptor.idl +++ b/offapi/com/sun/star/inspection/LineDescriptor.idl @@ -71,7 +71,7 @@ struct LineDescriptor */ string HelpURL; - /** detetrmines whether a button exists which can be used for a more complex, interactive + /** determines whether a button exists which can be used for a more complex, interactive property value input. <p>If no image for the primary button is specified, but a primary button is present, @@ -121,7 +121,7 @@ struct LineDescriptor */ com::sun::star::graphic::XGraphic PrimaryButtonImage; - /** detetrmines whether a secondary button exists which can be used for a more complex, interactive + /** determines whether a secondary button exists which can be used for a more complex, interactive property value input. <p>A secondary button subordinated to the primary button. If no primary button exists diff --git a/offapi/com/sun/star/inspection/PropertyControlType.idl b/offapi/com/sun/star/inspection/PropertyControlType.idl index 1f61dfe6ed97..33c52a66fe95 100644 --- a/offapi/com/sun/star/inspection/PropertyControlType.idl +++ b/offapi/com/sun/star/inspection/PropertyControlType.idl @@ -35,7 +35,7 @@ module com { module sun { module star { module inspection { /** describes pre-defined possible control types to be used to display and enter property values within a <type>ObjectInspector</type>. - <p>The type of a control determines its visual appearance, its behaviour, and - important + <p>The type of a control determines its visual appearance, its behavior, and - important for property handlers using a control - the expected type when reading and writing the control's value.</p> @@ -102,7 +102,7 @@ constants PropertyControlType <member>XPropertyControl::Value</member>, and if this string has previously been added to the list using the <type>XStringListControl</type> interface, this string is selected. Vice versa, if the user selects one of those non-color strings in the list, then reading <member>XPropertyControl::Value</member> - will retrieve you this stting.</p> + will retrieve you this string.</p> */ const short ColorListBox = 7; diff --git a/offapi/com/sun/star/inspection/XNumericControl.idl b/offapi/com/sun/star/inspection/XNumericControl.idl index 13e4631a3959..2309d1e830f1 100644 --- a/offapi/com/sun/star/inspection/XNumericControl.idl +++ b/offapi/com/sun/star/inspection/XNumericControl.idl @@ -66,7 +66,7 @@ interface XNumericControl : XPropertyControl <p>Only a certain set of <type scope="com::sun::star::util">MeasureUnit</type> values is supported. In particular, every value which denotes a fraction of another - unit (like 100th millimiters) cannot be used as DisplayUnit.</p> + unit (like 100th millimeters) cannot be used as DisplayUnit.</p> @throws com::sun::star::lang::IllegalArgumentException if the caller attempts to set an unsupported <type scope="com::sun::star::util">MeasureUnit</type> @@ -77,7 +77,7 @@ interface XNumericControl : XPropertyControl }; /** describes a <type scope="com::sun::star::util">MeasureUnit</type> to be - applied for transfering values. + applied for transferring values. <p>The core measurement unit for a property value might differ from the unit which is used by the control to display it. For instance, your property value might require diff --git a/offapi/com/sun/star/inspection/XObjectInspectorModel.idl b/offapi/com/sun/star/inspection/XObjectInspectorModel.idl index b7248d87d25f..39352ab2a9e7 100644 --- a/offapi/com/sun/star/inspection/XObjectInspectorModel.idl +++ b/offapi/com/sun/star/inspection/XObjectInspectorModel.idl @@ -54,7 +54,7 @@ interface XObjectInspectorModel <p>Every element of the sequence must contain information to create a <type>XPropertyHandler</type> instance. Two ways are currently supported: <ul> - <li>A sevice name:</br> + <li>A service name:</br> If a sequence element contains a string, this string is interpreted as service name, and an <type scope="com::sun::star::lang">XMultiComponentFactory</type> is asked to create an instance of this service.</li> @@ -67,7 +67,7 @@ interface XObjectInspectorModel <p>This attribute is usually only evaluated by the <type>ObjectInspector</type> instance which the model is currently bound to.</p> - <p>The order of factories is important: If two property handlers declare themself responsible + <p>The order of factories is important: If two property handlers declare themselves responsible for the same property, the one whose factory is listed <strong>last</strong> wins. Also, if a handler <code>B</code> wants to supersede a property of another handler <code>A</code>, <code>A</code>'s factory must precede the factory of <code>B</code>.</p> @@ -174,7 +174,7 @@ interface XObjectInspectorModel change any of them.</p> <p>In a read-only object inspector, the property controls are readonly or - disabled themself, and the primary and secondary buttons of a property line + disabled themselves, and the primary and secondary buttons of a property line are both disabled.</p> @see XPropertyControl diff --git a/offapi/com/sun/star/inspection/XPropertyHandler.idl b/offapi/com/sun/star/inspection/XPropertyHandler.idl index 81a105b8b9a5..ed8b80195a73 100644 --- a/offapi/com/sun/star/inspection/XPropertyHandler.idl +++ b/offapi/com/sun/star/inspection/XPropertyHandler.idl @@ -233,7 +233,7 @@ interface XPropertyHandler <p>If a handler implementation supports property change listeners, it must be able to cope with a call to <member>addPropertyChangeListener</member> even if currently no component is - being inspected. In this case, the listener must become active as soon as a new introspectee + being inspected. In this case, the listener must become active as soon as a new introspection is set in the next <member>inspect</member> call.</p> @param Listener @@ -255,7 +255,7 @@ interface XPropertyHandler /** returns the properties which the handler can handle <p>A handler is allowed to return an empty sequence here, indicating that for - the given introspectee, no properties handling can be provided. This might happen + the given introspection, no properties handling can be provided. This might happen when a fixed set of property handlers is used for a variety of components to inspect, where not all handlers can really cope with all components.</p> @@ -278,8 +278,8 @@ interface XPropertyHandler <p>In such a case, simply return those properties here.</p> <p>There is a precedence in the property handlers used by an <type>ObjectInspector</type>, - which also is important for the superseded properties. This precendence is implied by the - precendence of factories to create the property handlers, as denoted in the + which also is important for the superseded properties. This precedence is implied by the + precedence of factories to create the property handlers, as denoted in the <member>XObjectInspectorModel::HandlerFactories</member> attribute.</p> <p>With this in mind, property handlers can only supersede properties which are supported @@ -334,7 +334,7 @@ interface XPropertyHandler boolean isComposable( [in] string PropertyName ) raises (::com::sun::star::beans::UnknownPropertyException); - /** called when a browse button belonging to a property UI represenation has been clicked + /** called when a browse button belonging to a property UI representation has been clicked <p>Property handlers can raise a dedicated UI for entering or somehow changing a property value. Usually, this will be a modal dialog, but it can also be a non-modal user interface component.</p> @@ -347,7 +347,7 @@ interface XPropertyHandler property value, and return the result of this (see <type>InteractiveSelectionResult</type>).</p> <p>It is recommended that property handlers do not directly set the property value which has - been obatined from the user, but store it in the output-parameter Data, and return + been obtained from the user, but store it in the output-parameter Data, and return <member>InteractiveSelectionResult::ObtainedValue</member>.</p> <p>If a handler sets the new property value directly, and returns @@ -357,7 +357,7 @@ interface XPropertyHandler will be called at one handler only, however the new property would have to be forwarded to all handlers.</p> - <p>If a property is not composeable, directly setting the new property value does not yield any problem, + <p>If a property is not composable, directly setting the new property value does not yield any problem, as long as property listeners are properly notified of the change.</p> @param PropertyName @@ -420,7 +420,7 @@ interface XPropertyHandler <br/> In some cases it may be necessary to differentiate between both situations. For instance, if you want to set the value of another property when an actuating property's value changed, - you should definately not do this when <arg>FirstTimeInit</arg> is <TRUE/>. + you should definitely not do this when <arg>FirstTimeInit</arg> is <TRUE/>. @throws com::sun::star::lang::NullPointerException if <arg>InspectorUI</arg> is <NULL/> */ diff --git a/offapi/com/sun/star/inspection/XStringListControl.idl b/offapi/com/sun/star/inspection/XStringListControl.idl index 640741961090..0e5fcb5e111e 100644 --- a/offapi/com/sun/star/inspection/XStringListControl.idl +++ b/offapi/com/sun/star/inspection/XStringListControl.idl @@ -37,7 +37,7 @@ module com { module sun { module star { module inspection { //----------------------------------------------------------------------------- /** defines the interface for an <type>XPropertyControl</type> which, additionally - to the basic behaviour, supports a list of strings interpreted as possible + to the basic behavior, supports a list of strings interpreted as possible property values. <p>A control which would canonically implement this interface is a list box control: diff --git a/offapi/com/sun/star/inspection/XStringRepresentation.idl b/offapi/com/sun/star/inspection/XStringRepresentation.idl index 66888f3cc240..b0a4f66d9773 100644 --- a/offapi/com/sun/star/inspection/XStringRepresentation.idl +++ b/offapi/com/sun/star/inspection/XStringRepresentation.idl @@ -50,7 +50,7 @@ interface XStringRepresentation */ string convertToControlValue([in]any PropertyValue) raises( com::sun::star::uno::Exception ); - /** converts a string into an any with the type defined by the target tpye. + /** converts a string into an any with the type defined by the target type. @param ControlValue The to-be-converted control value. @param ControlValueType |