Simply fixes some annoying typos in documentation including OO bug #112563.
Patch is contributed under the LGPLv3+.
From 895eb4fe2759a654ad128eaba659daefaebdafa0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Aurimas=20Fi=C5=A1eras?= <aurimas@gmail.com>
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
<p>
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 @@
<p>
Contrary to the service <type>StandaloneDocumentInfo</type> 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
<type>XDocumentInfoSupplier</type> only.
</p>
@@ -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
<p>
For a list of possible event names see <type>Events</type>.
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
<p>
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
<type>XExporter</type> which is supported by this service too.
</p>
@@ -117,11 +117,11 @@ published service ExportFilter
This internal filter name can be used on service <type>FilterFactory</type>
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.
</p>
<p>
<strong>Attention!</strong><br>
- 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!
</p>
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 {
<br>
Example: "com.company.devision.DetectService"
<br>
- 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.
</li>
<li>
A list of <strong>Types</strong> able to be recognized by this service -
@@ -80,7 +80,7 @@ published service ExtendedTypeDetection
/** makes the deep detection
<p>
- 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 <type>MediaDescriptor</type>
which contains information about the document which should be detected and must return
@@ -89,9 +89,9 @@ published service ExtendedTypeDetection
<li>or <NULL/> if format is unknown nor supported.</li>
</ul>
May be that given descriptor already includes the opened document stream as parameter
- <member>MediaDescriptor::InputStream</member>. Then this one should be used everytime.
+ <member>MediaDescriptor::InputStream</member>. Then this one should be used every time.
If it's not included in descriptor the value of <member>MediaDescriptor::URL</member>
- must be used to open requested ressource by this service.
+ must be used to open requested resource by this service.
<br>
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.
<p>
- 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 <type
scope="com::sun::star::lang">XInitialization</type>.
The arguments parameter will have the following structure:
<ul>
<li>sequence< Any >[0] contains a sequence< <type
scope="com::sun::star::beans">PropertyValue</type> >,
which represent the configuration data set of this detector component. The used
properties are the same, as
- they are available at the container interface of this factoyr service. (see
below)</li>
+ they are available at the container interface of this factory service. (see
below)</li>
<li>Every following item of the argument list sequence< Any >[1..n] contains the
copied argument of the
corresponding createInstanceWithArguments() call. That means: Item 0 or the
original list was copied as
item 1 of the destination list ... etc.
@@ -88,7 +88,7 @@ published service ExtendedTypeDetectionFactory
Every container item is specified as a set of properties and will be
represented by a sequence< <type scope="com::sun::star::beans">PropertyValue</type> >
structure.
Follow properties are supported:
- (But note: not all of them must be present everytimes!)
+ (But note: not all of them must be present every time!)
</p>
<table border=1>
<tr>
@@ -99,8 +99,8 @@ published service ExtendedTypeDetectionFactory
<tr>
<td><em>Name</em></td>
<td>[string]</td>
- <td>It means the uno implementation name of the detector component.
- Note: It means the realy the implementation instead of the uno service name.
+ <td>It means the UNO implementation name of the detector component.
+ Note: It means the really the implementation instead of the UNO service name.
Because it's not possible to distinguish between more then one components; if
all of them
uses a generic service identifier!</td>
</tr>
@@ -135,12 +135,12 @@ published service ExtendedTypeDetectionFactory
<p>
Because the complexness of such configuration set can be very high,
- it seams not very usefull to update the undelying configuration layer
- on every container change request immediatly. Another strategy can be to
+ it seams not very useful to update the underlying configuration layer
+ on every container change request immediately. Another strategy can be to
make all changes (adding/changing/removing of items) and call flush at the end.
That will validate the whole container and reject inconsistent data sets.
Only in case all made changes was correct, they will be written back to the
- configuration. Further this interface provides the possibelity, that interested
+ configuration. Further this interface provides the possibility, that interested
changes listener can be registered too.
</p>
*/
diff --git a/offapi/com/sun/star/document/FilterFactory.idl
b/offapi/com/sun/star/document/FilterFactory.idl
index 3c23ff9..c7bf28e 100644
--- a/offapi/com/sun/star/document/FilterFactory.idl
+++ b/offapi/com/sun/star/document/FilterFactory.idl
@@ -69,9 +69,9 @@ published service FilterFactory
/** factory interface to create and initialize filter components.
<p>
- <strong>Current behaviour</strong><p>
+ <strong>Current behavior</strong><p>
The methods createInstance() or createInstanceWithArguments() of this interface must be
- called with an internal type name!. This name is used internaly to search a suitable
+ called with an internal type name!. This name is used internally to search a suitable
(mostly the default) filter for this type then. The found filter will be created,
initialized
and returned then. Creation of a filter by using it's internal filter name directly can be
reached by using createInstanceWithArguments() with an optional property "FilterName" only.
@@ -95,7 +95,7 @@ published service FilterFactory
</p>
<p>
- <strong>Proposed behaviour</strong><p>
+ <strong>Proposed behavior</strong><p>
Searching of a suitable filter for a given internal type name, must be done by the new
interface
<type scope="com::sun::star::container">XContainerQuery</type>, available on this factory
too.
The factory interface can be used to create filter components by it's internal filter name
only.
@@ -103,7 +103,7 @@ published service FilterFactory
<p>
<strong>How it can be distinguished?</strong><p>
- The new prosposed implementation will throw an <type
scope="com::sun::star::container">NoSuchElementException</type>
+ The new proposed implementation will throw an <type
scope="com::sun::star::container">NoSuchElementException</type>
if the first parameter of createInstance() or createInstanceWithArguments() does not match
to a valid container (means
filter) item. Further it will throw an <type
scope="com::sun::star::lang">IllegalArgumentException</type> if the optional
parameter "FilterName" could not be detected inside the argument list of call
createInstanceWithArguments().
@@ -111,14 +111,14 @@ published service FilterFactory
<p>
<strong>Initialization of a filter component</strong><p>
- Every filter, which was created by this factory can(!) be intialized with it's own
configuration data
+ Every filter, which was created by this factory can(!) be initialized with it's own
configuration data
and may given optional arguments of the corresponding createInstanceWithArguments()
request. To do so the filter
instance must support the optional interface <type
scope="com::sun::star::lang">XInitialization</type>.
The arguments parameter will have the following structure:
<ul>
<li>sequence< Any >[0] contains a sequence< <type
scope="com::sun::star::beans">PropertyValue</type> >,
which represent the configuration data set of this filter. The used properties are
the same, as
- they are available at the container interface of this factoyr service. (see
below)</li>
+ they are available at the container interface of this factory service. (see
below)</li>
<li>Every following item of the argument list sequence< Any >[1..n] contains the
copied argument of the
corresponding createInstanceWithArguments() call. That means: Item 0 or the
original list was copied as
item 1 of the destination list ... etc.
@@ -134,7 +134,7 @@ published service FilterFactory
Every container item is specified as a set of properties and will be
represented by a sequence< <type scope="com::sun::star::beans">PropertyValue</type> >
structure.
Follow properties are supported:
- (But note: not all of them must be present everytimes!)
+ (But note: not all of them must be present every time!)
</p>
<table border=1>
<tr>
@@ -169,14 +169,14 @@ published service FilterFactory
<tr>
<td><em>DocumentService</em></td>
<td>[string]</td>
- <td>It's the uno service name of the document type, which can be handled by this
filter.
+ <td>It's the UNO service name of the document type, which can be handled by this
filter.
(e.g. <type scope="com::sun::star::text">TextDocument</type>)</td>
</tr>
<tr>
<td><em>FilterService</em></td>
<td>[string]</td>
- <td>It means the uno implementation name of the filter component.
- Note: It means the realy the implementation instead of the uno service name.
+ <td>It means the UNO implementation name of the filter component.
+ Note: It really means the implementation instead of the UNO service name.
Because it's not possible to distinguish between more then one filters; if all
of them
uses a generic identifier!</td>
</tr>
@@ -206,8 +206,8 @@ published service FilterFactory
<p>
Note:<br>
- All elements of this container will be adressed by his internal name,
- and it must be an unambigous value.
+ All elements of this container will be addressed by his internal name,
+ and it must be an unambiguous value.
</p>
*/
interface com::sun::star::container::XNameAccess;
@@ -232,12 +232,12 @@ published service FilterFactory
<p>
Because the complexness of such configuration set can be very high,
- it seams not very usefull to update the undelying configuration layer
- on every container change request immediatly. Another strategy can be to
+ it seams not very useful to update the underlying configuration layer
+ on every container change request immediately. Another strategy can be to
make all changes (adding/changing/removing of items) and call flush at the end.
That will validate the whole container and reject inconsistent data sets.
Only in case all made changes was correct, they will be written back to the
- configuration. Further this interface provides the possibelity, that interested
+ configuration. Further this interface provides the possibility, that interested
changes listener can be registered too.
</p>
*/
diff --git a/offapi/com/sun/star/document/HeaderFooterSettings.idl
b/offapi/com/sun/star/document/HeaderFooterSettings.idl
index 3002394..4a59648 100644
--- a/offapi/com/sun/star/document/HeaderFooterSettings.idl
+++ b/offapi/com/sun/star/document/HeaderFooterSettings.idl
@@ -60,7 +60,7 @@ published service HeaderFooterSettings
*/
[optional, property] boolean IsPrintDate;
- /** enables or disables the printinge of the current time in the
+ /** enables or disables the printing of the current time in the
header or footer
*/
[optional, property] boolean IsPrintTime;
diff --git a/offapi/com/sun/star/document/ImportFilter.idl
b/offapi/com/sun/star/document/ImportFilter.idl
index 49e1bd6..1e0ed4d 100644
--- a/offapi/com/sun/star/document/ImportFilter.idl
+++ b/offapi/com/sun/star/document/ImportFilter.idl
@@ -75,7 +75,7 @@ published service ImportFilter
<p>
It's used to filter a document at loading time.
- The target document should be already setted by using another interface
+ The target document should be already set by using another interface
<member>ImportFilter::XImporter</member> which is supported by this service too.
</p>
@@ -117,11 +117,11 @@ published service ImportFilter
This internal filter name can be used on service <type>FilterFactory</type>
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.
</p>
<p>
<strong>Attention!</strong><br>
- 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!
</p>
diff --git a/offapi/com/sun/star/document/LinkTarget.idl
b/offapi/com/sun/star/document/LinkTarget.idl
index 81569b6..6d93853 100644
--- a/offapi/com/sun/star/document/LinkTarget.idl
+++ b/offapi/com/sun/star/document/LinkTarget.idl
@@ -50,7 +50,7 @@ published service LinkTarget
interface com::sun::star::beans::XPropertySet;
/** a link target may have child objects which can be link targets too.
- These are accessible by this optinonal interface.
+ These are accessible by this optional interface.
*/
[optional] interface com::sun::star::document::XLinkTargetSupplier;
diff --git a/offapi/com/sun/star/document/LinkUpdateModes.idl
b/offapi/com/sun/star/document/LinkUpdateModes.idl
index ccd9e9c..7bbee43 100644
--- a/offapi/com/sun/star/document/LinkUpdateModes.idl
+++ b/offapi/com/sun/star/document/LinkUpdateModes.idl
@@ -49,7 +49,7 @@ published constants LinkUpdateModes
const long AUTO = 2;
/** use the setting that is configured in your installed
- application. This may be one of the above behaviours.
+ application. This may be one of the above behaviors.
*/
const long GLOBAL_SETTING = 3;
};
diff --git a/offapi/com/sun/star/document/MacroExecMode.idl
b/offapi/com/sun/star/document/MacroExecMode.idl
index 78d0988..f60aee8 100644
--- a/offapi/com/sun/star/document/MacroExecMode.idl
+++ b/offapi/com/sun/star/document/MacroExecMode.idl
@@ -57,7 +57,7 @@ published constants MacroExecMode
const short FROM_LIST = 1;
//-------------------------------------------------------------------------
- /** Execute any macro, macros signed with trusted sertificates and macros
+ /** Execute any macro, macros signed with trusted certificates and macros
from secure list are executed quietly.
<p>
diff --git a/offapi/com/sun/star/document/MediaDescriptor.idl
b/offapi/com/sun/star/document/MediaDescriptor.idl
index 1daed7b..1370d36 100644
--- a/offapi/com/sun/star/document/MediaDescriptor.idl
+++ b/offapi/com/sun/star/document/MediaDescriptor.idl
@@ -68,15 +68,15 @@ module com { module sun { module star { module document {
This service may be represented by a
<type scope="com::sun::star::beans" dim="[]">PropertyValue</type>.
Such descriptors will be passed to different functions, included into possible
- load/save proccesses. Every member of such process can use this descriptor
+ load/save processes. Every member of such process can use this descriptor
and may change it if to actualize the informations about the document.
So this descriptor should be used as an in/out parameter.
</p>
<p>
Note:<br>
- It's not allowed to hold member of this descriptor by references longer the they
- will be used (especialy a possible stream). It's allowed to use it directly
+ It's not allowed to hold member of this descriptor by references longer than they
+ will be used (especially a possible stream). It's allowed to use it directly
or by copying it only.
</p>
@@ -85,7 +85,7 @@ module com { module sun { module star { module document {
published service MediaDescriptor
{
//-------------------------------------------------------------------------
- /** May be set by filters or detection services if user has choosen to
+ /** May be set by filters or detection services if user has chosen to
abort loading/saving, e.g. while entering a password.
*/
[optional,property] boolean Aborted;
@@ -139,7 +139,7 @@ published service MediaDescriptor
<p>
This is a parameter that can be used for any properties specific
for a special component type. Format of that depends from real
- type of adressed component.
+ type of addressed component.
</p>
<p>
@@ -256,7 +256,7 @@ published service MediaDescriptor
If no stream is provided, the loader will create a stream by itself using
the other properties. It is not allowed to keep a reference to this
InputStream after loading the component, and it would be useless, because
- in general an InputStream is usable for readong only once, except when it
+ in general an InputStream is usable for reading only once, except when it
also implements the <type scope="com::sun::star::io">XSeekable</type> interface.
</p>
*/
@@ -269,7 +269,7 @@ published service MediaDescriptor
Object implementing the <type scope="com::sun::star::task">InteractionHandler</type>
service that is used to handle exceptional situations where proceeding with the task
is impossible without additional information or impossible at all.
- The implemented api provides a default implementation for it that can handle many
situations.
+ The implemented API provides a default implementation for it that can handle many
situations.
If no InteractionHandler is set, a suitable exception is thrown.
It is not allowed to keep a reference to this object, even not in the loaded
or stored components' copy of the MediaDescriptor provided by its arguments attribute.
@@ -362,10 +362,10 @@ published service MediaDescriptor
[optional,property] boolean Overwrite;
//-------------------------------------------------------------------------
- /** pasword for loading storing documents
+ /** password for loading storing documents
<p>
- It caontains a password for loading or storing a component (if necessary).
+ It contains a password for loading or storing a component (if necessary).
If no password is specified, loading of a password protected document
will fail, storing will be done without encryption.
</p>
@@ -436,13 +436,13 @@ published service MediaDescriptor
/** name of document referrer
<p>
- A URL describing the environment of the request; f.e. a referrer may be a
+ A URL describing the environment of the request; e.g. a referrer may be a
URL of a document, if a hyperlink inside this document is clicked to load
another document. The referrer may be evaluated by the addressed UCB content
or the loaded document. Without a referrer the processing of URLs that
- needs security checks will be denied, f.e. "macro:" URLs.
+ needs security checks will be denied, e.g. "macro:" URLs.
<br>
- Don't be confused about the wrong spelling; is kept for compatibility reasons.
+ Don't be confused about the wrong spelling; it is kept for compatibility reasons.
</p>
*/
[optional,property] string Referer;
@@ -531,7 +531,6 @@ published service MediaDescriptor
<p>
The location of the component in URL syntax. It must be the full qualified URL and
- must include f.e. an optional <member>MediaDescriptor::JumpMark</member> too.
</p>
*/
[optional,property] string URL;
diff --git a/offapi/com/sun/star/document/NoSuchFilterRequest.idl
b/offapi/com/sun/star/document/NoSuchFilterRequest.idl
index 96e76de..7ba8224 100644
--- a/offapi/com/sun/star/document/NoSuchFilterRequest.idl
+++ b/offapi/com/sun/star/document/NoSuchFilterRequest.idl
@@ -43,7 +43,7 @@ module com { module sun { module star { module document {
a possible <type scope="com::sun::star::task">InteractionHandler</type> will be used.
(it's a a part of used <type>MediaDescriptor</type>)
Such "NoSuchFilterRequest" will be used then to start right interaction on that to
- get a decision wich filter should be used for given URL. A possible continiuation
+ get a decision which filter should be used for given URL. A possible continuation
of type <type>XInteractionFilterSelect</type> will transport this decision back to
generic filter detection and force using of it. Of course it's possible to abort
the loading process by use another continuation <type
scope="com::sun::star::task">XInteractionAbort</type>.
diff --git a/offapi/com/sun/star/document/OfficeDocument.idl
b/offapi/com/sun/star/document/OfficeDocument.idl
index 51c119e..1ab2816 100644
--- a/offapi/com/sun/star/document/OfficeDocument.idl
+++ b/offapi/com/sun/star/document/OfficeDocument.idl
@@ -108,7 +108,7 @@ published service OfficeDocument
<p>
With this interface it's possible too, to reset the modify state.
- That can be neccessary to prevent code against problem during closing
+ That can be necessary to prevent code against problem during closing
of the document without saving any changes.
</p>
*/
@@ -132,7 +132,7 @@ published service OfficeDocument
/** offers a way to print a component
<p>
- It's possible to specify wich printer should be used and of course
+ It's possible to specify which printer should be used and of course
print the document on it.
</p>
*/
@@ -193,7 +193,7 @@ published service OfficeDocument
[optional] interface XDocumentPropertiesSupplier;
//-------------------------------------------------------------------------
- /** controls the focus behaviour of the form controls in the document
+ /** controls the focus behavior of the form controls in the document
<p>
If this flag is set to <TRUE/>, any view belonging to the document
diff --git a/offapi/com/sun/star/document/Settings.idl b/offapi/com/sun/star/document/Settings.idl
index 4ceb16a..65f694f 100644
--- a/offapi/com/sun/star/document/Settings.idl
+++ b/offapi/com/sun/star/document/Settings.idl
@@ -69,7 +69,7 @@ published service Settings
@return the
<type scope="com::sun::star::i18n">XForbiddenCharacters</type>
- interface to allow retreival and modification of the
+ interface to allow retrieval and modification of the
forbidden characters set.
*/
[optional, property] com::sun::star::i18n::XForbiddenCharacters ForbiddenCharacters;
diff --git a/offapi/com/sun/star/document/StandaloneDocumentInfo.idl
b/offapi/com/sun/star/document/StandaloneDocumentInfo.idl
index 7a39771..16c1161 100644
--- a/offapi/com/sun/star/document/StandaloneDocumentInfo.idl
+++ b/offapi/com/sun/star/document/StandaloneDocumentInfo.idl
@@ -58,7 +58,7 @@
published service StandaloneDocumentInfo
{
//-------------------------------------------------------------------------
- /** use it to specify ressource or target of document info data
+ /** use it to specify resource or target of document info data
<p>
Must be the first action on this service. Otherwise all properties will be void.
diff --git a/offapi/com/sun/star/document/TypeDetection.idl
b/offapi/com/sun/star/document/TypeDetection.idl
index 10e13fd..83edc22 100644
--- a/offapi/com/sun/star/document/TypeDetection.idl
+++ b/offapi/com/sun/star/document/TypeDetection.idl
@@ -51,9 +51,9 @@ module com { module sun { module star { module document {
/** capsulate a type detection service and provide read/write access on it's configuration data.
<p>
- It's possible to make a "flat" detection wich may use internal configuration
+ It's possible to make a "flat" detection which may use internal configuration
data only - or a "deep" detection which use special <type>ExtendedTypeDetection</type>
- services to look into the document stream. Last mode can be supressed to perform the operation.
+ services to look into the document stream. Last mode can be suppressed to perform the
operation.
Of course the results can't be guaranteed then. (e.g. in case the extension was changed)
</p>
*/
@@ -78,7 +78,7 @@ published service TypeDetection
Every container item is specified as a set of properties and will be
represented by a sequence< <type scope="com::sun::star::beans">PropertyValue</type> >
structure.
Follow properties are supported:
- (But note: not all of them must be present everytimes!)
+ (But note: not all of them must be present every time!)
<table border=1>
<tr>
@@ -108,12 +108,12 @@ published service TypeDetection
<td><em>MediaType</em></td>
<td>[string]</td>
<td>It contains the MIME or content type descriptor. The differences between a
MIME type and
- an internal type name was made, to resolve existing ambigities.</td>
+ an internal type name was made, to resolve existing ambiguities.</td>
</tr>
<tr>
<td><em>ClipboardFormat</em><strong>deprecated!</strong></td>
<td>[string]</td>
- <td>It was interepreted as an identifier inside clipboard.
+ <td>It was interpreted as an identifier inside clipboard.
Please use new property ContentFormat instead of this now.</td>
</tr>
<tr>
@@ -130,9 +130,9 @@ published service TypeDetection
<td>[sequence< string >]</td>
<td>This list contains different URL patterns, which identify this type.
E.g. data base contents can be described by an new defined protocol like
"sql://select*".
- In combination with a sutable <type
scope="com::sun::star::frame">FrameLoader</type> or
- <type>ImportFilter</type>/<type>ExportFilter</type> it woul be possible then,
to
- layout a sql query output into an office frame.</td>
+ In combination with a suitable <type
scope="com::sun::star::frame">FrameLoader</type> or
+ <type>ImportFilter</type>/<type>ExportFilter</type> it would be possible then,
to
+ layout a SQL query output into an office frame.</td>
</tr>
<tr>
<td><em>Extensions</em></td>
@@ -140,8 +140,8 @@ published service TypeDetection
<td>It contains a list of file extensions, which match this type.
They must be specified as pure extension, without any special signs.
E.g.: "doc", "html" ... but not ".doc".
- Using of wildcards is allowed but not very usefull. The may resulting
- ambigities with other type registrations can't be resolved anytimes.</td>
+ Using wild cards is allowed but not very useful. They may result in
+ ambiguities with other type registrations can't be resolved anytime.</td>
</tr>
<tr>
<td><em>DocumentIconID</em></td>
@@ -153,8 +153,8 @@ published service TypeDetection
<p>
Note:<br>
- All elements of this container will be adressed by his internal name,
- and it must be an unambigous value.
+ All elements of this container will be addressed by his internal name,
+ and it must be an unambiguous value.
</p>
*/
interface com::sun::star::container::XNameAccess;
@@ -179,12 +179,12 @@ published service TypeDetection
<p>
Because the complexness of such configuration set can be very high,
- it seams not very usefull to update the undelying configuration layer
- on every container change request immediatly. Another strategy can be to
+ it seams not very useful to update the underlying configuration layer
+ on every container change request immediately. Another strategy can be to
make all changes (adding/changing/removing of items) and call flush at the end.
That will validate the whole container and reject inconsistent data sets.
Only in case all made changes was correct, they will be written back to the
- configuration. Further this interface provides the possibelity, that interested
+ configuration. Further this interface provides the possibility, that interested
changes listener can be registered too.
</p>
*/
diff --git a/offapi/com/sun/star/document/XBinaryStreamResolver.idl
b/offapi/com/sun/star/document/XBinaryStreamResolver.idl
index fbd41f2..ad88324 100644
--- a/offapi/com/sun/star/document/XBinaryStreamResolver.idl
+++ b/offapi/com/sun/star/document/XBinaryStreamResolver.idl
@@ -45,18 +45,18 @@ module com { module sun { module star { module document {
/**
<p>This interface encapsulates functionality to get/resolve binary data streams.
- It is used to transform binary data to an url or to transform an url to binary
+ It is used to transform binary data to an URL or to transform an URL to binary
data. The binary data is represented through input and output streams.</p>
- <p>In the case of transforming an url to binary data, the <code>getInputStream</code>
+ <p>In the case of transforming an URL to binary data, the <code>getInputStream</code>
method is used. This returns a <type scope="com::sun::star::io">XInputStream</type>
- from which the binary data, transformed from the given url, can be read.</p>
+ from which the binary data, transformed from the given URL, can be read.</p>
- <p>In the case of transforming binary data to an url, a
+ <p>In the case of transforming binary data to an URL, a
<type scope="com::sun::star::io">XOutputStream</type> is created first to write
the binary data to. After this, the <code>resolveOutputStream</code> method can
be used to transform the binary data, represented through the
- <type scope="com::sun::star::io">XOutputStream</type> interface, to an url.</p>
+ <type scope="com::sun::star::io">XOutputStream</type> interface, to an URL.</p>
*/
published interface XBinaryStreamResolver: com::sun::star::uno::XInterface
{
diff --git a/offapi/com/sun/star/document/XDocumentEventBroadcaster.idl
b/offapi/com/sun/star/document/XDocumentEventBroadcaster.idl
index b74d408..57ea29a 100644
--- a/offapi/com/sun/star/document/XDocumentEventBroadcaster.idl
+++ b/offapi/com/sun/star/document/XDocumentEventBroadcaster.idl
@@ -65,7 +65,7 @@ interface XDocumentEventBroadcaster
/** registers a listener which is notified about document events
@param _Listener
- the listener to register. The behaviour of the method is undefined this listener
+ the listener to register. The behavior of the method is undefined this listener
is <NULL/>.
*/
void addDocumentEventListener( [in] XDocumentEventListener _Listener );
@@ -73,7 +73,7 @@ interface XDocumentEventBroadcaster
/** revokes a listener which has previously been registered to be notified about document
events.
@param _Listener
- the listener to revoke. The behaviour of the method is undefined this listener
+ the listener to revoke. The behavior of the method is undefined this listener
is <NULL/>.
*/
void removeDocumentEventListener( [in] XDocumentEventListener _Listener );
@@ -84,7 +84,7 @@ interface XDocumentEventBroadcaster
and fill in the <code>Source</code> member (denoting the broadcaster) as appropriate.</p>
<p>Whether the actual notification happens synchronously or asynchronously is up to the
- implementator of this method. However, implementations are encouraged to specify this, for
the
+ implementor of this method. However, implementations are encouraged to specify this, for
the
list of supported event types, in their service contract.</p>
<p>Implementations might also decide to limit the list of allowed events (means event
names) at
diff --git a/offapi/com/sun/star/document/XDocumentEventListener.idl
b/offapi/com/sun/star/document/XDocumentEventListener.idl
index efbfc71..1074fa7 100644
--- a/offapi/com/sun/star/document/XDocumentEventListener.idl
+++ b/offapi/com/sun/star/document/XDocumentEventListener.idl
@@ -51,7 +51,7 @@ module com { module sun { module star { module document {
*/
interface XDocumentEventListener : ::com::sun::star::lang::XEventListener
{
- /** is called whenever a document event occured
+ /** is called whenever a document event occurred
*/
void documentEventOccured( [in] DocumentEvent Event );
};
diff --git a/offapi/com/sun/star/document/XDocumentProperties.idl
b/offapi/com/sun/star/document/XDocumentProperties.idl
index 8a3b2c1..acc895f 100755
--- a/offapi/com/sun/star/document/XDocumentProperties.idl
+++ b/offapi/com/sun/star/document/XDocumentProperties.idl
@@ -210,7 +210,7 @@ published interface XDocumentProperties
specified time after the document is loaded into a desktop frame.
<p>
An empty URL is valid and describes a case where the document shall be
- reloaded from its original loction after some time described by the
+ reloaded from its original location after some time described by the
attribute <member>AutoloadSecs</member>.
An empty <atom>string</atom> together with an
<member>AutoloadSecs</member> value of 0
@@ -292,7 +292,7 @@ published interface XDocumentProperties
//-------------------------------------------------------------------------
/** resets all attributes that could identify the user.
<p>
- Clears the document properties, such that it apperars the document
+ Clears the document properties, such that it appears the document
has just been created.
This is a convenience method which resets several attributes at once,
as follows:
diff --git a/offapi/com/sun/star/document/XDocumentRecovery.idl
b/offapi/com/sun/star/document/XDocumentRecovery.idl
index 4073ddd..34dc77c 100644
--- a/offapi/com/sun/star/document/XDocumentRecovery.idl
+++ b/offapi/com/sun/star/document/XDocumentRecovery.idl
@@ -53,7 +53,7 @@ interface XDocumentRecovery
<p>It's allowed to implement this method sloppy, by returning <TRUE/> in cases where it is
not sure whether
the document actually has been modified. So, the most simple implementation could simply
delegate this call
to <member scope="com::sun::star::util">XModifiable::isModified</member>. (Well, actually
that's the
- second simple implementation, the <em>most</em> simple one would, still egitimately,
always return <TRUE/>.)</p>
+ second simple implementation, the <em>most</em> simple one would, still legitimately,
always return <TRUE/>.)</p>
<p>However, in such a case, the document might be saved more often than needed. In
particular during the
periodic session save, this might become a problem when saving is expensive, for a single
document
diff --git a/offapi/com/sun/star/document/XEmbeddedScripts.idl
b/offapi/com/sun/star/document/XEmbeddedScripts.idl
index 103af3a..1fbde21 100644
--- a/offapi/com/sun/star/document/XEmbeddedScripts.idl
+++ b/offapi/com/sun/star/document/XEmbeddedScripts.idl
@@ -38,7 +38,7 @@ module com { module sun { module star { module document {
//=============================================================================
-/** is suppoerted by <type>OfficeDocument</type>s which allow to embed scripts
+/** is supported by <type>OfficeDocument</type>s which allow to embed scripts
@since OOo 2.4
*/
diff --git a/offapi/com/sun/star/document/XExtendedFilterDetection.idl
b/offapi/com/sun/star/document/XExtendedFilterDetection.idl
index c40a50b..65160d7 100644
--- a/offapi/com/sun/star/document/XExtendedFilterDetection.idl
+++ b/offapi/com/sun/star/document/XExtendedFilterDetection.idl
@@ -59,8 +59,8 @@ published interface XExtendedFilterDetection: com::sun::star::uno::XInterface
with given URL or arguments
<p>
- Registerd services in configuration, which support this interface for different mime types,
- will be called automaticly to look into the document stream and cdecide wich format it
represent.
+ Registered services in configuration, which support this interface for different mime
types,
+ will be called automatically to look into the document stream and decide which format it
represent.
Add the collected information about detected documents in given
<type>MediaDescriptor</type>
<var>Descriptor</var>. The decision must be returned as any valid type name (which
specifies
the detected format) or an empty value for unknown formats.
diff --git a/offapi/com/sun/star/document/XFilter.idl b/offapi/com/sun/star/document/XFilter.idl
index 3d84200..c44ef18 100644
--- a/offapi/com/sun/star/document/XFilter.idl
+++ b/offapi/com/sun/star/document/XFilter.idl
@@ -62,7 +62,7 @@ published interface XFilter: com::sun::star::uno::XInterface
/** filter the document.
<p>
- The given <type>MediaDescriptor</type> holds all neccessary information
+ The given <type>MediaDescriptor</type> holds all necessary information
about the document.
Don't hold hard references to the descriptor items. You must copy needed information!
diff --git a/offapi/com/sun/star/document/XInteractionFilterSelect.idl
b/offapi/com/sun/star/document/XInteractionFilterSelect.idl
index c488aea..99b0469 100644
--- a/offapi/com/sun/star/document/XInteractionFilterSelect.idl
+++ b/offapi/com/sun/star/document/XInteractionFilterSelect.idl
@@ -44,7 +44,7 @@ module com { module sun { module star { module document {
a possible <type scope="com::sun::star::task">InteractionHandler</type> will be used.
(it's a a part of used <type>MediaDescriptor</type>)
A <type>NoSuchFilterRequest</type> will be used then to start right interaction on that to
- get a decision wich filter should be used for given URL. A possible continiuation
+ get a decision which filter should be used for given URL. A possible continuation
of that can be this XInteractionFilterSelect. It will transport the decision back to
generic filter detection and force using of it. Of course it's possible to abort
the loading process by use another continuation <type
scope="com::sun::star::task">XInteractionAbort</type>.
diff --git a/offapi/com/sun/star/document/XRedlinesSupplier.idl
b/offapi/com/sun/star/document/XRedlinesSupplier.idl
index be7bfdd..3dd924a 100644
--- a/offapi/com/sun/star/document/XRedlinesSupplier.idl
+++ b/offapi/com/sun/star/document/XRedlinesSupplier.idl
@@ -45,7 +45,7 @@ published interface XRedlinesSupplier: com::sun::star::uno::XInterface
/** @returns
an enumeration access that provides access to the redline objects of the document.
- <p>The returned objects implent at least the interface
+ <p>The returned objects implement at least the interface
<type scope="com::sun::star::beans">XPropertySet</type>.
Specific objects may support other interfaces as well.</p>
*/
diff --git a/offapi/com/sun/star/document/XScriptInvocationContext.idl
b/offapi/com/sun/star/document/XScriptInvocationContext.idl
index 7d6213f..bd6b8e7 100644
--- a/offapi/com/sun/star/document/XScriptInvocationContext.idl
+++ b/offapi/com/sun/star/document/XScriptInvocationContext.idl
@@ -50,7 +50,7 @@ module com { module sun { module star { module document {
then this other document is denoted by <member>ScriptContainer</member>.</p>
<p>If the interface is implemented by a controller, then <member>ScriptContainer</member>
- refers to the document which supports embedding scripts, and which is unambiguosly
+ refers to the document which supports embedding scripts, and which is unambiguously
associated with the controller. This must not necessarily be the model returned by
<member scope="com::sun::star::frame">XController::getModel</member>.</p>
diff --git a/offapi/com/sun/star/document/XStandaloneDocumentInfo.idl
b/offapi/com/sun/star/document/XStandaloneDocumentInfo.idl
index 2dab73a..79a02e5 100644
--- a/offapi/com/sun/star/document/XStandaloneDocumentInfo.idl
+++ b/offapi/com/sun/star/document/XStandaloneDocumentInfo.idl
@@ -49,7 +49,7 @@ module com { module sun { module star { module document {
Instead of <type>DocumentInfo</type> not the whole document will be opened.
Note: Without specifying the source or target of this info (the document)
nothing can work and will be handled as void (for reading) or ignored (for writing).
- After specigiying the source/target by using this interface,
+ After specifying the source/target by using this interface,
the interface <type>XDocumentInfo</type> (which must be implemented on same
object then this one!) provides access to the info properties.
</p>
diff --git a/offapi/com/sun/star/document/XTypeDetection.idl
b/offapi/com/sun/star/document/XTypeDetection.idl
index e7b92b0..054c2d7 100644
--- a/offapi/com/sun/star/document/XTypeDetection.idl
+++ b/offapi/com/sun/star/document/XTypeDetection.idl
@@ -48,7 +48,7 @@ module com { module sun { module star { module document {
may invalid results if e.g., the extension of the document is wrong.
A "deep" detection means looking into the document stream to be right
which format it supports. Of course that includes a "flat" detection before.
- The combination of both ones should produce stable results everytime.
+ The combination of both ones should produce stable results every time.
</p>
@see TypeDetection
@@ -86,11 +86,11 @@ published interface XTypeDetection: com::sun::star::uno::XInterface
The property <member>MediaDescriptor::URL</member> should be set on
this descriptor as minimum. It specifies the location of the document.
If this parameter is missing another one is required:
<member>MediaDescriptor::InputStream</member>.
- This can be usefull to prevent operaton against multiple opening of the stream
+ This can be useful to prevent operation against multiple opening of the stream
and perform the operation. If this stream isn't already included the detection
will open it (if allowed!) and add it to the descriptor so it will be available for
all following parts.
- A combination of both parameters can be usefull to perform the operation
+ A combination of both parameters can be useful to perform the operation
and make results more stable; but only one of them is required.
Of course its possible to specify more document properties (e.g.
<member>MediaDescriptor::ReadOnly</member>).
@@ -100,7 +100,7 @@ published interface XTypeDetection: com::sun::star::uno::XInterface
</p>
@param Descriptor
- means the <type>MediaDescriptor</type> which specify the ressource for detection
+ means the <type>MediaDescriptor</type> which specify the resource for detection
@param AllowDeep
if it is set to <TRUE/> a "deep" detection will be follow a "flat" detection
--
1.7.1
Context
- [Libreoffice] [PATCH] ure/offapi/com/sun/star/document: Fix some typos in documentation · Aurimas Fišeras
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.