Kaydet (Commit) f3db7d1a authored tarafından Michael Stahl's avatar Michael Stahl

*api: convert <method scope="foo">

sed -i 's,<method scope="\([^"]*\)">\([^<][^)]\+\)</method>,\1::\2(),g'

Change-Id: I7ceb805d67a79c297fb5f044a8fb226ec2fb366c
üst 4718949d
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
module com { module sun { module star { module awt { module tree { module com { module sun { module star { module awt { module tree {
/** You can implement this interface and register with <method scope="XTreeControl">addTreeEditListener</method> /** You can implement this interface and register with XTreeControl::addTreeEditListener()
to get notifications when editing of a node starts and ends. to get notifications when editing of a node starts and ends.
<p>You have to set the TreeControlModel::Editable property to <p>You have to set the TreeControlModel::Editable property to
...@@ -40,7 +40,7 @@ interface XTreeEditListener : ::com::sun::star::lang::XEventListener ...@@ -40,7 +40,7 @@ interface XTreeEditListener : ::com::sun::star::lang::XEventListener
@param Node @param Node
the XTreeNode for that an edit request was fired by calling the XTreeNode for that an edit request was fired by calling
<method scope="XTreeControl">startEditingAtNode</method> XTreeControl::startEditingAtNode()
@throws VetoException @throws VetoException
if thrown the editing will not start. if thrown the editing will not start.
...@@ -56,7 +56,7 @@ interface XTreeEditListener : ::com::sun::star::lang::XEventListener ...@@ -56,7 +56,7 @@ interface XTreeEditListener : ::com::sun::star::lang::XEventListener
@param Node @param Node
the XTreeNode for that an edit request was fired by calling the XTreeNode for that an edit request was fired by calling
<method scope="XTreeControl">startEditingAtNode</method> XTreeControl::startEditingAtNode()
@param NewText @param NewText
the text that was entered by the user. the text that was entered by the user.
......
...@@ -75,7 +75,7 @@ published service ConfigurationRegistry ...@@ -75,7 +75,7 @@ published service ConfigurationRegistry
service, all changes made to an configuration subtree have to be committed service, all changes made to an configuration subtree have to be committed
before they become persistent. before they become persistent.
To do this for a configuration accessed as a registry, call To do this for a configuration accessed as a registry, call
<method scope="com::sun::star::util">XFlushable::flush</method>. com::sun::star::util::XFlushable::flush().
</p> </p>
<p><strong>Warning:</strong><em>Changes that are not flushed will be <p><strong>Warning:</strong><em>Changes that are not flushed will be
lost.</em> lost.</em>
......
...@@ -57,7 +57,7 @@ published service LayerFilter ...@@ -57,7 +57,7 @@ published service LayerFilter
/** /**
provides a means to set the source data for the filter. provides a means to set the source data for the filter.
<p> Call <method scope="com::sun::star::lang">XInitialization::initialize</method>() <p> Call com::sun::star::lang::XInitialization::initialize()()
with a single argument of type com::sun::star::beans::NamedValue, with a single argument of type com::sun::star::beans::NamedValue,
where com::sun::star::beans::NamedValue::Name is <code>"Source"</code> where com::sun::star::beans::NamedValue::Name is <code>"Source"</code>
and com::sun::star::beans::NamedValue::Value and com::sun::star::beans::NamedValue::Value
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
*/ */
published interface XGraphicExportFilter published interface XGraphicExportFilter
{ {
/** calling <method scope="com::sun::star::document">XFilter::filter</method> /** calling com::sun::star::document::XFilter::filter()
starts the export of the graphic file. starts the export of the graphic file.
<p>The following properties from the <p>The following properties from the
......
...@@ -32,14 +32,14 @@ ...@@ -32,14 +32,14 @@
<p> <p>
In case In case
<method scope="com::sun::star::lang">XSingleServiceFactory::createInstance</method> com::sun::star::lang::XSingleServiceFactory::createInstance()
call is used the result storage will be open in read-write mode based call is used the result storage will be open in read-write mode based
on an arbitrary file system folder. on an arbitrary file system folder.
</p> </p>
<p> <p>
In case In case
<method scope="com::sun::star::lang">XSingleServiceFactory::createInstanceWithArguments</method> com::sun::star::lang::XSingleServiceFactory::createInstanceWithArguments()
call is used a sequence of the following parameters can be used: call is used a sequence of the following parameters can be used:
</p> </p>
......
...@@ -132,7 +132,7 @@ published service Storage ...@@ -132,7 +132,7 @@ published service Storage
<p> <p>
The latest flashed version of the stream will be used. The latest flashed version of the stream will be used.
The stream can be flashed explicitly by The stream can be flashed explicitly by
<method scope="com::sun::star::io">XOutputStream::flush</method> com::sun::star::io::XOutputStream::flush()
call. call.
</p> </p>
...@@ -166,7 +166,7 @@ published service Storage ...@@ -166,7 +166,7 @@ published service Storage
<p> <p>
The latest flashed version of the stream will be used. The latest flashed version of the stream will be used.
The stream can be flashed explicitly by The stream can be flashed explicitly by
<method scope="com::sun::star::io">XOutputStream::flush</method> com::sun::star::io::XOutputStream::flush()
call. call.
</p> </p>
......
...@@ -31,14 +31,14 @@ ...@@ -31,14 +31,14 @@
<p> <p>
In case In case
<method scope="com::sun::star::lang">XSingleServiceFactory::createInstance</method> com::sun::star::lang::XSingleServiceFactory::createInstance()
call is used the result storage will be open in read-write mode based call is used the result storage will be open in read-write mode based
on an arbitrary medium. on an arbitrary medium.
</p> </p>
<p> <p>
In case In case
<method scope="com::sun::star::lang">XSingleServiceFactory::createInstanceWithArguments</method> com::sun::star::lang::XSingleServiceFactory::createInstanceWithArguments()
call is used a sequence of the following parameters can be used: call is used a sequence of the following parameters can be used:
</p> </p>
......
...@@ -58,7 +58,7 @@ published interface XHierarchicalStorageAccess ...@@ -58,7 +58,7 @@ published interface XHierarchicalStorageAccess
<p> <p>
In case the stream is open in readonly mode the In case the stream is open in readonly mode the
<method scope="com::sun::star::io">XStream::getOutputStream</method> com::sun::star::io::XStream::getOutputStream()
method will return an empty reference. method will return an empty reference.
</p> </p>
...@@ -103,7 +103,7 @@ published interface XHierarchicalStorageAccess ...@@ -103,7 +103,7 @@ published interface XHierarchicalStorageAccess
<p> <p>
In case the stream is open in readonly mode the In case the stream is open in readonly mode the
<method scope="com::sun::star::io">XStream::getOutputStream</method> com::sun::star::io::XStream::getOutputStream()
method will return an empty reference. method will return an empty reference.
</p> </p>
......
...@@ -39,7 +39,7 @@ interface XHierarchicalStorageAccess2 : XHierarchicalStorageAccess ...@@ -39,7 +39,7 @@ interface XHierarchicalStorageAccess2 : XHierarchicalStorageAccess
<p> <p>
In case the stream is open in readonly mode the In case the stream is open in readonly mode the
<method scope="com::sun::star::io">XStream::getOutputStream</method> com::sun::star::io::XStream::getOutputStream()
method will return an empty reference. method will return an empty reference.
</p> </p>
......
...@@ -49,7 +49,7 @@ published interface XStorage ...@@ -49,7 +49,7 @@ published interface XStorage
<p> <p>
It is also possible to use this interface to get read access to It is also possible to use this interface to get read access to
a child element by a child element by
<method scope="com::sun::star::container">XNameAccess::getByName</method> com::sun::star::container::XNameAccess::getByName()
call. But the recommended way is to use XStorage call. But the recommended way is to use XStorage
interface for this purpose. interface for this purpose.
</p> </p>
...@@ -100,7 +100,7 @@ published interface XStorage ...@@ -100,7 +100,7 @@ published interface XStorage
<p> <p>
In case the stream is open in readonly mode the In case the stream is open in readonly mode the
<method scope="com::sun::star::io">XStream::getOutputStream</method> com::sun::star::io::XStream::getOutputStream()
method will return an empty reference. method will return an empty reference.
</p> </p>
...@@ -144,7 +144,7 @@ published interface XStorage ...@@ -144,7 +144,7 @@ published interface XStorage
<p> <p>
In case the stream is open in readonly mode the In case the stream is open in readonly mode the
<method scope="com::sun::star::io">XStream::getOutputStream</method> com::sun::star::io::XStream::getOutputStream()
method will return an empty reference. method will return an empty reference.
</p> </p>
...@@ -228,7 +228,7 @@ published interface XStorage ...@@ -228,7 +228,7 @@ published interface XStorage
<p> <p>
The stream is open in readonly mode so the The stream is open in readonly mode so the
<method scope="com::sun::star::io">XStream::getOutputStream</method> com::sun::star::io::XStream::getOutputStream()
method will return an empty reference. method will return an empty reference.
</p> </p>
...@@ -266,7 +266,7 @@ published interface XStorage ...@@ -266,7 +266,7 @@ published interface XStorage
<p> <p>
The stream is open in readonly mode so the The stream is open in readonly mode so the
<method scope="com::sun::star::io">XStream::getOutputStream</method> com::sun::star::io::XStream::getOutputStream()
method will return an empty reference. method will return an empty reference.
</p> </p>
......
...@@ -39,7 +39,7 @@ interface XStorage2 : XStorage ...@@ -39,7 +39,7 @@ interface XStorage2 : XStorage
<p> <p>
In case the stream is open in readonly mode the In case the stream is open in readonly mode the
<method scope="com::sun::star::io">XStream::getOutputStream</method> com::sun::star::io::XStream::getOutputStream()
method will return an empty reference. method will return an empty reference.
</p> </p>
...@@ -94,7 +94,7 @@ interface XStorage2 : XStorage ...@@ -94,7 +94,7 @@ interface XStorage2 : XStorage
<p> <p>
The stream is open in readonly mode so the The stream is open in readonly mode so the
<method scope="com::sun::star::io">XStream::getOutputStream</method> com::sun::star::io::XStream::getOutputStream()
method will return an empty reference. method will return an empty reference.
</p> </p>
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
service.</p> service.</p>
<p>In addition, this control can be used in HTML forms. It triggers the <p>In addition, this control can be used in HTML forms. It triggers the
<method scope="com::sun::star::form">XSubmit::submit</method> method of the form it belongs to if com::sun::star::form::XSubmit::submit() method of the form it belongs to if
the <em>enter</em> key is pressed while it has the focus.</p> the <em>enter</em> key is pressed while it has the focus.</p>
@see com::sun::star::awt::UnoControl @see com::sun::star::awt::UnoControl
......
...@@ -90,8 +90,8 @@ published service GridControl ...@@ -90,8 +90,8 @@ published service GridControl
/** used to control the selection of rows in the grid control. /** used to control the selection of rows in the grid control.
<p>The selection used with the methods <method scope="com::sun::star::view">XSelectionSupplier::getSelection</method> <p>The selection used with the methods com::sun::star::view::XSelectionSupplier::getSelection()
and <method scope="com::sun::star::view">XSelectionSupplier::select</method> is a sequence of Any's.<br/> and com::sun::star::view::XSelectionSupplier::select() is a sequence of Any's.<br/>
Here the elements of the Sequence are the bookmarks (in the com::sun::star::sdb::RowSet) Here the elements of the Sequence are the bookmarks (in the com::sun::star::sdb::RowSet)
of the (to-be-) selected rows.</p> of the (to-be-) selected rows.</p>
*/ */
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
service.</p> service.</p>
<p>In addition, this control can be used in HTML forms. It triggers the <p>In addition, this control can be used in HTML forms. It triggers the
<method scope="com::sun::star::form">XSubmit::submit</method> method of the form it belongs to if com::sun::star::form::XSubmit::submit() method of the form it belongs to if
the <em>enter</em> is pressed while it has the focus.</p> the <em>enter</em> is pressed while it has the focus.</p>
@see com::sun::star::awt::UnoControl @see com::sun::star::awt::UnoControl
......
...@@ -136,7 +136,7 @@ published interface XComponentLoader: com::sun::star::uno::XInterface ...@@ -136,7 +136,7 @@ published interface XComponentLoader: com::sun::star::uno::XInterface
A model that in general can be shared between several view/controller pairs, A model that in general can be shared between several view/controller pairs,
does not have an explicit owner. Every view and also the component that does not have an explicit owner. Every view and also the component that
loaded the document may consider itself as an owner. loaded the document may consider itself as an owner.
Simply calling <method scope="com::sun::star::lang">XComponent::dispose</method> on this model may Simply calling com::sun::star::lang::XComponent::dispose() on this model may
cause problems, if some members of the "owner community" are currently cause problems, if some members of the "owner community" are currently
busy working on the model. These problems are handled by explicit closing busy working on the model. These problems are handled by explicit closing
negotiations through the interface com::sun::star::util::XCloseable. negotiations through the interface com::sun::star::util::XCloseable.
......
...@@ -190,7 +190,7 @@ published interface XResourceBundle: com::sun::star::container::XNameAccess ...@@ -190,7 +190,7 @@ published interface XResourceBundle: com::sun::star::container::XNameAccess
/** contains the parent bundle of this bundle. /** contains the parent bundle of this bundle.
<p>The parent bundle is searched by the method <p>The parent bundle is searched by the method
<method scope="com::sun::star::container">XNameAccess::getByName</method> com::sun::star::container::XNameAccess::getByName()
when this bundle does not contain a particular resource. when this bundle does not contain a particular resource.
*/ */
[attribute] XResourceBundle Parent; [attribute] XResourceBundle Parent;
......
...@@ -146,11 +146,11 @@ published service DataSourceBrowser ...@@ -146,11 +146,11 @@ published service DataSourceBrowser
<p> <p>
With a data source browser implementing this interface, external components have access to With a data source browser implementing this interface, external components have access to
<ul><li>the grid control which is used to display the currently selected table/query <ul><li>the grid control which is used to display the currently selected table/query
(see <method scope="com::sun::star::awt">XTabController::getControls</method>) (see com::sun::star::awt::XTabController::getControls())
</li> </li>
<li>the data form used for displaying objects. As always for components implementing this service, <li>the data form used for displaying objects. As always for components implementing this service,
the object returned by the object returned by
<method scope="com::sun::star::awt">XTabController::getModel</method> is a dataform. com::sun::star::awt::XTabController::getModel() is a dataform.
</li> </li>
</ul> </ul>
</p> </p>
......
...@@ -53,13 +53,13 @@ ...@@ -53,13 +53,13 @@
When an object of a class implementing interface When an object of a class implementing interface
com::sun::star::sdbc::XSQLData com::sun::star::sdbc::XSQLData
is passed as an argument to a SQL statement, the JDBC driver calls is passed as an argument to a SQL statement, the JDBC driver calls
<method scope="com::sun::star::sdbc">SQLData::getSQLType</method> com::sun::star::sdbc::SQLData::getSQLType()
to determine the kind of SQL datum being passed to the database. to determine the kind of SQL datum being passed to the database.
<br/> <br/>
The driver then creates an instance of The driver then creates an instance of
<code>XSQLOutput</code> <code>XSQLOutput</code>
and passes it to the method and passes it to the method
<method scope="com::sun::star::sdbc">XSQLData::writeSQL</method> com::sun::star::sdbc::XSQLData::writeSQL()
. The method . The method
<code>writeSQL</code> <code>writeSQL</code>
in turn calls the appropriate in turn calls the appropriate
......
...@@ -850,7 +850,7 @@ published service Content ...@@ -850,7 +850,7 @@ published service Content
implement this. implement this.
<p><b>Important:</b> The implementation of <p><b>Important:</b> The implementation of
<method scope="com::sun::star::beans">XPropertyContainer::addProperty</method> com::sun::star::beans::XPropertyContainer::addProperty()
must at least support adding properties of the following basic data must at least support adding properties of the following basic data
types: types:
......
...@@ -30,9 +30,9 @@ module com { module sun { module star { module ucb { ...@@ -30,9 +30,9 @@ module com { module sun { module star { module ucb {
<p>Traditionally, this service implements <p>Traditionally, this service implements
com::sun::star::lang::XInitialization and needed to be com::sun::star::lang::XInitialization and needed to be
instantiated once with two arguments via instantiated once with two arguments via
<method scope="com::sun::star::lang">XMultiComponentFactory::createInstanceWithArgumentsAndContext</method> com::sun::star::lang::XMultiComponentFactory::createInstanceWithArgumentsAndContext()
for configuration before it could be obtained via plain for configuration before it could be obtained via plain
<method scope="com::sun::star::lang">XMultiComponentFactory::createInstanceWithContext</method>. com::sun::star::lang::XMultiComponentFactory::createInstanceWithContext().
<p>However, the only pair of initialization arguments used in practice is <p>However, the only pair of initialization arguments used in practice is
<code>"Local"</code>/<code>"Office"</code>, so this service is simplified <code>"Local"</code>/<code>"Office"</code>, so this service is simplified
...@@ -42,7 +42,7 @@ module com { module sun { module star { module ucb { ...@@ -42,7 +42,7 @@ module com { module sun { module star { module ucb {
<p>(For backwards compatibility, the service implementation still supports <p>(For backwards compatibility, the service implementation still supports
com::sun::star::lang::XInitialization and can still com::sun::star::lang::XInitialization and can still
explicitly be initialized via explicitly be initialized via
<method scope="com::sun::star::lang">XMultiComponentFactory::createInstanceWithArgumentsAndContext</method> com::sun::star::lang::XMultiComponentFactory::createInstanceWithArgumentsAndContext()
with two arguments of type string. These strings are used as a pair of keys with two arguments of type string. These strings are used as a pair of keys
to retrieve a set of content provider descriptions from the configuration to retrieve a set of content provider descriptions from the configuration
management (stored at management (stored at
...@@ -57,7 +57,7 @@ published service UniversalContentBroker : XUniversalContentBroker ...@@ -57,7 +57,7 @@ published service UniversalContentBroker : XUniversalContentBroker
<p>(This default constructor is only mentioned explicitly for technical <p>(This default constructor is only mentioned explicitly for technical
reasons, so that its implementation calls the service implementation's reasons, so that its implementation calls the service implementation's
<method scope="com::sun::star::lang">XInitialization::initialize</method>.) com::sun::star::lang::XInitialization::initialize().)
*/ */
create(); create();
}; };
......
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
</p> </p>
<p> <p>
If an event <method scope="com::sun::star::lang">XEventListener::disposing</method> If an event com::sun::star::lang::XEventListener::disposing()
occurred, nobody called <method>XCloseable::close</method> on listened object before. occurred, nobody called <method>XCloseable::close</method> on listened object before.
Then it's not allowed to break this request - it must be accepted! Then it's not allowed to break this request - it must be accepted!
</p> </p>
......
...@@ -36,7 +36,7 @@ module com { module sun { module star { module xml { ...@@ -36,7 +36,7 @@ module com { module sun { module star { module xml {
published service XMLExportFilter published service XMLExportFilter
{ {
/** An com.sun.star.xml.sax.XDocumentHandler needs to be passed to /** An com.sun.star.xml.sax.XDocumentHandler needs to be passed to
the <method scope="com::sun::star::lang">XInitialization::initialize</method> call. the com::sun::star::lang::XInitialization::initialize() call.
*/ */
service com::sun::star::document::ExportFilter; service com::sun::star::document::ExportFilter;
}; };
......
...@@ -69,7 +69,7 @@ published constants MethodConcept ...@@ -69,7 +69,7 @@ published constants MethodConcept
<code>create...Enumeration</code> and return an interface <code>create...Enumeration</code> and return an interface
that is derived from <type scope="com::sun::star::container"> that is derived from <type scope="com::sun::star::container">
XEnumeration</type> Additionally, the method XEnumeration</type> Additionally, the method
<method scope="com::sun::star::container">XEnumerationAccess::getElementType</method> com::sun::star::container::XEnumerationAccess::getElementType()
belongs to this concept.</p> belongs to this concept.</p>
*/ */
const long ENUMERATION = 8; const long ENUMERATION = 8;
...@@ -83,7 +83,7 @@ published constants MethodConcept ...@@ -83,7 +83,7 @@ published constants MethodConcept
<code>remove...ByName()</code>, <code>remove...ByName()</code>,
<code>has...ByName()</code>, or <code>has...ByName()</code>, or
<code>get...Names</code>. In addition, the method <code>get...Names</code>. In addition, the method
<method scope="com::sun::star::container">XEnumerationAccess::getElementType</method> com::sun::star::container::XEnumerationAccess::getElementType()
belongs to this concept. </p> belongs to this concept. </p>
*/ */
const long NAMECONTAINER = 16; const long NAMECONTAINER = 16;
......
...@@ -30,7 +30,7 @@ module com { module sun { module star { module bridge { module oleautomation ...@@ -30,7 +30,7 @@ module com { module sun { module star { module bridge { module oleautomation
<p> <p>
A COM object must have a ProgId since the ProgId is used as argument for A COM object must have a ProgId since the ProgId is used as argument for
<method scope="com::sun::star::lang">XMultiServiceFactory::createInstance</method>. com::sun::star::lang::XMultiServiceFactory::createInstance().
The only interfaces which are mapped are <code>IUnknown</code> and The only interfaces which are mapped are <code>IUnknown</code> and
<code>IDispatch</code>. The created UNO objects support <code>IDispatch</code>. The created UNO objects support
com::sun::star::script::XInvocation if the original COM com::sun::star::script::XInvocation if the original COM
...@@ -38,7 +38,7 @@ module com { module sun { module star { module bridge { module oleautomation ...@@ -38,7 +38,7 @@ module com { module sun { module star { module bridge { module oleautomation
</p> </p>
<p> <p>
The optional parameters of the method The optional parameters of the method
<method scope="com::sun::star::lang">XMultiServiceFactory::createInstanceWithArguments</method> com::sun::star::lang::XMultiServiceFactory::createInstanceWithArguments()
are reserved for future use; at this time they are ignored. are reserved for future use; at this time they are ignored.
</p> </p>
*/ */
......
...@@ -26,7 +26,7 @@ module com { module sun { module star { module bridge { module oleautomation ...@@ -26,7 +26,7 @@ module com { module sun { module star { module bridge { module oleautomation
<p> <p>
The Automation bridge accepts values of NamedArgument when a The Automation bridge accepts values of NamedArgument when a
call to an Automation object is made. The call is done through the call to an Automation object is made. The call is done through the
<method scope="com::sun::star::script">XInvocation::invoke</method> com::sun::star::script::XInvocation::invoke()
method, which takes all arguments in a sequence of anys. Usually the order method, which takes all arguments in a sequence of anys. Usually the order
of the arguments must correspond to the order of arguments in the Automation of the arguments must correspond to the order of arguments in the Automation
method. By using instances of NamedArgument the arguments in the method. By using instances of NamedArgument the arguments in the
......
...@@ -37,7 +37,7 @@ module com { module sun { module star { module lang { ...@@ -37,7 +37,7 @@ module com { module sun { module star { module lang {
<p> Because a <code>Locale</code> object is just an identifier for a <p> Because a <code>Locale</code> object is just an identifier for a
region, no validity check is performed. If you want to see whether region, no validity check is performed. If you want to see whether
particular resources are available for the <code>Locale</code>, use particular resources are available for the <code>Locale</code>, use
the <method scope="com::sun::star::resource">XLocale::getAvailableLocales</method> method to ask for the the com::sun::star::resource::XLocale::getAvailableLocales() method to ask for the
locales it supports.</p> locales it supports.</p>
<p> <strong>Note:</strong> When you ask for a resource for a <p> <strong>Note:</strong> When you ask for a resource for a
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment