Re: [api-dev] xcu documentation or examples

2005-01-19 Thread Cor Nouws
But doesn't the topic mentioned in the above one, http://www.oooforum.org/forum/viewtopic.phtml?p=15207#15207 , point to the in right direction? Cor Nouws - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comm

Re: [api-dev] xcu documentation or examples

2005-01-19 Thread Cor Nouws
Paolo Mantovani wrote: Hi Ian, Cor, Alle 08:09, mercoledì 19 gennaio 2005, Cor Nouws ha scritto: [...] If you like to learn from examples see how I did it: [...] Thanks a lot - Cor - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: [api-dev] Codesnippet Searchfuctionality

2005-03-16 Thread Cor Nouws
Hi Tom, Tom Schindl wrote: Hi, I have now added a small search engine to the codesnippet page as promised since a very long time. Feedback appreciated. Just to say that I do appreciate your work for the smippet page and that I will like to contribute with snippets in the future. Cor -- Cor

Re: [api-dev] Problems with Page Style

2005-04-29 Thread Cor Nouws
Hi Christian, Cristian Fonti wrote: I have jet found this properties, i try to use it, but nothing...i create two styles (left and right), but the problem is that, when i create the document, there is always the "Standard" style... i'm not be able to use two styles... Thanks I haven't dived in t

Re: [api-dev] Lost e-mail

2005-05-12 Thread Cor Nouws
Department Linux&Office Migration wrote: Hallo, on 2005-05-03 I posted a message to this mailing list (after subscribing first). The message made it to the archive http://api.openoffice.org/servlets/ReadMsg?list=dev&msgNo=12796 but was apparently not distributed to the list. At least I did not rece

[api-dev] custom menu to document in relation to cust.menu in Writer

2006-04-16 Thread Cor Nouws
, that when a document document-bounded menu is loaded, an Writer-bounded menu, existing in OOo where the document+menu is made, is not available. This is something to keep in mind. Is this fully correct? Are others familiar with this behaviour? Thanks, -- Cor Nouws www.bsooo.nl - www.nouenoff.nl

[api-dev] imported basic library disappears after closing OOo

2006-04-16 Thread Cor Nouws
on this system (WinXP, SP1, OOo 2.0.2) But I can't on Debian / OOo2.0.2 and Win98 OOo 2.0.2 Anyone an idea? Thanks, Cor -- Cor Nouws www.bsooo.nl - www.nouenoff.nl Free your files - To unsubscribe, e-mail: [EMAIL PROTE

Re: [api-dev] custom menu to document in relation to cust.menu in Writer

2006-04-16 Thread Cor Nouws
ink you are right. Some things I've been told, were better bounded than others ;-) Regards, Cor -- Cor Nouws www.bsooo.nl - www.nouenoff.nl Free your files - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [api-dev] imported basic library disappears after closing OOo

2006-04-18 Thread Cor Nouws
hread&from=1330425 I'll find some time next weekend, to sort things out. Greetings, Cor --- Cor Nouws <[EMAIL PROTECTED]> wrote: I import a basic-library (Tools|Macro's|Manag|Basic ... Manage, Library's ... Add) and close OOo (incl. quickstarter) When I start

Re: [api-dev] Macro for 'Insert/Sheet from (txt) file' ?

2006-05-13 Thread Cor Nouws
x27;t that what suitable for your purpose? Greetings, Cor -- Cor Nouws www.bsooo.nl - www.nouenoff.nl Free your files - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [api-dev] Macro for 'Insert/Sheet from (txt) file' ?

2006-05-14 Thread Cor Nouws
Hi Ennio, Ennio-Sr wrote: Hi Cor, Thank you for solving so rapidly my problem! Glad I could be of help + that OOo is so smart :-) Cor -- Cor Nouws www.bsooo.nl - www.nouenoff.nl Free your files - To unsubscribe, e-mail

Re: [api-dev] Row Height of TextTable with Autoheight Always 0

2006-06-01 Thread Cor Nouws
Hi Kent, Kent Gibson wrote: oRow = ThisComponent.getTextTables().getByIndex(0).getRows().getByIndex(0) I think the last (0) should be (nRow) Greetings, Cor NB Pls do not start a new thread in reply to anothe posting -- Cor Nouws O http://nl.openoffice.org/waarom O O

