Hello,
maybe it's just me, but the first line looks rather un-UNO-like:
XModel xModel = (XModel) xTextDocument;
I'd expect a UnoRuntime.queryInterface() construct here.
I'm just nitpicking, this is probably not bug-related anyway.
-Steffen
to the use of only a servername ?
Thanks
Fernand
-
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org
--
Steffen Grund steffen.gr...@sun.com Sun
-
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org
--
Steffen Grund steffen.gr...@sun.com Sun Microsystems
Software Engineer - StarOffice Nagelsweg 55
Phone: +49 40 23646 647
Hello Jörg,
when I change browserobjectbar to standardbar, your Addons.xcu
works. It seems that browserobjectbar is not valid anymore, but I am
not familiar with it, so I am at a loss there.
Where in the UI can you activate that toolbar?
HTH, Steffen
Jörg Schmidt wrote:
Hello,
in an
Thank you, I will look into this.
Steffen
Александр Анисимов wrote:
2009/8/5 Juergen Schmidt juergen.schm...@sun.com
mailto:juergen.schm...@sun.com
Juergen Schmidt wrote:
Hi Ariel,
Ariel Constenla-Haile wrote:
Hi all,
as NB 6.7 is out there,
I was just wondering: createCursor() creates a cursor containing the
whole sheet, which could be slow when you have a big sheet.
Maybe this is a way to create the cursor with better performance.
Just an idea, Steffen
Andrew Douglas Pitonyak wrote:
Nice tip... I will change this in my
Hi Aladdin,
the bug you listed is not the one described in Juergen's mail. Also,
NetBeans 6.5 is no valid platform, since our plugin is for NetBeans 6.7
solely.
Nevertheless we are interested in learning where you encountered that
behavior?
Regards, Steffen
Aladdin wrote:
Hi,
You can
Hello Karl,
see my comments inline...
Karl Weber schrieb:
Am Mittwoch, 25. März 2009 14:04 schrieb Juergen Schmidt:
[...]
browse the code and debug the examples directly from NetBeans. The
removed examples (in the original structure) can be stored for potential
use. Well the idea still is
Hello Ariel,
this happens for me (on Solaris x86) even without NetBeans etc.
I simply add e.g.
-Xdebug
-Xrunjdwp:transport=dt_socket,address=8701
as parameters to the JavaVM in OpenOffice.org. The next time I start
OpenOffice.org, I get the message box stating the JRE is defect.
I cannot
I did not try this (because I do not work on Windows normally),
but
String absolutePath = (new File(new URI(reposPath)).getCanonicalPath();
should work.
Hope that helps, Steffen
Stephan Bergmann wrote:
On 04/17/09 16:52, giancarlo wrote:
_*Introduction to the problem:*_
- My extension is
Hello George,
no, the paths cannot be the problem - they're changed to valid system
paths internally. I can reproduce the problem, even in a shell. When I
set up the sdk environment and execute the uno-skeletonmaker command in
a shell, it crahses. I will check further.
Regards, Steffen
Hello Alain,
I do not think so. You could check the extension of the file, if it's
one of the known extensions of OOo. But you surely thought of that. If
we are talking about possibly corrupt files, then I see no other way
than opening them and see if it works.
Regards, Steffen
Alain Rist
Hello again,
I think this kind of question is better addressed to a Java-specific
forum. I see no relevance to OpenOffice.org here - a simple Java
application shows the same behaviour.
Regards, Steffen
wheelsdong wrote:
I am working on a OpenOffice Add-on to open a browser when mouse is
Hi there,
if I remember correctly, the contract for such events is that the code
is called at least once, but may be called more often.
I cannot reproduce your second problem. What platform are you on and
what version of Openoffice.org do you use? With me, OpenOffice.org 3 on
Solaris-sparc
Hi,
could you verify if the HttpClient is packed in your extension?
I just want to make sure that the class HttpClient is available when
your extension is registered in OpenOffice.org.
To verify this:
Go to the file view of your project, open the dist folder and expand the
YourExtension.oxt
Hi Andreas,
when I look at your code, the cast from XComponentContext to
XComponentLoader will not work. Note that you cannot simply cast one UNO
interface to another, you have to use the UnoRuntime.queryInterface()
construct. That's because of the Java UNO language binding:
Hi Andreas,
would a solution be that you create a template sheet and install that
with your AddIn and then just fill in the values using the API? You
could prepare everything except of the actual values in the template,
and so you do not have to be concerned with styles and formatting.
I
Hi to all,
I am just giving my 2 cents inside.
Regards, Steffen
Juergen Schmidt wrote:
Hi Ariel,
first of all thanks for your detailed reply on all the questions. It
should be now very clear even without reading some background
documentation.
But i strongly recommend that people use the
Hello,
I am not the Basic expert here, but wouldn't something like this work?
While Position exit_value
Position = Instr(i, ProcessString, )
etc. etc. etc.
Wend
and just initialize Position before, so it does not have the exit value?
-Steffen
Jonathan Kaye wrote:
Johnny
Hi Wade,
you are right, it states NB 6 on the plugin portal page, but the
information there is wrong. We will update this.
For issues regarding NB 6, see
http://wiki.services.openoffice.org/wiki/OpenOffice_NetBeans_Integration/Releases/Release_1.2
Regards, Steffen
Wade Chandler wrote:
My
Hello,
the only thing that comes to my mind: is there difference regarding the
environment variables when you start from Java compared to the start
from the command line?
I do not know if that is of interest, but IIRC on Windows XP there's an
environment variable called SystemRoot which is
Hi Max,
indeed you can. You have to set an environment variable
org_openoffice_nb_integration_log_level = all
and start NetBeans with this set. The OOo plugin will then create a log
file called OOoNBIntegration1Number.log in your temp directory. (For a
different directory, set
Hi Max,
the problem is that Ubuntu inserts the wrapper scripts to call the sdk
commands. Commands are renamed with extension .bin and the scripts take
the place of the commnds. So the plugin calls the scripts with an
environment which is customized for the commands. This environment does
not
Hi Ashok,
thank you very much for your workaround. Could you please file a bug on
this? (With me as owner.)
Regards, Steffen
ashok _ wrote:
Hi Steffen,
I believe there is bug in the 1.0.2 OO plugin for netbeans. the bug
seems to be in the generated build-uno-impl.xml file which overrides
Hi there,
could you verify that the manifest file in your jar is correct? You may
have stumbled over a bug in the Netbeans plugin: the client application
gets a special manifest file for booting OpenOffice.org, using the
simple bootstrap mechanism.
If you do not find the necessary jar files
Hi Jacob,
as far as I know, you can only get the filter (or URL) after the
document is saved, using the OnSaveAsDone event.
What may be possible is reacting to that event, change the document and
save again. This will lead to a recursion, because the 2nd save will
trigger the listener again.
Hi Christian,
perhaps I am getting this wrong, because you shortened your code to post
it here, but: you add a listener to a MailMerge object and then throw
the object away?
Second, exactly what kind of event do you want to be notified of?
Regards, Steffen
This should work in the right context:
document = ThisComponent.CurrentController.Frame
dispatcher = createUnoService(com.sun.star.frame.DispatchHelper)
rem --
dispatcher.executeDispatch(
document,
Hi there,
this is different, depending on the type of Open/Save dialogs selected
(see tools - options - StarOffice - general):
Windows dialogs delete to the recycle bin, while the
OpenOffice/StarOffice dialogs delete immediately. So on Windows, just
deactivate the switch for the different
Hi there,
thank you for being interested in the NetBeans integration. You can
checkout the sources from api/oonetbeansintegration/ooextensions.
What you get is a NetBeans project, which can be build and debugged with
NetBeans. But keep in mind that what you check out is really just a
Hi.
Just an idea: could you try with a suspend=y:
agentlib:jdwp=transport=dt_socket,server=y,address=localhost:8000,suspend=y
OpenOffice.org will stop the moment you reach Java code and wait for the
debugger to connect. At least then you can be sure that the switch
really worked and
Hi there,
if your set your classpath like this:
java -verbose -cp C:\programme\OpenOffice2\program\classes -jar Starter.jar
you should have a look at
http://java.sun.com/j2se/1.5.0/docs/tooldocs/windows/classpath.html
(or have a look at the Java examples in the SDK,
Hi.
I wrote a bug for this with a test document to reproduce the behaviour,
issue 65041.
As a workaround, I'd suggest adding several tables with different count
of columns and sizes to adjacent paragraphs. This should similar to one
table with different columns.
Regards, Steffen
Hi Peter,
add the following lines to the end of the macro that is executed when
the button is pressed:
xWindow = ThisComponent.currentController.Frame.ContainerWindow
xWindow.setFocus()
This sets the focus back to the document,
HTH, Steffen
Peter Eberlein wrote:
Hi,
to reproduce the
Hi there.
Right, it's the property TableColumnSeparators.
Please see chapter 7.3.4 Tables of the Developer's Guide:
http://api.openoffice.org/docs/DevelopersGuide/Text/Text.htm#1+3+4+Tables
The TextColumnSeparator describes the distance between the column
separator and the left margin of the
35 matches
Mail list logo