Stephan Bergmann wrote:
Andre, all,

Just skimming through the idls:

- BasicPaneFactory has "{}" so that it has no constructors, not even an implicit one. Is that intended?

This service is instantiated implicitly: There is a list in the configuration that specifies a relation of resources that can be created by the factory to the factory itself. The factory is created only when one of these resources is requested. Using an explicit constructor in this scenario does not seem to have any advantages. Is that wrong?


- The use of the term "URL" and the URL-like syntax of "private:resource" (do all those identifiers start with that prefix, or are other URL schemas also supported?), and the mismatch of "URL" and "xPaneId" in XPaneFactory.createPane, look odd to me.

This looks like a two-part remark of which I do not understand the first part. Can you explain it?

As to the second part: the documentation is out of date. I did forget to adapt it to the URL being replaced by an XResourceId (which is basically a collection of URLs.) I will change that.


-Stephan


Regards,
Andre


[EMAIL PROTECTED] wrote:

          Type: recommended
         Title: Introduction of drawing framework API
     Posted by: [EMAIL PROTECTED]
      Affected: sd
Effective from: CWS components1


*Summary*
--------
New API for the drawing framework in new namespace ::com::sun::star::drawing::framework

*Description*
-------------
The framework of the Draw and Impress applications has been rewritten
and can now be controlled via the API.

Extensive documentation can be found in the in the OpenOffice.org wiki
at http://wiki.services.openoffice.org/wiki/Drawing_framework as well
as in the IDL files (see below for a list).  A starting point for
looking into the IDL files is modules.idl in com::sun::star::drawing
and ::com::sun::star::drawing::framework::XConfigurationController.idl.

In the new namespace ::com::sun::star::drawing::framework there are
following new structures, services, and interfaces:

New structs:
+AnchorBindingMode
+ConfigurationChangeEvent
+ResourceActivationMode

New services:
+BasicPaneFactory
+BasicToolBarFactory
+BasicViewFactory
+ConfigurationController
+ModuleController
+PaneController
+ResourceId
+TabBarButton
+ViewController

New interfaces:
+XCommandController
+XConfiguration
+XConfigurationChangeListener
+XConfigurationChangeRequest
+XConfigurationController
+XConfigurationControllerBroadcaster
+XConfigurationControllerRequestQueue
+XControllerManager
+XModuleController
+XPane
+XPaneController
+XPaneFactory
+XRelocatableResource
+XResource
+XResourceController
+XResourceId
+XTabBar
+XToolBar
+XToolbarController
+XToolBarFactory
+XView
+XViewController
+XViewFactory

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to