[dev] How to extend a controller?

2007-11-26 Thread Schuster Gerhard
Hi dev,

how do I extend a controller?
Are there any public entry points where I can add my code?

For example, if I want to change the text document controller, so that
he only shows text of a special format, e.g. head lines, how would I
do that?

-- 
Liebe Grüße / Best regards
Schuster Gerhard
mailto:[EMAIL PROTECTED]

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



[dev] Mouse motion interception in Writer

2007-11-26 Thread Schuster Gerhard
Hi there,

here
http://api.openoffice.org/servlets/ReadMsg?msgId=341854&listName=dev I
learned that it will not work if I register a MouseMotionListener with
the ContainerWindow.

So here my questions:
- How do I get a refference to the top most child window in order to set
the listener?
- Is there a possibility to get refferences to all child windows of
a given parent window?


-- 
Liebe Grüße / Best regards
Schuster Gerhard
mailto:[EMAIL PROTECTED]

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



[dev] 13 days delay in mail delivery

2007-11-19 Thread Schuster Gerhard
Hi guys,

I'm new. Forgive me if this is a questions others have already asked.
I've subscribed to [EMAIL PROTECTED]
I understand I shall post to dev@openoffice.org, right?


I've posted my request "uno-skeletonmaker internal UNO problem,
can't create local type description provider"  13 days ago.

It is in the [EMAIL PROTECTED] mailinglist of today.

I experiance the same behaviour with
[EMAIL PROTECTED] as well.

What does this delay mean and how can I avoid it?

Gerhard


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



[dev] Context menu interception

2007-11-10 Thread Schuster Gerhard
Hi all,

I'm struggling with context menu interception and would apreciate
your help.

This are my questions:
a) In OO-Writer the context menu "Font" has a sub menu and an icon, but
the properties of the context menu "Font" are this:
Property name = >CommandURL< Value= >.uno:CharFontName<
Property name = >HelpURL<
Property name = >Image<  Value= 
>Any[Type[com.sun.star.awt.XBitmap], null]<
Property name = >SubContainer<   Value= >null<
Property name = >Text<   Value= >Font<

i.e. there is no SubContainer and no Image specified.
So there must be another mechanism to specify context menues but
the XPropertySet. Where is that documented?

b) I've noticed that the context menu of OO-Writer contains items hat are not 
visible.
In chapter 4.7.5 of the develoipers guide I read:
"It is possible to accomplish certain tasks without implementing code in a 
context menu interceptor,
such as preventing a context menu from being activated. Normally, a context 
menu is changed to
provide additional functions to the user."
My question is:
b.1) What are this certain tasks?
b.2) How are this tasks performed, such as preventing a context menu
from being activated?

c) When I introduce my own context menu items they work fine until I
add a CommandURL. Once I've add a CommandURL the item gets disabled.
Here is the item:
Property name = >CommandURL< Value= >BlaFasel:12346<
Property name = >HelpURL<
Property name = >Image<  Value= 
>Any[Type[com.sun.star.awt.XBitmap], null]<
Property name = >SubContainer<   Value= >null<
Property name = >Text<   Value= >Next entry<

I've installed a XDispatchProviderInterceptor for BlaFasel:*, which
prints out "* url complete: BlaFasel:12346... works!" in its
queryDispatch method whenever the context menu is opened, but the
menu item is still not visible.

My question is: How do I implement a context menu item and stick my
own callback to it so that the item is still visible.

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



[dev] uno-skeletonmaker internal UNO problem, can't create local type description provider

2007-11-05 Thread Schuster Gerhard
Hi there,

I'm using OpenOffice 2.3.0 plus the SDK 2.3.0

uno-skeletonmaker reports "internal UNO problem, can't create
local type description provider"

It has to be a problem with my environment or setup.
Some time ago I solved the problem by uninstalling and reinstalling
OpenOffice and the SDK.

This does not help this time.

Who can help?



-- 
Liebe Grüße / Best regards
Schuster Gerhard
mailto:[EMAIL PROTECTED]

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



[dev] Question: How to add formatID to OpenOfficeWriter?

2007-10-09 Thread Schuster Gerhard
Hi developers,


I'm Gerhard from www.00easytracker.org.
I want to use OpenOffice as core for a new requirements engeneering
software. (You'll find a dessign scetch of the project here:
http://www.ooeasytracker.org/tikiwiki/tiki-read_article.php?articleId=7)


Therfore I would like to know how to add formatID to
OpenOffice text.
This formatID shall be the means to link information snippets.
So if the user finds a piece of information in a OpenOffice
document, he can attach an unique ID to this section and with this ID
he can link it to another piece of information within the same
or another document.


Here the detailed requirements:

1) I want to be able to select a piece of text within OpenOfficeWriter
and attach an invisible formatID to it.
2) This formatID shall not show its self in OpenOfficeWriter but be
present in the documents ODF file.
3) It shall be possible to assign different formatID's to overlapping text
sections.
4) It shall be possible to assign a formatID to a subsection of text
that has already a formatID
5) It shall be possible to search for text that has this formatID
6) The formatID shall be a alphanumeric string with white spaces
7) The new function does not show its self to the user in OpenOffice but it will
be called by the java application that embeddes the OpenOffice
document
8) I want to code in Java, if possible and I want to use the UNO bridge
9) The new feature shall be a plugin to OpenOffice and it shall not be
necessary to build a new OpenOffice every time a new version gets
released


I could use the hyperlink format as a workarround.
I would only use the Name field and leave the URL field empty.
But this solution does not fullfill requirement 4,5 and 5.
There are workarrounds for that too, which might work fine with
short documents, but probbably not with long ones.


Is there anybody arround who is able and willing to help?

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