Hi Rony,
A shutdown ought not be necessary, at least not for components, Basic
scripts, type libraries etc. UI configuration may be problematic,
because not all instances inside a running OOo process react on
configuration changes.
A restart is not necessary for user interface changes
Paolo Lacatena wrote:
Hi,
I want add a menu to a window. In Developer's Guide 2.0 I read that
XTopWindow interface has a method setMenuBar() but this is not usable at
this time because XMenuBar interface is deprecated. However, on IDL
reference XMenuBar is not signed as deprecated.
Can I use
[EMAIL PROTECTED] wrote:
How? Does anyone have an example that sets accelerators?
Hi Jorge,
here is a little Basic example on how to set accelerators.
REM * BASIC *
REM *** Example to set a keyboard shortcut with the new ui
configuration API
Sub Main
REM *** Initialize
Hi Felix,
you have to do the following:
1. Create a folder in Office installation/share/config/soffice.cfg
2. Copy your XML files (f.e. writermenubar.xml) to the folder.
3. Add the following XML snippet to Office
installation/share/registry/data/org/openoffice/Office/Common.xcu
...
node
Felix E. Klee wrote:
Am Montag, 30. Januar 2006 13:16 schrieb Carsten Driesner:
you have to do the following:
Thanks for the quick reply. I do have a couple of questions left:
1. What do you mean by Office installation? Is it the system wide
installation (e.g. /opt/OpenOffice.org1.1.4
Jérémy Bethmont wrote:
Hello,
I'm trying to create a docking window inside OpenOffice (2.0.1) like
the Gallery or the Media Player in the tools menu.
I try to achieve this but i cannot find any documentation or snippet
code about this.
I can create a dockingwindow and i think i have to create
Tobias Krais wrote:
Hi Carsten,
sounds very good. At the moment I am reading your document
http://specs.openoffice.org/ui_in_general/api/ProgrammaticControlOfMenuAndToolbarItems.sxw
You are right that examples are missing. The most important task of the
document is to describe the design
Tobias Krais wrote:
Hi ML,
in Java I try to get access to the file menu during runtime. Now I am
able to create a new menu, but I don't get access the file menu to be
able to change it, see comments
-%-
com.sun.star.ui.XUIElement myMenubar =
Tobias Krais wrote:
Hi Carsten,
please allow me a more detailed question.
-%-
PropertyValue[] oDateiMenuSettings = (PropertyValue[])
UnoRuntime.queryInterface(PropertyValue[].class,
oMenuBarSettings.getByIndex(0));
-%-
I have now as you adviced a
Hi Tobias,
The problem is that I am a newbie. I'm doing this stuff since 2-3 weeks...
Ok, now I see. I wasn't aware that you're a newbie.
That gave me the hint. Here the steps:
-%-
PropertyValue[] oDateiMenuSettings = (PropertyValue[])
Tobias Krais wrote:
Hi Carsten,
your ideas made me think...
Applying all your ideas the code looks like this. I think it will be useful:
Hi Tobias,
I have two more comments to your code.
-%-
com.sun.star.frame.XDesktop xDesktop =
(com.sun.star.frame.XDesktop)
Tobias Krais wrote:
Hi together,
again a question from me... I want to rename a menu entry, e.g. the
entry Save as... to Secure Copy. Please see the code below (esp. the
comment).
after calling this routine I apply the changes to the root container.
Do I miss something? Is this a bug or
Tobias Krais wrote:
Once again hi to all,
my next task is to remove and add some keyboard shortcuts to an
OpenOffice... I looked up the Dev-Guide but it does not tell much about
keybord shortcuts.
Is it possible to manage the keyboard shortcuts via Java? If yes, where
can I start? Can you help
Tobias Krais wrote:
Hi Carsten
thanks for the hint. Since some days I read and try these chapters. If I
understand right, to make such changes transient I have to disble the
menu items, toolbar icons and shortcut keys transient concerning this
special commandurl. And I have to hope that a user
Tim Tow wrote:
I put in some messageboxes to see when queryDispatch is called (and to see
any exceptions thrown). It appears the queryDispatch method doesn't get
called until I hit my custom menu (and those items are initialized). I was
expecting them to be called on application startup
Bart Aimar wrote:
Hi,
I need some help to modify the code below for set the shortcut in Calc
document.
I try to change the line:
oModuleCfgMgr =_
oModuleCfgMgrSupplier.getUIConfigurationManager(com.sun.star.text.TextDocument
)
to
oModuleCfgMgr =_
Tuomas Räsänen wrote:
Hi,
I've been trying to find out how to hide UIElements in frames and come
to a conclusion that the XLayoutManager interface is the key. Am I right?
Alas, I haven't figured out how to do it properly. Following piece of
code doesn't work. What should I do differently?
[EMAIL PROTECTED] wrote:
Hi, all!
It seems to be new behaviour in OOo 2.0 that when a new toolbar group is added
(by means of a .xcu) it appears floating by default so the user is free and
encouraged to place it wherever they see fit. I myself find this great, but I
have a client that find it
Laurent Godard wrote:
Hi Carsten
Again, I don't know what you mean with a toolbar group. There is a set
of default configuration properties for a toolbar. One of the
properties controls the docking state, but you can only change the
default for every toolbar.
i think the question is
- i
[EMAIL PROTECTED] wrote:
Thanks, Carsten!
Selon Carsten Driesner [EMAIL PROTECTED]:
Currently I only have a hard way to get this done. If you really need
it, just tell me and I can give you a description.
So you mean it's possible after all? If so, please just give a brief outline
and give feedback. I hope that at least most of the controls
can be ready for OOo 2.0.3.
Regards,
Carsten Driesner
Technical paper URL:
http://framework.openoffice.org/files/documents/25/3310/file_3310.dat?filename=Technical%20concept%20paper%20%2d%20Generic%20and%20easy%20to%20use%20complex
Paolo Mantovani wrote:
Hi Carsten,
This is really great, but I've just one question:
In your tecnical specification I read:
Every add-on which wants to support a toolbar must be a dispatch provider.
Therefore one communication protocol for the new controls will be the normal
duo
Paolo Mantovani wrote:
Alle 09:44, giovedì 20 aprile 2006, Carsten Driesner ha scritto:
[...]
Hi Paolo,
I see your point and want to discuss your proposal with the scripting
developer. I will add more information after this discussion.
Great! thank you!
Currently I see some problems
Tim Tow wrote:
In my Essbase addon, I have a custom toolbar that now works properly.
However, if the users undocks the toolbar and drags it down into it's own
window. The title bar on the resultant window is 'Add-on 1'. Is there a
way I can customize that title bar to say 'Essbase'?
I didn't
Didier Dorange-Pattoret wrote:
Hello Tim,
I hope that this code will work for you ... :-)
The user have to restart OOo, included quickstarter.
oConfigAccess = GetConfigAccess(
/org.openoffice.Office.UI.WriterWindowState/UIElements/States, True )
If oConfigAccess.HasByName(
Tim Tow wrote:
I have a custom toolbar in my add-in for Calc and have specified the context
for the toolbar buttons, however, some of my customers have reported the
toolbar itself is showing up in Impress and Draw with no buttons. Is it
possible to add a context property to the toolbar itself
Hi all,
I have just finished the technical specification for Easy to use
complex toolbar controls for add-ons. The latest OpenOffice.org
developer build (SRC680m168) includes most of the specified controls.
All missing controls will be part of OOo 2.0.4. I also created a demo
add-on which
Madhan Ponnusamy wrote:
hai,
I had added menus and submenus in openoffice impress now i want to add
action event to those submenus i.e) if the user click the submenu a java
class file should be called. How to do this?
Hi Madhan,
You need to implement a protcol handler for your commands which
Madhan Ponnusamy wrote:
Hi Carsten,
Thank u...i had already searched in the code snippetbase but i cannot find
the solution. any way now i got a doubt in macros. I had created menus
programtically and i tried to link the menus to macros by the code
PropertyValue[] oMenuItem = CreateMenuItem(
Madhan Ponnusamy wrote:
Hi Madhan,
Hi Carsten,
As u told i am now trying to develop the menus using addons and protocol
handlers.
That's sounds good. Normally this is the best way to add your own menu
items which should call your code.
can u tell me this flow is corret or not
Addons(creating
Jimmy wrote:
2.) How can I gray-out and enable commands at runtime? I got my
DispatchInterceptor to gray out commands when initiated but how can I
change the behaviour at runtime? Do I have to write more than one
DispatchProviderInterceptor and release and register them all the time
depending
Harald Weyhing wrote:
Hi everybody,
I need to disable or better remove the small x like icon on the upper
right. I tried to intercept .uno.CloseDoc, but this will only intercepts
Ctrl-W, but not when you click the x.
I am using OOo 2.0.3 and OOoBean.
Any help would be greatly appreciated.
it?
If so I'd have to build up a container that holds the corresponding
Listeners for a specific Dispatch object, right?
Hi Jimmy,
Yes that's the clue. The dispatch object must maintain a container for
all listeners (see first line in DispatchObject::addStatusListener in my
pseudo code).
Carsten
Fernand Vanrie wrote:
This same question landed in a wrong thread so i repeat:
Can a Document based custom_toolbar be copied or moved by the API, using
a basic macro ?
Hi Fernand,
Yes it's possible to do it using the ui configuration manager API.
Please have a look the following Basic
Knut Olav Bøhmer wrote:
Hi,
Is it possible to save toolbars an buttons dynamical created from a basic
macro, in a document?
Hi Knut,
Yes it's possible to do it using the UI configuration manager API. I
have just answered a question how someone can copy toolbars from one
document to another
Julien Galand wrote:
Hi everybody,
I have written an add-on which inserts its menu in the OfficeMenuBar
as a top-level menu.
Instead of using a .xcu installed with the add-on package, it creates
and inserts its menu dynamically, using the com.sun.star.configuration
module to modify OO's
Christoph Jopp wrote:
Hi Carsten,
you wrote:
You can use the layout manager from the frame to destroy and create
the menu bar again. The current implementation doesn't listen to
changes in the Addon.xcu file.
The current implementation does it not. Will there be an upcoming
implementation in
Christoph Jopp wrote:
Hi Carsten,
thank you for the information.
Just thought that the 'package registry' is somehow merged into the
'office registry' and so extensions could profit of the same
updates/refreshing as the 'office'.
Although I'm not sure, if the 'office' has such a update/refresh
Julien Galand wrote:
Le 13 oct. 06, à 16:54, Carsten Driesner a écrit :
Although this is a possible way to implement your add-on it looks a
bit strange and has a drawback you should consider. If the user choose
to uninstall your add-on all the changes you did programmatically
Julien Galand wrote:
Le 16 oct. 06, à 13:38, Carsten Driesner a écrit :
I checked my code and it works without any problem. OpenOffice.org
internally uses the same mechanism, if you customize the menubar with
Tools-Customize. Please check if you use the correct frame to
destroy/create
Jimmy wrote:
I tried to set the title of my Writer addon Toolbar (OfficeToolBar) but
can't get it to display the new one instead of Add-On 1. The xcu's are
in my zip file which installs without an error message.
--
My WriterWindowState.xcu
Julien Galand wrote:
Le 17 oct. 06, à 17:02, Carsten Driesner a écrit :
You're right that these APIs are not well documented, only the IDL
files have comments. That's one reason why they are currently not
published. We want to finalize them for OpenOffice.org 2.2 (a formal
process
Julien Galand wrote:
Le 18 oct. 06, à 14:46, Carsten Driesner a écrit :
I think you should use the API to set your keyboard shortcut. Just
have a look the a the following code snippet how to do it:
http://codesnippets.services.openoffice.org/Office/Office.ManagingKeyboardShortcuts.snip
Bart Aimar wrote:
Paolo Mantovani ha scritto:
Hi Bart,
Ciao Paolo,
It works for me.
It adds a new item named Standard.Module1.Test under the File menu
of the current document.
I am a stupid man... :-(
I espected a NEW Menu...
In seek to decipher the code, I have not read the first
Julien Galand wrote:
Le 19 oct. 06, à 14:52, Carsten Driesner a écrit :
Julien Galand wrote:
Thanks for this link.
I had tried this previously and it didn't work, but I think I have
now found the cause (there is apparently a bug in the C++ UNO binding
about the awt::KeyEvent structure
Knut Olav Bøhmer wrote:
So I undersdand that I have to set the style = ICON, But i don't
understand where the icon comes from.
from the pragramatic toolbar spesification (
http://specs.openoffice.org/ui_in_general/api/ProgrammaticControlOfMenuAndToolbarItems.sxw)
it says that you have to add
Julien Galand wrote:
Hi everybody,
I would like to register a protocol handler of my add-on dynamically,
that is, without modifying the
/org.openoffice.Office.ProtocolHandler/HandlerSet node of the OO user
configuration file (whether by a .xcu or by using the configuration API).
This way
Knut Olav Bøhmer wrote:
On 10/24/06, Carsten Driesner [EMAIL PROTECTED] wrote:
cut
Function CreateToolbarItem( Command as String, Label as String ) as Variant
Dim aToolbarItem(3) ' as new com.sun.star.beans.PropertyValue
// The command you want to be dispatched if the user presses
Knut Olav Bøhmer wrote:
On 10/25/06, Carsten Driesner [EMAIL PROTECTED] wrote:
Knut Olav Bøhmer wrote:
On 10/24/06, Carsten Driesner [EMAIL PROTECTED] wrote:
cut
Function CreateToolbarItem( Command as String, Label as String ) as
Variant
Dim aToolbarItem(3) ' as new
Julien Galand wrote:
Carsten Driesner a écrit :
Julien Galand wrote:
Hi Carsten,
I have spent several hours to boil down the phenomenon.
From my tests, I have concluded that this display connection of
the shortcut with its menu line doesn't work when the menu line is in
a submenu (i.e
Knut Olav Bøhmer wrote:
On 10/25/06, Carsten Driesner [EMAIL PROTECTED] wrote:
I'm not sure what you mean by reproduce the problem with Basic URL. I
don't
understand how to add an image to the toolbar I created through the API
(I
use StarBasic). So the problem is the documentation (maybe
Julien Galand wrote:
Le 27 oct. 06, à 08:12, Carsten Driesner a écrit :
I wasn't able to run your example as I need a dedicated machine for
testing. Currently I only have remote access (with and therefore
cannot use a normal Office installation. That's why the script cannot
create
Julien Galand wrote:
Hi to all,
My add-on has a toolbar created by a .xcu file, with the right protocol
handler declared (as a node
org.openoffice.Office.ProtocolHandler/HandlerSet of the configuration
file).
But there is no component registration in the package; in particular no
Knut Olav Bøhmer wrote:
How can I make a toolbar that contains a drop down box or any other
dialog component?
Hi Knut,
You can find more information how to do it on the framework wiki page:
http://wiki.services.openoffice.org/wiki/Framework
An article which describes how to create complex
Julien Galand wrote:
Le 3 nov. 06, à 09:59, Carsten Driesner a écrit :
Julien Galand wrote:
Hi to all,
My add-on has a toolbar created by a .xcu file, with the right
protocol handler declared (as a node
org.openoffice.Office.ProtocolHandler/HandlerSet of the
configuration file
Julien Galand wrote:
Hi to all,
I have a menu on which some keyboard shortcuts have been set through
ui::XAcceleratorConfiguration.
When a shortcut is set with the same command URL of an existing menu
line, OO automatically displays the shortcut on the menu line (or
should; a bug prevents
Knut Olav Bøhmer wrote:
On 11/6/06, Carsten Driesner [EMAIL PROTECTED] wrote:
Knut Olav Bøhmer wrote:
How can I make a toolbar that contains a drop down box or any other
dialog component?
Hi Knut,
You can find more information how to do it on the framework wiki page:
http
Knut Olav Bøhmer wrote:
On 11/6/06, Carsten Driesner [EMAIL PROTECTED] wrote:
Knut Olav Bøhmer wrote:
How can I make a toolbar that contains a drop down box or any other
dialog component?
Hi Knut,
You can find more information how to do it on the framework wiki page:
http
Knut Olav Bøhmer wrote:
On 11/6/06, Carsten Driesner [EMAIL PROTECTED] wrote:
Knut Olav Bøhmer wrote:
How can I make a toolbar that contains a drop down box or any other
dialog component?
Hi Knut,
You can find more information how to do it on the framework wiki page:
http
Jimmy wrote:
How can I dispatch a macro Url from my Java Add-on?
I'd like to dispatch the following function in the Tools/ModuleControles
Library:
StoreDocument(oDocument as Object, FilterNames() as String, DefaultName
as String, DisplayDirectory as String, Optional iAddProcedure as
);
URL aURL = URL[0];
dispatch(aURL, propertyvalue);
Carsten Driesner schrieb:
Jimmy wrote:
How can I dispatch a macro Url from my Java Add-on?
I'd like to dispatch the following function in the
Tools/ModuleControles Library:
StoreDocument(oDocument
);
URL aURL = URL[0];
dispatch(aURL, propertyvalue);
Carsten Driesner schrieb:
Jimmy wrote:
How can I dispatch a macro Url from my Java Add-on?
I'd like to dispatch the following function in the
Tools/ModuleControles Library:
StoreDocument(oDocument
Alamo Vallejo, Joan wrote:
That's it... Does anyone know how to disable the File / New Menu?
Hi Joan,
Could please be more specific. Do you want to remove the File - New
menu? Just disable the File - New menu entry, so nobody can open the
sub-menu? Or do you want to remove the entries in
Alamo Vallejo, Joan wrote:
Hi Carsten,
I want to remove them... I didn't have time to prove Tobias solution yet
(yes, it was java ;) )
I'll let you know if it works
Hi Joan,
Ok, here is a very simple solution to remove the sub-menu from File -
New. Just save the following snippet into a
Alamo Vallejo, Joan wrote:
I finally found the New label in the Controller.xcu, it's called
addDirect. Now I have to look for some other ones (Templates and Send)
Hi Joan,
Please be aware that not all sub-menus are created/controlled by popup
menu controllers. There are static sub-menus
Tobias Krais wrote:
Hi Laurant,
i personally use that
prop oor:name=ImageIdentifier oor:type=xs:string
value%origin%/icons/myImage/value
/prop
and provide the four bmp files : myImage_16.bmp, _26.bmp, _16h.bmp and
_26h.bmp
OK. Below the relevant part of my Addons.xcu. I only
/wiki/Framework/Tutorial/Popup_Menu_Controller
Regards,
Carsten
--
Carsten Driesner (cd) - Project Lead OpenOffice.org Framework
Framework wiki: http://wiki.services.openoffice.org/wiki/Framework
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Robert Vojta wrote:
On 12/7/06, Carsten Driesner [EMAIL PROTECTED] wrote:
Hi Carsten,
I want to inform you that I've started a new tutorial series which wants
to describe several user interface features provided by the framework
project.
this is wonderful, more tutorials like this one. I
Juergen Schmidt wrote:
Robert Vojta wrote:
On 12/7/06, Carsten Driesner [EMAIL PROTECTED] wrote:
Hi Carsten,
I want to inform you that I've started a new tutorial series which wants
to describe several user interface features provided by the framework
project.
this is wonderful, more
).Name = Type
aToolbarItem(2).Value = 0
aToolbarItem(3).Name = Visible
aToolbarItem(3).Value = true
CreateToolbarItem = aToolbarItem()
End Function
Sub Test
MsgBox Test
End Sub
Regards,
Carsten
--
Carsten Driesner (cd) - Project Lead OpenOffice.org
Andrew Douglas Pitonyak wrote:
I have been documenting all of this...
I must remove the window state using configuration access. sigh
Hi Andrew,
On the first look this may seem to be complicated, but we chose to use
two different configurations to store different aspects of a toolbar.
The
Peter Eberlein wrote:
Hi,
Carsten showed an example of inserting a toolbar with StarBasic.
If it is extended with a graphic, the UI has the possibilities to show
icon, text or icon and text.
How to handle this with api?
Hi Peter,
Every toolbar consist of two different parts:
1. Content
Peter Eberlein wrote:
Hi Carsten,
thanks for your fast answer and the example.
Carsten Driesner schrieb:
...
2. Can be accessed via the window state configuration. You have to
create the service com.sun.star.ui.WindowStateConfiguration and
retrieve the window states for a specific module
Peter Eberlein wrote:
Hi Carsten,
Carsten Driesner schrieb:
That's the drawback of the current solution and not possible. You can
set a title for the document toolbar, but nothing more. The users have
to change the settings via Tools - Options themselves.
Hi Peter,
You meant tools
Andrew Douglas Pitonyak wrote:
Carsten Driesner wrote:
Andrew Douglas Pitonyak wrote:
I have been documenting all of this...
I must remove the window state using configuration access. sigh
Hi Andrew,
On the first look this may seem to be complicated, but we chose to use
two different
. ?,,' ',...) if you use them
in your arguments.
command?arg1:type1=value2arg2:type2=value2
.uno:Open?FileName:string=file:///home/test/test.odt
Regards,
Carsten
--
Carsten Driesner (cd) - Project Lead OpenOffice.org Framework
Framework wiki: http://wiki.services.openoffice.org/wiki/Framework
OpenOffice.org
my ProtocolHandler.xcu?
No.
Regards,
Carsten
--
Carsten Driesner (cd) - Project Lead OpenOffice.org Framework
Framework wiki: http://wiki.services.openoffice.org/wiki/Framework
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
will be an enhanced version of the recent
file menu.
http://wiki.services.openoffice.org/wiki/Framework/Tutorial/Popup_Menu_Controller
Kind Regards,
Carsten
--
Carsten Driesner (cd) - Project Lead OpenOffice.org Framework
Framework wiki: http://wiki.services.openoffice.org/wiki/Framework
OpenOffice.org
and the
status bar environment. I also think about adding support for some
generic status bar controller (like the complex toolbar controller). We
shifted these ideas because until now nobody asked us for a better
status bar support.
Regards,
Carsten
--
Carsten Driesner (cd) - Project Lead
team (component gsl).
Regards,
Carsten
--
Carsten Driesner (cd) - Project Lead OpenOffice.org Framework
Framework wiki: http://wiki.services.openoffice.org/wiki/Framework
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
), but I have to be careful as this can create
negative performance issues.
Regards,
Carsten
--
Carsten Driesner (cd) - Project Lead OpenOffice.org Framework
Framework wiki: http://wiki.services.openoffice.org/wiki/Framework
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
), but I have to be careful as this can create
negative performance issues.
Regards,
Carsten
--
Carsten Driesner (cd) - Project Lead OpenOffice.org Framework
Framework wiki: http://wiki.services.openoffice.org/wiki/Framework
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
. The
framework code just asks your ProtocolHandler to handle the URL, so your
code is responsible to parse the URL for optional arguments. It looks
like that your implementation cannot handle the additional arguments.
Regards,
Carsten
--
Carsten Driesner (cd) - Project Lead OpenOffice.org
. Look at the
following Basic example which associate an image for a Basic macro.
Regards,
Carsten
--
Carsten Driesner (cd) - Project Lead OpenOffice.org Framework
Framework wiki: http://wiki.services.openoffice.org/wiki/Framework
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
space this offering will only be available for one
week. For download links see the attached html file.
Regards,
Carsten
--
Carsten Driesner (cd) - Project Lead OpenOffice.org Framework
Framework wiki: http://wiki.services.openoffice.org/wiki/Framework
OpenOffice.org Engineering at Sun: http
right that your images are also part of your extension?
Regards,
Carsten
--
Carsten Driesner (cd) - Project Lead OpenOffice.org Framework
Framework wiki: http://wiki.services.openoffice.org/wiki/Framework
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
you more information.
Regards,
Carsten
--
Carsten Driesner (cd) - Project Lead OpenOffice.org Framework
Framework wiki: http://wiki.services.openoffice.org/wiki/Framework
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
oor:op=replace
prop oor:name=Command
valueConfigureDialog/value
/prop
/node
/node
/node
/oor:component-data
Regards,
Carsten
--
Carsten Driesner (cd) - Project Lead OpenOffice.org Framework
Framework wiki: http://wiki.services.openoffice.org/wiki/Framework
Cor Nouws schrieb:
Carsten Driesner wrote:
You can remove the little arrow button with the help of Disable
Commands feature. Just copy the following configuration file snippet
into [...]
Thanks Carsten!
One more question: should I have been able to find that info somewhere?
Hi Cor,
I
Fernand Vanrie wrote:
i have a project where i zoom in an out images presented is a OO-dialog
using tha API and OO basic
when the Iamge-sizes become to big to fit in the dialog, i have to
rezise constantly he dialog
but the Gui is puting the resised dialog everytime in the middle of
miy screen
possible that the application code doesn't
work correctly if you call it in a situation where the command is
normally disabled.
You can find more information about dispatch interception in the
Developer's Guide.
Regards,
Carsten
--
Carsten Driesner (cd) - Project Lead OpenOffice.org Framework
Oliver Brinzing wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
I have a problem unregistering my XDispatchProviderInterceptor:
I a user selects a special named sheet, i register a
XDispatchProviderInterceptor
to disable some menu/toolbar commands temporary. This works fine.
But if
Oliver Brinzing wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Carsten,
done :-)
Hi Oliver,
I am sorry but I haven't received any e-mail from you. Could you please
send it again.
Regards,
Carsten
-
To
Oliver Brinzing wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Carsten,
ok, i will send it again ...
did you get the source code ?
Hi Oliver,
Yes, I got your source code. Please give me some time as we are now
short before code freeze (Thursday) and there are some important
Ariel Constenla-Haile wrote:
Hello people,
I was looking in the API and couldn't find any way to get the colors
that the system actually uses.
I think it is useful when performing custom painting to have an API just
like java.awt.SystemColor
Dietmar Hiller wrote:
Hi,
I am investigating in using the complex toolbars for my extension
BorderLiner. I know of the following sites
http://wiki.services.openoffice.org/wiki/Framework/Article/Generic_UNO_Interfaces_for_complex_toolbar_controls,
Tobias Krais wrote:
Hi together,
one year ago I implemented some additional menu items for OOo menus in
Java. I added these items transient. But now we discovered that they are
too transient for us: when opening a document, the menu items are added.
When changing the document into Page view
Tobias Krais wrote:
Hi again,
I think the COMPONENT_REATTACHED is the proper place to change the menus
again.
well, this is not the right place to redo the changes: at the time this
event is fired, I cannot retrieve the menubar, it is null. When changing
to the page view I can perform the
Jordi Sanchez wrote:
Thanks for your quick reply.
Meanwhile I was investigating a little bit and I realised that the ODF
documents are able to store a set of custom settings per document. If I
unzip, (for instance), a writer document we can see the following structure:
(I customized the
Ariel Constenla-Haile schrieb:
Hi people,
FIRST of all, I would like to thank the one who wrote the code of the
GUI examples on the new SDK
(OpenOffice.org_2.3_SDK/examples/DevelopersGuide/GUI): it answers some
questions I had for a long time! Thanks hr (I don't know your real name!)!
Hi
1 - 100 of 162 matches
Mail list logo