Re: [api-dev] Where did the code snippets go?

2007-04-03 Thread Christian Junker
Regards Christian Junker - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [api-dev] [Announce] Snippet Collection holds more then 100 Snippets

2006-07-14 Thread Christian Junker
added 31 Snippets provided by students form the University of Vienna with a total amount of 120 Snippets. I want to say a great thank you to all how contributed. Next major target is to translate the snippets into other languages. Tom -- Best Regards Christian Junker

Re: [api-dev] Mapping of the UNO type hyper in StarBasic

2006-06-27 Thread Christian Junker
PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Best Regards Christian Junker - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [api-dev] Mapping of the UNO type hyper in StarBasic

2006-06-27 Thread Christian Junker
make the use of Decimal useless in this case. 2006/6/27, Bernard Marcelly [EMAIL PROTECTED]: Bonjour Christian Junker Message du 2006-06-27 16:46: Then how would you want to convert it to hyper from Decimal? I believe there is no working way to do this, but I would be happy if you prove me wrong

Re: [api-dev] Mapping of the UNO type hyper in StarBasic

2006-06-20 Thread Christian Junker
.. oInputStream.closeInput End Sub thank you Paolo M - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Best Regards Christian Junker

Re: [api-dev] Macro to accept all tracked changes

2006-06-07 Thread Christian Junker
, .uno:AcceptTrackedChanges, , 0, Array()) End Sub Kind regards, Jo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Best Regards Christian Junker

Re: [api-dev] How to debug API usage

2006-06-07 Thread Christian Junker
Regards Christian Junker - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[api-dev] Re: [dev] Programmatic XTextFrame Control with Java

2006-02-07 Thread Christian Junker
= 400; aSize.Width = 15000; xShape.setSize(aSize); If anyone has any pointers that would be grand. -- Best Regards Christian Junker - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [api-dev] Executing external program and obtaining stdout, stderr and the return value

2006-01-31 Thread Christian Junker
could do it for example as follows (untested): 1. Shell( _ /bin/bash -c 'some_program /tmp/out 21; echo $? /tmp/retval') 2. Read the files /tmp/out and /tmp/retval. But, is there a simpler way? Is there an alternative to shell? -- Best Regards Christian Junker

Re: [api-dev] OO Basic editor questions

2006-01-18 Thread Christian Junker
? No, but if you want to implement that, it would surely be a nice thing. -- Best Regards Christian Junker - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [api-dev] OLE Identifiers

2006-01-12 Thread Christian Junker
useful examples. -- Best Regards Christian Junker - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [api-dev] Upgrading from 1.x.x to 2.x.x -- Without Re-Learning An API?

2006-01-02 Thread Christian Junker
via a named pipe. Everything related to making the office listen for TCP/IP connections is documented in the Developer's Guide (first chapter, I think) available at api.openoffice.org . -- Best Regards Christian Junker

Re: [api-dev] Java storeAsURL PDF Problem

2006-01-02 Thread Christian Junker
. What do others think? -- Best Regards Christian Junker - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [api-dev] Catching Mouse Clicks

2005-12-09 Thread Christian Junker
from the API. 2005/12/7, Bradley Bolen [EMAIL PROTECTED]: I would be listening for it in the slide show. Thanks, Brad -- Best Regards Christian Junker - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: [api-dev] SDK 2.0

2005-11-09 Thread Christian Junker
Regards Christian Junker - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [api-dev] Re: [webmasters] Account is closed - dead link in SDK doc.

2005-10-29 Thread Christian Junker
it applies, that the account is closed...?! -- Best Regards Christian Junker - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [api-dev] Returnvalues from Macros

2005-10-26 Thread Christian Junker
+++ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Best Regards Christian Junker - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: [api-dev] Returnvalues from Macros

2005-10-22 Thread Christian Junker
across UNO-supported languages as far as I know, I must admit it would be very useful to have something like that. Scripting Framework developers can probably tell you more about such things... -- Best Regards Christian Junker

Re: [api-dev] Returnvalues from Macros

2005-10-22 Thread Christian Junker
I need to clarify, that I meant calling macros along with getting their return values. 2005/10/22, Christian Junker [EMAIL PROTECTED]: Unfortunately there is currently no way to call macros across UNO-supported languages as far as I know -- Best Regards Christian Junker

Re: [api-dev] Multiple XShape select

2005-10-08 Thread Christian Junker
the to-be-selected shapes to it (querying XShapes and using its add method)? You also need to make sure that you pass in an object of uno type Any, in Java for example you can pass an object of type Object. -- Best Regards Christian Junker

Re: [api-dev] programatically know which platform

2005-10-08 Thread Christian Junker
talking about how to implement it just about the abstraction). 2005/10/4, Jürgen Schmidt [EMAIL PROTECTED]: Hi, [...] -- Best Regards Christian Junker - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: [api-dev] Problem translating java method, getTypeName(), to python

2005-09-22 Thread Christian Junker
index.html. 2005/9/13, Joerg Budischewski [EMAIL PROTECTED]: Hi, there is one on the webpage, http://udk.openoffice.org/python/python-bridge.html but I basically don't want to invest time to transfer it into the developer manual. Bye, Joerg -- Best Regards Christian Junker

Re: [api-dev] Problem translating java method, getTypeName(), to python

2005-09-22 Thread Christian Junker
See http://www.openoffice.org/issues/show_bug.cgi?id=54951 2005/9/22, Christian Junker [EMAIL PROTECTED]: [...] -- Best Regards Christian Junker - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: [api-dev] Python equivalent to com.sun.star.comp.helper.Bootstrap.bootstrap()?

2005-09-13 Thread Christian Junker
, Joerg Budischewski [EMAIL PROTECTED]: Hi, there is no counterpart Bootstrap.bootstrap() in pyuno core as far as i know. [...] Joerg -- Best Regards Christian Junker - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: [api-dev] Problem translating java method, getTypeName(), to python

2005-09-13 Thread Christian Junker
as there is for Java and C++ ? 2005/9/11, Kim Kulak [EMAIL PROTECTED]: 1. The method getTypeName() is not listed in the index of the IDL Reference documentation. [...] -- Best Regards Christian Junker - To unsubscribe, e-mail: [EMAIL

Re: [api-dev] ByteArrayToXInputStreamAdapter in the CVS tree

2005-09-06 Thread Christian Junker
Hi Andreas, javaunohelper/com/sun/star/lib/uno/adapter/ByteArrayToXInputStreamAdapter.java 2005/9/6, Andreas Bröker [EMAIL PROTECTED]: Hello, [...] Can anybody tell me where i must have a look. -- Best Regards Christian Junker

Re: [api-dev] Any way to combine multiple actions into one undo-able action ?

2005-08-29 Thread Christian Junker
Regards Christian Junker - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[api-dev] Connect to a remote office on another machine from SB

2005-08-18 Thread Christian Junker
(com.sun.star.frame.Desktop) desk.loadComponentFromURL(private:factory/swriter, _blank, 0, Array()) 'look on the server monitor now :-) End Sub /code As you can see it's just a few lines, so it's very simple and clean code. Hope this helps someone out there somehow. -- Best Regards Christian

[api-dev] existing UNO bridges

2005-08-07 Thread Christian Junker
to me as if the function only checks for the bridges that are currently in active use, ie the cpp bridge would be used when calling from C++, but then why is it named u? -- Best Regards Christian Junker - To unsubscribe, e-mail

Re: [api-dev] Browsing the source code

2005-07-31 Thread Christian Junker
- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Best Regards Christian Junker - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

Re: [api-dev] Dialog controls: relative ImageURLs

2005-07-18 Thread Christian Junker
. Unfortuantely, I am bound to version 1.1.4 and no higher. Thanks in advance. Cheers, Jorge. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Best Regards Christian Junker

Re: [api-dev] XMouseClickHandler and corresponding cell

2005-07-12 Thread Christian Junker
- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Best Regards Christian Junker - To unsubscribe, e-mail: [EMAIL

Re: [api-dev] [EMAIL PROTECTED] TOPIC: Contributing

2005-07-11 Thread Christian Junker
mailinglist. This is about the OpenOffice API, not the build process from OOo's sources. Please ask those things at either the tools project (tools.openoffice.org) or at development.openoffice.org . Thanks. -- Best Regards Christian Junker

Re: [api-dev] Broken links in API:Basics and Dialogs?

2005-07-01 Thread Christian Junker
Can confirm this. Would you start an issue, please? If you don't want to register for Issuezilla, just let me know and I will write a report for this.2005/7/1, Ennio-Sr [EMAIL PROTECTED]: Hi all!On page 45 (of 155) of the captioned doc. there is a link to *8.Spreadsheet Documents* which does not

Re: [api-dev] Re: [users] Problems regarding scroll bars

2005-07-01 Thread Christian Junker
quote[...]Horizontal scroll bars thru tools/options. /quote What do you exactly mean?? Which scroll bars? It seems to me that you want to use persistent menu/toolbar configurations for a specific file. While this is supported in OOo 1.1.x it's not in OOo 2.0 as far as I know. Please provide much

Re: [api-dev] Sequence of Texttables

2005-06-25 Thread Christian Junker
In addition to what Andrew provided here, there is yet another way, which is probably not that good but can be taken into account: Using the viewcursor you can go from the beginning to the end of the document regularly checking if the property TextTable of the viewcursor is void

Re: [api-dev] How to identify and remove empty pages in writer document.

2005-05-15 Thread Christian Junker
Alright, after some replies with code that was just out of the box, meaning it wasn't well thought about, I decided to spend some more time on this coming up with a hopefully complete-working macro. The result can be seen on: http://www.oooforum.org/forum/viewtopic.phtml?t=20153 As a remark: It

Re: [api-dev] How to identify and remove empty pages in writer document.

2005-05-14 Thread Christian Junker
Hi Malcolm, maybe the macro I just wrote will help you. Please note that it is by no means 'perfect' because I have not tested all possible situations. The problem is that there is no such API function as to recognize whether a page is empty, so you have to check it on your own. Because there are

Re: [api-dev] How to identify and remove empty pages in writer document.

2005-05-14 Thread Christian Junker
Function DeletePage(cur, i as Integer) cur.goLeft(chars, False) cur.goToNextWord(True) cur.setString() i =+ 1 End Function2005/5/14, Christian Junker [EMAIL PROTECTED]: Hi Malcolm, maybe the macro I just wrote will help you. Please note that it is by no means 'perfect' because I have not tested all

Re: [api-dev] IDL for the TextDocument service

2005-05-11 Thread Christian Junker
PROTECTED]: Christian Junker wrote: A text document does support the XMultiServiceFactory indirectly. Directly the XMultiServiceFactory interface is supported by the DrawingDocumentFactory which is a service that every document - that contains a drawing page - has. This includes the text document

Re: [api-dev] IDL for the TextDocument service

2005-05-11 Thread Christian Junker
, I am sorry ;( but better having it posted than forgetting about it. 2005/5/11, Christian Junker [EMAIL PROTECTED]: I noticed the method getScriptProvider() yesterday which is probably the door to the XScriptProviderSupplier, however neither of those are listed in the IDL reference. In other words

Re: [api-dev] IDL for the TextDocument service

2005-05-03 Thread Christian Junker
- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Best Regards Christian Junker - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [api-dev] preview in BASIC dialog

2005-04-27 Thread Christian Junker
to the programming leaders of the writer component. See http://ooo.ximian.com/name-account.html -- Best Regards Christian Junker - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [api-dev] preview in BASIC dialog

2005-04-26 Thread Christian Junker
commands, e-mail: [EMAIL PROTECTED] -- Best Regards Christian Junker - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [api-dev] Wiki for writing OOo macros

2005-04-20 Thread Christian Junker
- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Best Regards Christian Junker - To unsubscribe, e-mail: [EMAIL

Re: [api-dev] bug in windows OOo 1.1.4 bootstrap - InvocationTargetException

2005-04-09 Thread Christian Junker
: [EMAIL PROTECTED] -- Best Regards Christian Junker - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [api-dev] Up to date IDL and slots

2005-03-14 Thread Christian Junker
Hi Ian, it should be part of the odk module or sdk_oo, at least that's what it used to be. The API project page even tells us about the modules on its front page. As for the slots (slots.sxc), I don't think it is part of the source code. -- Best Regards Christian Junker On Mon, 14 Mar 2005 11

Re: [api-dev] How can I get the url of the currently opened document?

2005-03-11 Thread Christian Junker
PROTECTED] -- Best Regards Christian Junker - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [api-dev] How can I get the url of the currently opened document?

2005-03-11 Thread Christian Junker
css.frame.XStorable.getLocation() in order to obtain the document's URL. XStorable is implemented by every OOo doc instance. Maybe somebody from the Framework team can comment on this. - Kai. Christian Junker wrote: Hi Tom, you don't need the line: XPropertySet documentProps = (XPropertySet

Re: [api-dev] How can I get the url of the currently opened document?

2005-03-10 Thread Christian Junker
as queryInterface, and I suggest that you read the first chapters of the Developer's Guide which should explain this. -- Best Regards Christian Junker On Thu, 10 Mar 2005 13:46:47 +0100, Ines Pfauch [EMAIL PROTECTED] wrote: On 09.03.2005, at 13:20, Aidan Butler wrote: Hello, The URL of the document

Re: [api-dev] OpenOffice.org Extensions - was Format for information file about templates and addons

2005-03-08 Thread Christian Junker
with this, Hamburg?? -- Best Regards Christian Junker On Mon, 07 Mar 2005 11:44:43 +1300, Ian Laurenson [EMAIL PROTECTED] wrote: On Fri, 2005-03-04 at 21:58, Jürgen Schmidt wrote: Ian Laurenson wrote: On Thu, 2005-03-03 at 21:49, Jürgen Schmidt wrote: [snip] Sure, the new SDK provides makefiles

Re: [api-dev] Menu control

2005-03-08 Thread Christian Junker
Hi Matthias, I do ask myself, why those interfaces are deprecated. Why not removing them completely? a) from source code (I searched with ximian lxr and there was no single implementation I found about XMenu) b) from documentation (IDL Reference) -- Best Regards Christian Junker On Fri, 04 Mar

Re: [api-dev] Code snippets ....

2005-03-04 Thread Christian Junker
to show the real strengths of OO to the people out there that think of switching to OpenOffice or that will be impressed by how much automation can be put into OpenOffice. Best Regards Christian Junker Jürgen Schmidt wrote: Hi, we have started some time ago with our code snippet base where Tom

Re: [api-dev] OpenOffice.org Extensions - was Format for information file about templates and addons

2005-03-04 Thread Christian Junker
How about updating the StarOffice 7 Programmer's Guide. I think this is the no.1 tutorial on Starbasic/OpenOffice Basic and could get an update, I think. By update I mean not just possible corrections but also extending the guide with a few more examples. Best Regards Christian Junker Jürgen

Re: [api-dev] CDbl function

2005-03-04 Thread Christian Junker
The one distributed with Fedora heidelberg. I have not set the LANG environment variable however, so I guess it only happens then (I set the locale under ToolsOptionsLanguage Settings). Best Regards Christian Junker Davide Dozza wrote: Christian Junker wrote: Hi Sevastian, I tested your piece

Re: [api-dev] small problem with starbasic in OOo 1.1.x

2005-02-25 Thread Christian Junker
, but look around in other programs: They also sometimes show dialogs like Please wait... when they need to process a lot of data. Best Regards Christian Junker Peter Eberlein wrote: Hi Laurent, hi Christian, Laurent Godard schrieb: Hi, I can only agree with Laurent, the second way by locking

Re: [api-dev] small problem with starbasic in OOo 1.1.x

2005-02-25 Thread Christian Junker
Function). Note, that dlg should be a global variable as it is propably used in not just one function. Best Regards Christian Junker Peter Eberlein wrote: Christian Junker schrieb: and I forgot: Once the macro has finsihed you call endExecute() on the dialog and it should return to the document

Re: [api-dev] small problem with starbasic in OOo 1.1.x

2005-02-24 Thread Christian Junker
I can only agree with Laurent, the second way by locking the controllers would be the best option, I think. That way you can be very sure that your macro gets executed from beginning to end without any disturbance. Best Regards Christian Junker Laurent Godard wrote: Hi christian, Is there some

Re: [api-dev] storing textrange to a stream

2005-02-04 Thread Christian Junker
into it. Best Regards Christian Junker On Fri, 04 Feb 2005 02:44:08 +0100, Marc Santhoff [EMAIL PROTECTED] wrote: Am Fr, den 04.02.2005 schrieb Christian Junker um 01:21: Hi Marc, yes that is possible. Hi Christian, wow, that loks promising, thank you. Although it'll take some time

Re: [api-dev] starting the OOo-help without API

2005-02-03 Thread Christian Junker
for those dispatch commands is generally pretty low so testing them is very important. I wish you good luck, I didn't test any of the several help dispatches I found but if I have some time again I will take a look, except until then your problem has been solved. Best Regards Christian Junker