Re: [api-dev] Macro editing

2006-07-24 Thread Cor Nouws
fice.org/issues/show_bug.cgi?id=66394 (bug in an update in Debian)? Greetings, Cor -- Cor Nouws www.nouenoff.nl - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [api-dev] dialog and combobox

2006-07-28 Thread Cor Nouws
Hi Seva, Sevastian `seva` Foglia wrote: If I set to true combobox ReadOnly property I can't select its item. Is it a bug? It looks like. 'Activated true' and 'Read-Only true' make it un-usable. A listbox with 'Activated true' and 'Read-Only false

Re: [api-dev] how to remove final paragraph?

2006-08-25 Thread Cor Nouws
Stephan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------- To unsubscribe, e-mail: [EMAIL PROTECTED] For addi

[api-dev] Assign to Save)-as) events behaviour

2006-09-02 Thread Cor Nouws
ick on the 'floppy' or File|Save triggers my macro. However, it appears (2.0.3, on XP, 2.0.2 on Madrake) that my code is triggered áfter the regular Save(-As) actions :-\ What am I supposed to do to actually replace those? Thanks a lot, Cor -- Cor Nouws Done a test ride and want to

Re: [api-dev] setting url for the string

2006-09-03 Thread Cor Nouws
or create a proper URL, so "http://...."; Greetings, Cor -- Cor Nouws Done a test ride and want to investigate the car? http://marketing.openoffice.org/ooocon2006/schedule.html - To unsubscribe, e-mail: [EMAIL PROTECT

Re: [api-dev] Assign to Save)-as) events behaviour

2006-09-05 Thread Cor Nouws
Hello +, Cor Nouws wrote: Hi *, In order to force/advice the saving of certain documents on a specified location, I prepared some macro's, looking at the documents state, name and such, and opening the save-dialog. Then I assigned the macro's to Save(-As) with Tools|Customisation|

Re: [api-dev] make invisible variables disappear?

2006-09-18 Thread Cor Nouws
;s with Ctrl-F8 (View|Field Markings). Maybe this is a useful hint to look in the right direction? Greetings, Cor -- Cor Nouws Done a test ride and want to investigate the car? http://marketing.openoffice.org/ooocon2006/schedule.html -

[api-dev] Error on closing eventlistner 'Cannot coerce argument type during corereflection'

2006-09-27 Thread Cor Nouws
b Sub RemoveListener Dim oCell ' removes the listener oCell = ThisComponent.Sheets.getByIndex(0).getCellByPosition(0, 0) oCell.removeModifyListener(oListner0) *>>* ' Gives "Cannot coerce argument type during corereflection call" ' do the same for other listners End

Re: [api-dev] Error on closing eventlistner 'Cannot coerce argument type during corereflection'

2006-09-27 Thread Cor Nouws
ribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Cor Nouws Arnhem - Netherlands www.nouenoff.nl - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [api-dev] Reset the cell Style to default

2006-10-04 Thread Cor Nouws
etted ! To reset ONLY the backGroundColor I found: ... StyleFamilies.CellStyles.getByName(sStyle).PropertyToDefault ??? ... StyleFamilies.CellStyles.getByName(sStyle).setPropertiesToDefault ??? Obviously I have problems about the parametres... I once had to set a colour to default. Value had to be '-1&

Re: [api-dev] How to get current Windows UserName ?

2006-10-09 Thread Cor Nouws
Hi Fernard, Fernand Vanrie wrote: How can I get the current Window UserName using a Basic Macro., I mean the user who uses the local machine where Openoffice is running. Environ( "USERNAME" ) This is Windows only. Regards, -- Cor Nouws Arnhem - N

Re: [api-dev] Copy/insert a DialogLibrary into a WriterDocument

2006-10-10 Thread Cor Nouws
the answer. Do you know xRay? Or a clear book as Andrew Pitonyak's? I think those will help you a lot for finding out many answers. Greetings, -- Cor Nouws Arnhem - Netherlands www.nouenoff.nl - To unsubscribe, e-mail: [

Re: [api-dev] How to iterate over all content in Writer document.

2006-10-24 Thread Cor Nouws
t of a Writer document in order? I'm only able to help a little. AFAIK you should find it in the DrawPage of the document. Regards, Cor -- Cor Nouws Arnhem - Netherlands nl.OpenOffice.org - marketing contact - To unsubsc

Re: [api-dev] possibility to make readonly/locked objects

2006-10-26 Thread Cor Nouws
bookmark generally cannot be kept in a section. Regards, Cor -- Cor Nouws Arnhem - Netherlands nl.OpenOffice.org - marketing contact - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [api-dev] How can I insert a header only in the first page

2006-11-07 Thread Cor Nouws
PROTECTED] -- Cor Nouws Arnhem - Netherlands nl.OpenOffice.org - marketing contact - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [api-dev] Merge documents

2006-11-07 Thread Cor Nouws
tings in the page-style. Regards, Cor -- Cor Nouws Arnhem - Netherlands nl.OpenOffice.org - marketing contact - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [api-dev] Set Text to Justified Alignment by OO API

2006-11-11 Thread Cor Nouws
aloizio wrote: But only works for the first paragraph. Why this happens? Apart from Bernards answer: if you use styles, there is no need to enumerate all paragraphs :-) Regards, -- Cor Nouws Arnhem - Netherlands nl.OpenOffice.org - marketing contact

Re: [api-dev] Merge documents

2006-11-11 Thread Cor Nouws
cing" and also "Format -> Alignment" There are styles for pages and for paragraphs. Have differrent function. So setting your margin with page styles works. But setting the line spacing has to be done with ... the paragraph style. Regards, Cor -- Cor Nouws Arnhe

Re: [api-dev] How can I select all paragraphs from a Text?

2006-11-13 Thread Cor Nouws
start, and extend it to the end of the doc. Pls see the examples. Greetings, Cor -- Cor Nouws Arnhem - Netherlands nl.OpenOffice.org - marketing contact - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: [api-dev] How can I select all paragraphs from a Text?

2006-11-13 Thread Cor Nouws
// Select the last paragraph in the document xParaCursor.gotoNextParagraph ( true ); // And reset it's style to 'Standard' (the programmatic name for // the default style) xCursorProps.setPropertyValue ( "ParaStyleName&q

Re: [api-dev] How can I select all paragraphs from a Text?

2006-11-13 Thread Cor Nouws
aloizio wrote: Ah, I see. And what you want to achieve is - creating a new style, - set properties, - apply the style to your whole document? Yes, only this. And could it be a possibility to change the already applied style? -- Cor Nouws Arnhem - Netherlands nl.OpenOffice.org

Re: [api-dev] How can I select all paragraphs from a Text?

2006-11-18 Thread Cor Nouws
Guide>TextDocument with for example TextRangeExample and TextCursorExample. But thats no Java :-) I see in the DevGuide, as part of 7.3.1 'Iterating over Text' an some examples that could be of help. Regards, Cor -- Cor Nouws Arnhem - Netherlands nl.OpenOffice.org -

[api-dev] check visible state of a control

2006-11-27 Thread Cor Nouws
Hi *, I know how to set the visible sate of a control: oControlModel = oDocDlg.GetControl(sName) oControlModel.setVisible (sYesNo) but cannot find a methode (with xRay / API IDL) to check if a control is visible ... Any hints welcome & Thanks, Cor -- Cor Nouws Ar

Re: [api-dev] check visible state of a control

2006-11-27 Thread Cor Nouws
Cor Nouws wrote: I know how to set the visible state of a control: Possibly not unimportant: the control is a textbox. oControlModel = oDocDlg.GetControl(sName) oControlModel.setVisible (sYesNo) but cannot find a methode (with xRay / API IDL) to check if a control is visible

Re: [api-dev] check visible state of a control

2006-11-27 Thread Cor Nouws
Hi Christoph, Christoph Jopp wrote: the only thing to check the visibility of a control I could figure out was the AccessibleStateType which holds values for certain states. Thanks, that did it. How did you find out? Just digging in a various places or rather experience? I use the trick when

Re: [api-dev] check visible state of a control

2006-11-28 Thread Cor Nouws
encourage you to submit an issue for this missing API :) I thought about that. But I'm a little afraid that one issue is so isolated, only one fragment, since there probably will be quite some missing methods for various controls... Regards, Cor -- Cor Nouws Arnhem - Netherlands nl

Re: [api-dev] Change the value of a DataBase TextField

2006-12-04 Thread Cor Nouws
? Isn't the database textfield a part of the form-layer? See: http://api.openoffice.org/docs/common/ref/com/sun/star/form/component/DatabaseTextField.html Regards, Cor -- Cor Nouws Arnhem - Netherlands nl.OpenOffice.org - marketing co

Re: [api-dev] Change the value of a DataBase TextField

2006-12-04 Thread Cor Nouws
e can. Regards, Cor It´s really strange because when I call hasByName() (from the interface XNameAccess) with the same name found, it returns false. On 12/4/06, Cor Nouws <[EMAIL PROTECTED]> wrote: Hi Fabricio, Fabricio Lemos wrote: > I want to change the value of a collection of textfi

Re: [api-dev] How to get the state of a radio button on a XDialog in Java

2006-12-20 Thread Cor Nouws
turns Ttrue if it is selected. Maybe this helps a little. Regards, Cor -- Cor Nouws Arnhem - Netherlands nl.OpenOffice.org - marketing contact - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [

Re: [api-dev] getCellAddress() returns garbage

2006-12-21 Thread Cor Nouws
dress.Row End Sub Returned: Sheet = -2268 Column = 32767 Row = -1189158716 Returns 0, 2, 3 for me. Thus OK. And when I use oCell = ThisComponent.getCurrentSelection() I also retrieve the correct (selected) address. This with OOo 2.1 / XP So maybe your system is just in need for a little b

[api-dev] Remove control from Dlg with code ?

2007-04-11 Thread Cor Nouws
ol does not exist on the model ( oDocDlg.getModel.getByName("controlName").Text gives noSuchElementFound exception ) - but control is still visible. So I miss how to remove the control from the view, or how to refresh teh view. Any suggestion? Thanks, -- Cor Nouws Arnhem - Netherlan

Re: [api-dev] Remove control from Dlg with code ?

2007-04-11 Thread Cor Nouws
Hi Fernand, Fernand Vanrie wrote: just make the control not-visible is a option oContrl = oDocDlg.getControl("controlName") ccontroll.setvisible(false) No option - with many controls to make and remove, will become a little mess, I'm afraid. i supose you have to "dispose" first te object ?

Re: [api-dev] Remove control from Dlg with code ?

2007-04-18 Thread Cor Nouws
ode was correct - removing the control model from the dialog model should automatically also remove the control from the dialog. If this isn't the case, please submit an issue. Thanks. Thanks for your attention. Pls see #76491 Best, -- Cor Nouws Arnhem - Netherlands nl.OpenOffice.org

[api-dev] Re: [discuss] macro to save as PDF (or HTML)

2007-04-25 Thread Cor Nouws
u have to use StoreAsURL and )"FilterName", "HTML (StarWriter)") HTH, Cor -- Cor Nouws Arnhem - Netherlands nl.OpenOffice.org - marketing contact - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[api-dev] Disable possibility to adjust toolbars?

2007-04-27 Thread Cor Nouws
Hi, I've seen SDK 4.7.4 about Disable Commands. A related question: is it possible to disable the little arrow button, that is at the end of every toolbar? Thanks, Cor -- Cor Nouws Arnhem - Netherlands nl.OpenOffice.org - marketing co

Re: [api-dev] Disable possibility to adjust toolbars?

2007-04-27 Thread Cor Nouws
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? Regards, Cor --

Re: [api-dev] Making fields read-only

2007-05-08 Thread Cor Nouws
ortions like a field... -- Cor Nouws Arnhem - Netherlands nl.OpenOffice.org - marketing contact - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[api-dev] timing on loading libraries

2007-05-18 Thread Cor Nouws
a If-EndIf loop? - If so, can timing be a problem and how to avoid it? Thanks, Cor -- Cor Nouws Arnhem - Netherlands nl.OpenOffice.org - marketing contact - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[api-dev] Asisgning events to controls with a macro ??

2007-05-18 Thread Cor Nouws
Hi *, I'm facing a rough 60 controls, that need to have actions linked to events. So thats about 60 * 2 * 9 = 1080 mouse clicks. (And I love my key board so much :-) ) Any change to use a macro to assign macro's to the events? Not at run time, but just when designing? Thanks, Cor

Re: [api-dev] Calc AddIn with Hyperlink-like function

2007-05-18 Thread Cor Nouws
yPosition(0, 0) oCell.removeChartDataChangeEventListener(oListner0) ' do the same for other listners End Sub Sub A10_chartDataChanged(oEvent) 'do something end sub hope this is a start for you. Best, Cor -- Cor Nouws Arnhem - Netherlands nl.OpenOffice.org - marketing contact --

Re: [api-dev] Asisgning events to controls with a macro ??

2007-05-18 Thread Cor Nouws
Marc Santhoff wrote: sub connectControlEventToMacro( _ [...] if something isn't clear look out for older email on this list or on one of the dbalists, Frnk Schönheit helped IIRC. Thanks Marc, I'll give it a try. Have fun, Ehh, when work has finished ;-) Cheers, Cor -- Cor No

Re: [api-dev] timing on loading libraries

2007-05-18 Thread Cor Nouws
es.LoadLibrary("x") myLib = DialogLibraries.getByName("x") myDialog = myLib.getByName("dlgx") oDlg = CreateUnoDialog(myDialog) Does that have a reason, that I might be able to understand :-) ? Regards, Cor -- Cor Nouws Arn

[api-dev] Question reg. Sound programming in Basic

2007-06-10 Thread Cor Nouws
oDlgDoc.getControl("name") oCtrl.setSomething End Sub B) looks cleaner. However, I've no idea if A or B is faster of better reg. memory usage. Any ideas? Thanks, Cor -- Cor Nouws Arnhem - Netherlands nl.OpenOffice.org - marketing contact

Re: [api-dev] mysterious StarBasic problem

2007-06-15 Thread Cor Nouws
nnot reproduce the problem on XP + OOo 2.2.1 Dutch Debian (previous stable) + OOo 2.1 Dutch. Regards, Cor -- Cor Nouws Arnhem - Netherlands nl.OpenOffice.org - marketing contact - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [api-dev] Question reg. Sound programming in Basic

2007-06-19 Thread Cor Nouws
nces, so that a simple A or B isn't possible ... Thanks for your reply, Cor -- Cor Nouws Arnhem - Netherlands nl.OpenOffice.org - marketing contact - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[api-dev] [code snippet] PrivateProfileString

2007-06-22 Thread Cor Nouws
Else print #n2, s End If Loop Close #n1 Close #n2 FileCopy (sFileBak, sFile) 'Kill (sFileBak) ' you might want to kill the bak-file 

Re: [api-dev] [code snippet] PrivateProfileString

2007-06-23 Thread Cor Nouws
xtra experiments, I just posted the code 8-) Later I'll probably have to try, but that's not for now. Regards, -- Cor Nouws Arnhem - Netherlands nl.OpenOffice.org - marketing contact - To unsubscribe, e-mail: [EM

Re: [api-dev] Get recorded changes using Java

2007-07-05 Thread Cor Nouws
Hi Wouter, Wouter van Reeven wrote: I am trying to get hold of a Java object that allows me to get all the recorded changes in a Writer document. [...] Coincidentally I was looking at the textobject and saw the redlining properties. Is that what you are looking for? Regards, Cor -- Cor

[api-dev] Filepicker doesn't show name on first occurence - work around ??

2007-07-23 Thread Cor Nouws
for a possible work around? Thanks, Cor -- Cor Nouws Arnhem - Netherlands nl.OpenOffice.org - marketing contact - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [api-dev] Filepicker doesn't show name on first occurence - work around ??

2007-07-23 Thread Cor Nouws
pe it helps Thanks. It does help. It limits the chooise for the dialog, but it ís a work around. I'll add a note to the issue. Cor -- Cor Nouws Arnhem - Netherlands nl.OpenOffice.org - marketing contact - To unsubscri

Re: [api-dev] Get recorded changes using Java

2007-07-23 Thread Cor Nouws
Hi Wouter, Wouter van Reeven wrote: On Fri, Jul 06, 2007 at 05:29:22AM +0200, Cor Nouws wrote: Coincidentally I was looking at the textobject and saw the redlining properties. Is that what you are looking for? Basically yes. I think I may be approaching this from the wrong side. My

Re: [api-dev] Filepicker doesn't show name on first occurence - work around ??

2007-07-30 Thread Cor Nouws
ure I do not disturb users with a different dialog ("where is my desktop?" etc.): If the directory is empty, I place a textfile (dummy.odt) that I remove immediately after the fileficker has been used Thanks for the help, best, Cor

Re: [api-dev] Open Office VBA porting? or leave as it is?

2007-07-30 Thread Cor Nouws
StarOffice Professional Tools (and if I don't mistake, thats not yet for Mac). Should all be ported to some other scripting language? That is what I do most often with VBA code. Part can be re-used and some smart things can be done to reduce the work. HTH, Kindest regards, Cor --

Re: [api-dev] Open Office VBA porting? or leave as it is?

2007-07-30 Thread Cor Nouws
Cor Nouws wrote: [...] That is what I do most often with VBA code. [...] Andrew's mail made me remember I didn't mention the scripting language I convert to. That is OOo/StarOffice Basic. -- Cor Nouws Arnhem - Netherlands nl.OpenOffice.org - marketi

Re: [api-dev] Open Office VBA porting? or leave as it is?

2007-07-30 Thread Cor Nouws
office.org/wiki/Extensions_development_basic ; and ... this list ;-) Regards, Cor -- Cor Nouws Arnhem - Netherlands nl.OpenOffice.org - marketing contact - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [api-dev] Starbasic problem with nested loops

2007-09-08 Thread Cor Nouws
/downloads/Hausarbeitsvorlage_mit_Chronologie.odt Success & kindest regards, Cor -- Cor Nouws Arnhem - Netherlands nl.OpenOffice.org - marketing contact - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [api-dev] Starbasic problem with nested loops

2007-09-08 Thread Cor Nouws
there something I don't understand about loops, am I too blind or is it something else? :-) Hmm, I think you are right. The one-but last 'Loop' has to be and 'And If'. Pls test :-) Kindest regards, Cor -- Cor Nouws Arnhem -

Re: [api-dev] Starbasic problem with nested loops

2007-09-08 Thread Cor Nouws
Helge Kraak schreef: Am 08.09.2007 um 23:00 schrieb Cor Nouws: The one-but last 'Loop' has to be and 'And If'. Pls test :-) I still don't understand why there has to be an additional 'loop' but above all it's important it's working now tho

Re: [api-dev] Getting printers via Basic or Java

2007-09-10 Thread Cor Nouws
found elsewhere) to give the /active/ printer. Could that help? -- Cor Nouws Arnhem - Netherlands nl.OpenOffice.org - marketing contact - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [api-dev] dialog opens behind the document

2007-10-25 Thread Cor Nouws
work with the focus, which is not the same for all modules and os versions.) Regards, -- Cor Nouws Arnhem - Netherlands nl.OpenOffice.org - marketing contact - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

Re: [api-dev] Preselecting an Item in an css.awt.XListBox / css.awt.UnoControlListBoxModel

2007-11-09 Thread Cor Nouws
the model. Greetings, Cor -- Cor Nouws Arnhem - Netherlands nl.OpenOffice.org - marketing contact - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [api-dev] Re: Unfocussing a non-modal dialog

2007-11-10 Thread Cor Nouws
der Windows setFocus() works as expected, while in Linux the focus is not transferred. Guess I'll have to put some Linux-specific hacking exploration on my TODO list :) I experience the same problems on Linux: http://api.openoffice.org/servlets/ReadMsg?list=dev&msgNo=18470 -- C

Re: [api-dev] IO expection error

2007-11-15 Thread Cor Nouws
storeToURL( ConvertToURL(sfile), Array( MakePropertyValue("FilterName", "Writer8" )) Would adding MakePropertyValue("Overwrite", "True") help, because you get the error it the document is stored already? Regards, Cor -- Cor Nouws Arnhem -

Re: [api-dev] xba <-> plain text

2007-11-27 Thread Cor Nouws
Hi Maurice, Maurice wrote (27-11-2007 20:25) \> how do I convert these xba/xml macro files to plain text files and back? [...] Unless the lib is password protected, I can open it right away in e.g. textpad ... Should work for you also? Kindest regards, Cor -- Cor Nouws Arn

Re: [api-dev] Re: xba <-> plain text

2007-11-27 Thread Cor Nouws
Maurice wrote (27-11-2007 21:33) Cor Nouws wrote: Maurice wrote (27-11-2007 20:25) how do I convert these xba/xml macro files to plain text files and back? [...] Unless the lib is password protected, I can open it right away in e.g. textpad ... Should work for you also? but they are in XML

[api-dev] Bug in 2.4-dev / 680m2 ??

2008-01-23 Thread Cor Nouws
error: Property or Method not found. Seems that ThisComponent is not recognized. Anything changed or a bug? Regards, Cor -- "The Year of 3" -2008- "Het jaar van 3" Cor Nouws Arnhem - Netherlands - nl.OpenOffic

[api-dev] Re: [framework-dev] Bug in 2.4-dev / 680m2 ??

2008-01-23 Thread Cor Nouws
Fridrich Strba wrote (23-1-2008 9:56) Please check a milestone with the CWS thiscomponent integrated. That one should have it fixed. Thanks Fridirch. Good to read it has been fixed already. I'll check with the next download. Cor -- "The Year of 3" -2008- "Het ja

Re: [api-dev] Getting tables in Bookmark (OOBasic)

2008-01-25 Thread Cor Nouws
ar of 3" -2008- "Het jaar van 3" Cor Nouws Arnhem - Netherlands - nl.OpenOffice.org - marketing contact - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [api-dev] Re : [api-dev] Getting tables in Bookmark (OOBasic)

2008-01-25 Thread Cor Nouws
et. Maybe tomorrow. Regards, Cor -- "The Year of 3" -2008- "Het jaar van 3" Cor Nouws Arnhem - Netherlands - nl.OpenOffice.org - marketing contact - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [api-dev] Re : [api-dev] Getting tables in Bookmark (OOBasic)

2008-01-25 Thread Cor Nouws
Cor Nouws wrote (26-1-2008 0:21) Maybe someone has a solution. I also thought of something Would also be perfect :-) Ah, see others jumped in already! -- "The Year of 3" -2008- "Het jaar van 3" Cor Nouws Arnhem - Netherlands - nl.OpenOffice.org

[api-dev] Dev guide from SDK to wiki ? Re: [api-dev] TextDocuments example in the SDK

2008-01-28 Thread Cor Nouws
of 3" -2008- "Het jaar van 3" Cor Nouws Arnhem - Netherlands - nl.OpenOffice.org - marketing contact - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [api-dev] Dev guide from SDK to wiki ? Re: [api-dev] TextDocuments example in the SDK

2008-01-29 Thread Cor Nouws
re, I couldn't because of already enough tasks. However, I hope that others do pick up your hint :-) Regards, Cor -- "The Year of 3" -2008- "Het jaar van 3" Cor Nouws Arnhem - Netherlands - nl.OpenOffice.org - marketing contact

Re: [api-dev] Inserting text inside a bookmark, even in a textTable Cell

2008-02-04 Thread Cor Nouws
issue #73568. My work around: start with the bookmark in templates as a selection bookmark. They remain the same ever after, also if content is set to "". I don't know if that works for your situation ... Regards, Cor -- "The Year of 3" -2008- "Het jaar van

[api-dev] looking for DecimalSeparator in OOoBasic

2008-02-14 Thread Cor Nouws
t = oConfigProvider.createInstanceWithArguments(sAccess, oParm()) 2] http://api.openoffice.org/docs/DevelopersGuide/OfficeDev/OfficeDev.xhtml#1_2_2_2_1_XLocaleData -- "The Year of 3" -2008- "Het jaar van 3" Cor Nouws Arnhem - Netherlands - nl.OpenOffice.org - marketing contact

[api-dev] full name of autotext?

2008-02-15 Thread Cor Nouws
Hi, Am I right if the API only supports the short name of autotext and not the full name? The short name is Shortcut in the UI, and retrieved via ElementNames of the autotextcategory in the API. The full name is Name in the UI. Thanks, Cor -- "The Year of 3" -2008- "Het j

Re: [api-dev] full name of autotext?

2008-02-15 Thread Cor Nouws
"Het jaar van 3" Cor Nouws Arnhem - Netherlands - nl.OpenOffice.org - marketing contact - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [api-dev] Re: looking for DecimalSeparator in OOoBasic

2008-02-15 Thread Cor Nouws
Hi Andreas & Paolo, Thanks a lot. Now I've three methods! Regards, Cor Andreas Saeger wrote (15-2-2008 12:35) Just found a Basic library: -- "The Year of 3" -2008- "Het jaar van 3" Cor Nouws Arnhem - Netherlands - nl.OpenO

[api-dev] show only PDF options dialog without Export dialog

2008-03-27 Thread Cor Nouws
automatic Export dialog thereafter. This is a different question as this one, that learns how to set various options: http://api.openoffice.org/servlets/BrowseList?list=dev&by=thread&from=1886361 Thanks for any hints, Cor -- "The Year of 3" -2008- "Het jaar v

Re: [api-dev] show only PDF options dialog without Export dialog

2008-04-01 Thread Cor Nouws
Hi, I've once more searched the idl reference and the devGuideWiki, but cannot find anything on showing only the PDF options dialog (via Basic). Anyone who knows more on this? Thanks, Cor Cor Nouws wrote (27-3-2008 9:22) Hi *, From OOoBasic I can start PDF export without the op

Re: [api-dev] show only PDF options dialog without Export dialog

2008-04-01 Thread Cor Nouws
friendly Ariel, but take into account that I can use the second best option. Regards, Cor -- "The Year of 3" -2008- "Het jaar van 3" Cor Nouws Arnhem - Netherlands - nl.OpenOffice.org - marketing contact -

[api-dev] Tab KeyHandler / Listener

2008-04-01 Thread Cor Nouws
Cor -- "The Year of 3" -2008- "Het jaar van 3" Cor Nouws Arnhem - Netherlands - nl.OpenOffice.org - marketing contact - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [api-dev] show only PDF options dialog without Export dialog

2008-04-02 Thread Cor Nouws
Indeed. I'm still few steps away from that stage. And looking at time available only can make small progress, but definitely will go that route. Your examples are inspiring :-) Regards Cor -- "The Year of 3" -2008- "Het jaar van 3" Cor Nouws Arnhe

Re: [api-dev] Tab KeyHandler / Listener

2008-04-03 Thread Cor Nouws
ndler(oKeyHandler) End Sub First run RegisterKeyHandler, Enjoy the results, run UnregisterKeyHandler Runtime error: ObjectVariable not set. ?? Cor Ariel Constenla-Haile wrote (1-4-2008 18:20) Hi Cor, Cor Nouws escribió: Hi, Another problem. I want to know if Tab is pressed and then do some

Re: [api-dev] Tab KeyHandler / Listener

2008-04-03 Thread Cor Nouws
Cor Nouws wrote (3-4-2008 17:03) Apart from all other things (below), I have strange thing with global var's (or they with me). Take this: [...] ?? Looks as if the answer was in the snipped text below (now repaired). I ran the various routines from the IDE, changing between the document

Re: [api-dev] Tab KeyHandler / Listener

2008-04-03 Thread Cor Nouws
Hi Ariel, Solved, but one question left: Ariel Constenla-Haile wrote (1-4-2008 18:20) Cor Nouws escribió: Another problem. I want to know if Tab is pressed and then do some stuff. (Basically I want to prevent that Tab adds another row at a table). Simple code as shown below, does work

Re: [api-dev] Tab KeyHandler / Listener

2008-04-04 Thread Cor Nouws
tip! Thanks. I only get used to all this when I started with Java and then C++: the simplicity of OOo Basic hides the knowledge of what interfaces an object I'm finding more and more, just by using the references etc. And you explanation surely helps. [...] Regards, Cor -- "The

Re: [api-dev] Inaccessible text in sheet cell

2008-04-21 Thread Cor Nouws
d not found": txtRange = cell.getStart() txtRange = cell.getEnd() cursor = cell.createTextCursor() 'xray cursor End Sub Regards, Cor -- "The Year of 3" -2008- "Het jaar van 3" Cor Nouws Arnhem - Netherlands - nl.OpenOffice.org - marketing contact ---

[api-dev] Hiding toolbar (from extension) in OOo Basic

2008-05-05 Thread Cor Nouws
chives didn't help me so far. Any idea about the two questions? Thanks a lot, Cor -- "The Year of 3" -2008- "Het jaar van 3" Cor Nouws Arnhem - Netherlands - nl.OpenOffice.org - marketing contact - To

  1   2   3   >