From 895eb4fe2759a654ad128eaba659daefaebdafa0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aurimas=20Fi=C5=A1eras?= Date: Sun, 10 Oct 2010 15:53:28 +0300 Subject: offapi/com/sun/star/document: Fix some typos in documentation --- .../sun/star/document/AmbigousFilterRequest.idl | 4 +- offapi/com/sun/star/document/DocumentInfo.idl | 6 ++-- offapi/com/sun/star/document/EventObject.idl | 2 +- offapi/com/sun/star/document/ExportFilter.idl | 6 ++-- .../sun/star/document/ExtendedTypeDetection.idl | 10 +++--- .../star/document/ExtendedTypeDetectionFactory.idl | 18 ++++++------ offapi/com/sun/star/document/FilterFactory.idl | 30 ++++++++++---------- .../com/sun/star/document/HeaderFooterSettings.idl | 2 +- offapi/com/sun/star/document/ImportFilter.idl | 6 ++-- offapi/com/sun/star/document/LinkTarget.idl | 2 +- offapi/com/sun/star/document/LinkUpdateModes.idl | 2 +- offapi/com/sun/star/document/MacroExecMode.idl | 2 +- offapi/com/sun/star/document/MediaDescriptor.idl | 25 ++++++++-------- .../com/sun/star/document/NoSuchFilterRequest.idl | 2 +- offapi/com/sun/star/document/OfficeDocument.idl | 6 ++-- offapi/com/sun/star/document/Settings.idl | 2 +- .../sun/star/document/StandaloneDocumentInfo.idl | 2 +- offapi/com/sun/star/document/TypeDetection.idl | 30 ++++++++++---------- .../sun/star/document/XBinaryStreamResolver.idl | 10 +++--- .../star/document/XDocumentEventBroadcaster.idl | 6 ++-- .../sun/star/document/XDocumentEventListener.idl | 2 +- .../com/sun/star/document/XDocumentProperties.idl | 4 +- offapi/com/sun/star/document/XDocumentRecovery.idl | 2 +- offapi/com/sun/star/document/XEmbeddedScripts.idl | 2 +- .../sun/star/document/XExtendedFilterDetection.idl | 4 +- offapi/com/sun/star/document/XFilter.idl | 2 +- .../sun/star/document/XInteractionFilterSelect.idl | 2 +- offapi/com/sun/star/document/XRedlinesSupplier.idl | 2 +- .../sun/star/document/XScriptInvocationContext.idl | 2 +- .../sun/star/document/XStandaloneDocumentInfo.idl | 2 +- offapi/com/sun/star/document/XTypeDetection.idl | 8 ++-- 31 files changed, 102 insertions(+), 103 deletions(-) diff --git a/offapi/com/sun/star/document/AmbigousFilterRequest.idl b/offapi/com/sun/star/document/AmbigousFilterRequest.idl index e7e1782..d0b5673 100644 --- a/offapi/com/sun/star/document/AmbigousFilterRequest.idl +++ b/offapi/com/sun/star/document/AmbigousFilterRequest.idl @@ -36,7 +36,7 @@ module com { module sun { module star { module document { //============================================================================= -/** should be used for interaction to handle states of ambigous filter detection +/** should be used for interaction to handle states of ambiguous filter detection

This exception indicates, that generic filter detection can't decide which of @@ -58,7 +58,7 @@ published exception AmbigousFilterRequest : ::com::sun::star::uno::Exception string URL; //------------------------------------------------------------------------- - /** transport the pre selected filter + /** transport the preselected filter */ string SelectedFilter; diff --git a/offapi/com/sun/star/document/DocumentInfo.idl b/offapi/com/sun/star/document/DocumentInfo.idl index 5012c56..f220699 100644 --- a/offapi/com/sun/star/document/DocumentInfo.idl +++ b/offapi/com/sun/star/document/DocumentInfo.idl @@ -68,7 +68,7 @@

Contrary to the service StandaloneDocumentInfo the document - which - contains such informations - must be loaded completly. As a result of that this + contains such informations - must be loaded completely. As a result of that this DocumengInfo service is available on an open document via the interface XDocumentInfoSupplier only.

@@ -92,7 +92,7 @@ published service DocumentInfo interface XDocumentInfo; //------------------------------------------------------------------------- - /** neccessary to support normal properties + /** necessary to support normal properties */ interface com::sun::star::beans::XPropertySet; @@ -113,7 +113,7 @@ published service DocumentInfo [optional] interface com::sun::star::beans::XPropertyContainer; //------------------------------------------------------------------------- - /** contains the intial author of the document + /** contains the initial author of the document */ [property] string Author; diff --git a/offapi/com/sun/star/document/EventObject.idl b/offapi/com/sun/star/document/EventObject.idl index 6e41bde..51962fe 100644 --- a/offapi/com/sun/star/document/EventObject.idl +++ b/offapi/com/sun/star/document/EventObject.idl @@ -47,7 +47,7 @@ module com { module sun { module star { module document { published struct EventObject: com::sun::star::lang::EventObject { //------------------------------------------------------------------------- - /** specifies the name of the occured event + /** specifies the name of the occurred event

For a list of possible event names see Events. diff --git a/offapi/com/sun/star/document/ExportFilter.idl b/offapi/com/sun/star/document/ExportFilter.idl index e921f76..1032f36 100644 --- a/offapi/com/sun/star/document/ExportFilter.idl +++ b/offapi/com/sun/star/document/ExportFilter.idl @@ -75,7 +75,7 @@ published service ExportFilter

It's used to filter a document at saving time. - The source document should be already setted by using another interface + The source document should be already set by using another interface XExporter which is supported by this service too.

@@ -117,11 +117,11 @@ published service ExportFilter This internal filter name can be used on service FilterFactory to get further informations about it (e.g. his registration for mime types or extensions etc.) It's important that returned string is the "internal name" of the filter which must be - unambigous against all other registered filter in current instalation. + unambiguous against all other registered filters in current installation.

Attention!
- Supported method setName() sould be ignored or forwarded to the FilterFactory. + Supported method setName() should be ignored or forwarded to the FilterFactory. It's not allowed to set it directly to the configuration. Because it depends from real implementation of the FilterFactory if it will be allowed or not!

diff --git a/offapi/com/sun/star/document/ExtendedTypeDetection.idl b/offapi/com/sun/star/document/ExtendedTypeDetection.idl index 33068eb..997b51e 100644 --- a/offapi/com/sun/star/document/ExtendedTypeDetection.idl +++ b/offapi/com/sun/star/document/ExtendedTypeDetection.idl @@ -59,10 +59,10 @@ module com { module sun { module star { module document {
Example: "com.company.devision.DetectService"
- Note that this realy means the implementation name of the service. + Note that this really means the implementation name of the service. Because it's not possible otherwise to distinguish between more then one registered detect services in same office installation! But it's possible for - the generic type detection to create an uno service by his implementation name too. + the generic type detection to create an UNO service by his implementation name too.
  • A list of Types able to be recognized by this service - @@ -80,7 +80,7 @@ published service ExtendedTypeDetection /** makes the deep detection

    - Generic type detection searchs for a registered DetectService for an + Generic type detection searches for a registered DetectService for an already flat detected type. If any could be found it will be created and used by calling methods of this interface. It gets a MediaDescriptor which contains information about the document which should be detected and must return @@ -89,9 +89,9 @@ published service ExtendedTypeDetection

  • or if format is unknown nor supported.
  • May be that given descriptor already includes the opened document stream as parameter - MediaDescriptor::InputStream. Then this one should be used everytime. + MediaDescriptor::InputStream. Then this one should be used every time. If it's not included in descriptor the value of MediaDescriptor::URL - must be used to open requested ressource by this service. + must be used to open requested resource by this service.
    Note: The stream should be added to the descriptor if it wasn't a part of them before. So further steps on the whole detection process can use it and will perform her work. diff --git a/offapi/com/sun/star/document/ExtendedTypeDetectionFactory.idl b/offapi/com/sun/star/document/ExtendedTypeDetectionFactory.idl index ceccb59..0c059dc 100644 --- a/offapi/com/sun/star/document/ExtendedTypeDetectionFactory.idl +++ b/offapi/com/sun/star/document/ExtendedTypeDetectionFactory.idl @@ -64,15 +64,15 @@ published service ExtendedTypeDetectionFactory /** factory interface to create and initialize extended type detection components.

    - A detection component must be specified by it's uno implementation name and will be crated then. - Every new created component can be intialized with it's own configuration data + A detection component must be specified by it's UNO implementation name and will be crated then. + Every new created component can be initialized with it's own configuration data and may given optional arguments of the corresponding createInstanceWithArguments() request. To do so the service must support the optional interface XInitialization. The arguments parameter will have the following structure: