From f6f6b1fa487d83a3d27fddcf6d0e9ccdc26ca454 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aurimas=20Fi=C5=A1eras?= Date: Tue, 12 Oct 2010 20:00:57 +0300 Subject: Fix some typos in documentation --- offapi/com/sun/star/accessibility/Accessible.idl | 2 +- .../sun/star/accessibility/AccessibleEventId.idl | 14 +++++----- .../star/accessibility/AccessibleRelationType.idl | 6 ++-- .../com/sun/star/accessibility/AccessibleRole.idl | 18 ++++++------ .../sun/star/accessibility/AccessibleStateType.idl | 4 +- .../AccessibleTableModelChangeType.idl | 4 +- .../sun/star/accessibility/AccessibleTextType.idl | 4 +- .../IllegalAccessibleComponentStateException.idl | 2 +- offapi/com/sun/star/accessibility/XAccessible.idl | 6 ++-- .../star/accessibility/XAccessibleComponent.idl | 12 ++++---- .../sun/star/accessibility/XAccessibleContext.idl | 10 +++--- .../accessibility/XAccessibleExtendedComponent.idl | 2 +- .../star/accessibility/XAccessibleHyperlink.idl | 14 +++++----- .../star/accessibility/XAccessibleHypertext.idl | 4 +- .../sun/star/accessibility/XAccessibleImage.idl | 2 +- .../accessibility/XAccessibleMultiLineText.idl | 2 +- .../star/accessibility/XAccessibleRelationSet.idl | 4 +- .../star/accessibility/XAccessibleSelection.idl | 4 +- .../sun/star/accessibility/XAccessibleStateSet.idl | 2 +- .../sun/star/accessibility/XAccessibleTable.idl | 14 +++++----- .../com/sun/star/accessibility/XAccessibleText.idl | 4 +- .../star/accessibility/XAccessibleTextMarkup.idl | 2 +- offapi/com/sun/star/animations/AnimationFill.idl | 28 +++++++++++++++---- .../com/sun/star/animations/AnimationNodeType.idl | 2 +- offapi/com/sun/star/animations/Event.idl | 2 +- offapi/com/sun/star/animations/EventTrigger.idl | 2 +- offapi/com/sun/star/animations/XAnimateSet.idl | 2 +- offapi/com/sun/star/animations/XAnimationNode.idl | 20 +++++++------- .../com/sun/star/animations/XIterateContainer.idl | 2 +- offapi/com/sun/star/auth/SSOManagerFactory.idl | 6 ++-- offapi/com/sun/star/auth/XSSOAcceptorContext.idl | 2 +- offapi/com/sun/star/auth/XSSOInitiatorContext.idl | 4 +- 32 files changed, 111 insertions(+), 95 deletions(-) diff --git a/offapi/com/sun/star/accessibility/Accessible.idl b/offapi/com/sun/star/accessibility/Accessible.idl index 645e655..976d4aa 100644 --- a/offapi/com/sun/star/accessibility/Accessible.idl +++ b/offapi/com/sun/star/accessibility/Accessible.idl @@ -39,7 +39,7 @@ module com { module sun { module star { module accessibility { actual information that is needed to make it accessible.

Service Accessible is just a wrapper for the interface - XAccessible. See the interface's documention for more + XAccessible. See the interface's documentation for more information.

@see XAccessible diff --git a/offapi/com/sun/star/accessibility/AccessibleEventId.idl b/offapi/com/sun/star/accessibility/AccessibleEventId.idl index 730bd6f..782f0eb 100644 --- a/offapi/com/sun/star/accessibility/AccessibleEventId.idl +++ b/offapi/com/sun/star/accessibility/AccessibleEventId.idl @@ -154,7 +154,7 @@ published constants AccessibleEventId */ const short SELECTION_CHANGED = 9; - /** A visibile data event indicates the change of the visual appearance + /** A visible data event indicates the change of the visual appearance of an accessible object. This includes for example most of the attributes available over the XAccessibleComponent and XAccessibleExtendedComponent interfaces. The @@ -168,7 +168,7 @@ published constants AccessibleEventId AccessibleEventObject::OldValue and AccessibleEventObject::NewValue field contain the old and new value as a number. Its exact type is implementation - dependant but has to be the same as is returned by the + dependent but has to be the same as is returned by the XAccessibleValue::getCurrentValue function. */ @@ -179,7 +179,7 @@ published constants AccessibleEventId

Not used: The AccessibleEventObject::OldValue and AccessibleEventObject::NewValue fields contain - refrences to the old and new predecessor. Note that both references + references to the old and new predecessor. Note that both references my be to indicate that a flow to the sending object has not existed or does not exist anymore.

*/ @@ -190,7 +190,7 @@ published constants AccessibleEventId

Not used: The AccessibleEventObject::OldValue and AccessibleEventObject::NewValue fields contain - refrences to the old and new successor. Note that both references + references to the old and new successor. Note that both references my be to indicate that a flow from the sending object has not existed or does not exist anymore.

*/ @@ -287,14 +287,14 @@ published constants AccessibleEventId fields remain empty. In this case the whole text may have changed and the listener should refetch the text completely. -

When broadcasting an event allways prefer the first three cases +

When broadcasting an event always prefer the first three cases to the last one. Use it only as a last resort.

Text ranges should be as small as possible but, of course, include all the text that is involved in a modification. That means - that when two or more discontiguous text ranges are inserted, + that when two or more discontinuous text ranges are inserted, deleted, or otherwise modified the two fields of the event have to - cover all the effected text ranges as well as the text in + cover all the affected text ranges as well as the text in between.

*/ const short TEXT_CHANGED = 22; diff --git a/offapi/com/sun/star/accessibility/AccessibleRelationType.idl b/offapi/com/sun/star/accessibility/AccessibleRelationType.idl index 4dfce6e..9542e2b 100644 --- a/offapi/com/sun/star/accessibility/AccessibleRelationType.idl +++ b/offapi/com/sun/star/accessibility/AccessibleRelationType.idl @@ -31,7 +31,7 @@ module com { module sun { module star { module accessibility { /** Collection of relation types. -

This list of constants defines the availabe types of relations that +

This list of constants defines the available types of relations that are usable by AccessibleRelation.

We are using constants instead of a more typesafe enum. The reason @@ -76,7 +76,7 @@ published constants AccessibleRelationType */ const short CONTROLLER_FOR = 4; - /** Lable-for relation type. + /** Label-for relation type.

Indicates an object is a label for one or more target objects.

@@ -107,7 +107,7 @@ published constants AccessibleRelationType /** Node-Child-of relation type. -

Indicates an object is a cell in a tree or treetable which is +

Indicates an object is a cell in a tree or tree table which is displayed because a cell in the same column is expanded and identifies that cell.

diff --git a/offapi/com/sun/star/accessibility/AccessibleRole.idl b/offapi/com/sun/star/accessibility/AccessibleRole.idl index 5fe65d0..3caf7d6 100644 --- a/offapi/com/sun/star/accessibility/AccessibleRole.idl +++ b/offapi/com/sun/star/accessibility/AccessibleRole.idl @@ -32,9 +32,9 @@ module com { module sun { module star { module accessibility { /** Collection of roles. -

This collection of constans defines the set of possible roles of +

This collection of constants defines the set of possible roles of classes implementing the XAccessible interface according to - the java class javax.accessibility.AccessibleRole. The role of an + the Java class javax.accessibility.AccessibleRole. The role of an object describes its generic function like 'button', 'menu', or 'text'. You can obtain an object's role by calling the getAccessibleRole method of the @@ -46,7 +46,7 @@ module com { module sun { module star { module accessibility { here.

For some roles there exist two labels with the same value. Please - use the one with the underscrores. The other ones are somewhat + use the one with the underscores. The other ones are somewhat deprecated and will be removed in the future.

@see XAccessibleContext @@ -73,7 +73,7 @@ published constants AccessibleRole /** Object that can be drawn into and is used to trap events. -

See alse FRAME, GLASS_PANE, and +

See also FRAME, GLASS_PANE, and LAYERED_PANE.

*/ const short CANVAS = 3; @@ -148,11 +148,11 @@ published constants AccessibleRole /** View of a document.

The view of an actual document. Its content depends on the - documen type.

+ document type.

*/ const short DOCUMENT = 13; - /** Embeded (OLE) object. + /** Embedded (OLE) object. */ const short EMBEDDED_OBJECT = 14; @@ -372,7 +372,7 @@ published constants AccessibleRole */ const short PASSWORD_TEXT = 42; - /** Popup menu role. + /** Pop-up menu role.

A temporary window that is usually used to offer the user a list of choices, and then hides when the user selects one of those @@ -431,7 +431,7 @@ published constants AccessibleRole

An object usually used to allow a user to incrementally view a large amount of data. Usually used only by a scroll pane.

-

Ssee also SCROLL_PANE.

+

See also SCROLL_PANE.

*/ const short SCROLL_BAR = 50; @@ -539,7 +539,7 @@ published constants AccessibleRole /** Tool tip role.

An object that provides information about another object. The - accessibleDescription property of the tool tip is often displayed to + accessible Description property of the tool tip is often displayed to the user in a small "help bubble" when the user causes the mouse to hover over the object associated with the tool tip.

*/ diff --git a/offapi/com/sun/star/accessibility/AccessibleStateType.idl b/offapi/com/sun/star/accessibility/AccessibleStateType.idl index b39d928..ccb3e59 100644 --- a/offapi/com/sun/star/accessibility/AccessibleStateType.idl +++ b/offapi/com/sun/star/accessibility/AccessibleStateType.idl @@ -123,7 +123,7 @@ published constants AccessibleStateType (given by the event) should be not transient to make it possible to add listener to this object and recognize changes in this object. - The state is added to make a performance improvment. Now it is no + The state is added to make a performance improvement. Now it is no longer necessary to iterate over all children to find out whether they are transient or not to decide whether to add listener or not. If there is a object with this state no one should iterate over the @@ -189,7 +189,7 @@ published constants AccessibleStateType all of its parents have set the VISIBLE state and it lies at least partly inside the visible area of its parent. It is, though, not necessarily visible on the screen because it may be - ocluded by other objects.

+ occluded by other objects.

*/ const short SHOWING = 25; diff --git a/offapi/com/sun/star/accessibility/AccessibleTableModelChangeType.idl b/offapi/com/sun/star/accessibility/AccessibleTableModelChangeType.idl index b4a24a6..9ba1a51 100644 --- a/offapi/com/sun/star/accessibility/AccessibleTableModelChangeType.idl +++ b/offapi/com/sun/star/accessibility/AccessibleTableModelChangeType.idl @@ -37,14 +37,14 @@ module com { module sun { module star { module accessibility { /** Type of a change made to a table model.

The value of this constants group are used by the - AccessibleTableModelChange structure to specifiy the + AccessibleTableModelChange structure to specify the type of change that has been made to a table model.

Two of the constants, AccessibleTableModelChangeType::INSERT and AccessibleTableModelChangeType::DELETE describe changes to the table's geometry. One or more rows and/or columns have - been inserted or deleted. In constrast, the remaining constant + been inserted or deleted. In contrast, the remaining constant AccessibleTabelModelChangeType::UPDATE specifies a change of the table's content.

diff --git a/offapi/com/sun/star/accessibility/AccessibleTextType.idl b/offapi/com/sun/star/accessibility/AccessibleTextType.idl index a9c8e8b..dad427f 100644 --- a/offapi/com/sun/star/accessibility/AccessibleTextType.idl +++ b/offapi/com/sun/star/accessibility/AccessibleTextType.idl @@ -51,7 +51,7 @@ published constants AccessibleTextType

Indicates that single words are used. The definition of what a word is is implementation and language/locale dependent. While in - english a word is ended by a space or a special character like a + English a word is ended by a space or a special character like a comma or a period, this is not necessarily true in other languages.

*/ @@ -61,7 +61,7 @@ published constants AccessibleTextType

Indicates that single sentences are used. The definition of what a sentence is is implementation and language/locale dependent. - While in english a sentence is ended by a period, this is not + While in English a sentence is ended by a period, this is not necessarily true in other languages.

*/ const short SENTENCE = 3; diff --git a/offapi/com/sun/star/accessibility/IllegalAccessibleComponentStateException.idl b/offapi/com/sun/star/accessibility/IllegalAccessibleComponentStateException.idl index ecb5134..9cb78aa 100644 --- a/offapi/com/sun/star/accessibility/IllegalAccessibleComponentStateException.idl +++ b/offapi/com/sun/star/accessibility/IllegalAccessibleComponentStateException.idl @@ -36,7 +36,7 @@ module com { module sun { module star { module accessibility { /** Indicates invalid or unavailable state information. -

This exception is thrown to indicate the an accessibilty component +

This exception is thrown to indicate the an accessibility component has been queried for state information that it can not provide. Used by XAccessibleContext::getLocale.

diff --git a/offapi/com/sun/star/accessibility/XAccessible.idl b/offapi/com/sun/star/accessibility/XAccessible.idl index 05bd558..afd9928 100644 --- a/offapi/com/sun/star/accessibility/XAccessible.idl +++ b/offapi/com/sun/star/accessibility/XAccessible.idl @@ -47,10 +47,10 @@ module com { module sun { module star { module accessibility { XAccessibleContext makes it possible to split up the implementation of the class that is made accessible and the actual accessibility code into two - (mostly) independant parts. The only necessary dependance is the + (mostly) independent parts. The only necessary dependence is the getAccessibleContext() function that returns the accessible context. This one-way link has to be - persistant in some sense: As long as there is at least one reference to + persistent in some sense: As long as there is at least one reference to a specific XAccessibleContext object the XAccessible object has to return the same context for every call to getAccessibleContext(). @@ -67,7 +67,7 @@ published interface XAccessible : ::com::sun::star::uno::XInterface

The idea to let this interface only return an XAccessibleContext instead of directly supporting its - functions is to allow the seperation of the implementation of the + functions is to allow the separation of the implementation of the functions that make a class accessible from the implementation of that class. You may, of course, implement XAccessible and XAccessibleContext in one class.

diff --git a/offapi/com/sun/star/accessibility/XAccessibleComponent.idl b/offapi/com/sun/star/accessibility/XAccessibleComponent.idl index f980c6b..3c2d14a 100644 --- a/offapi/com/sun/star/accessibility/XAccessibleComponent.idl +++ b/offapi/com/sun/star/accessibility/XAccessibleComponent.idl @@ -72,7 +72,7 @@ module com { module sun { module star { module accessibility {

Coordinates used by the functions of this interface are specified in different coordinate systems. Their scale is the same and is equal to - that of the screen coordiante system. In other words all coordinates + that of the screen coordinate system. In other words all coordinates are measured in pixel. They differ in their respective origin: