Re: [api-dev] UnoListBoxControl MouseEvent Scrollbar bug ?

2006-02-08 Thread Peter Eberlein
Hi Laurent, Laurent Godard schrieb: Hi Peter thanks for nyour response I assume you're talking about a dialog (or a form?). yes a dialog Why don't you use the event-register in the property-dialog and catch the click doubleclick-events in a function? Scrolling is not triggered there.

Re: [api-dev] UnoListBoxControl MouseEvent Scrollbar bug ?

2006-02-08 Thread Peter Eberlein
Hi Laurent, I assume you're talking about a dialog (or a form?). Why don't you use the event-register in the property-dialog and catch the click doubleclick-events in a function? Scrolling is not triggered there. Peter Laurent Godard schrieb: Hi all in a macro i define a clik mouse

Re: [api-dev] UnoListBoxControl MouseEvent Scrollbar bug ?

2006-02-09 Thread Laurent Godard
Hi Jurgen i would expect that the EventObject.Source member can be helpful to detect where you are. But i am not 100% sure. it returns the UnoListBoxControl object itself diving into it, i could find the border width (1 pixel) and its whole size but no way to find the width of the scrollbar

Re: [api-dev] JavaWebStart and OfficeBean....problems!!!

2006-02-10 Thread Tom Schindl
Maybe I'M not right but I think I can remember the following: You can not bundle the officebean.jar with your application because officebean needs to be loaded from the locally install office because everything is located relative to the position of the jar-File. Tom Roberto Battistoni wrote:

[api-dev] How to get the window of quickstarter

2006-02-10 Thread Didier Dorange-Pattoret
Hello, I try without success to get the window of the quickstarter. Does everybody know its right name ? See my code below. Declare Function FindWindow Lib user32 Alias FindWindowA (ByVal _ lpClassName As long, ByVal lpWindowName As String) As Long Sub Main Print FindWindow(0,Démarrage

[api-dev] Get the original printer

2006-02-13 Thread Martin Thoma
Hello! We have a lot of documents managed by a self-written C++-Application and OO. We manage also the printer-settings by storing them in the document (saying for example: This document should always be print on \\Client1\Printer1). This works fine. But sometimes, when a printer is not

[api-dev] [OO 1.1.4] Imagecontrol with scrollbars

2006-02-13 Thread Felix E. Klee
In a dialog box I want to display an image of known width but of unknown height. Thus there should be a vertical scroll bar allowing the user to scroll the image. Is there some simple way of realizing this? -- Dipl.-Phys. Felix E. Klee Email: [EMAIL PROTECTED] (work), [EMAIL PROTECTED]

[api-dev] A new code snippet

2006-02-13 Thread Didier Dorange-Pattoret
Hi, If you agree a this code allows to Resize an external image located at /home/didier/tmp4/about.bmp with your width for example 16. Sorry for my bad english. Sub Essai ResizeExternalImageByWidth(/home/didier/tmp4/about.bmp,/home/didier/tmp4/about_1616.bmp,16) End sub Sub

[api-dev] JavaWebStart and OfficeBean....problems!!!

2006-02-13 Thread Roberto Battistoni
So is there not a way to set this position? JavaWebStart is not a valid technique to deploy Java App. with OoBean Hi Roberto Hi, Based on the location of jurt.jar, etc., the OOoBean finds other native libraries of the office, as well as the soffice.exe (which is started by OOoBean).

Re: [api-dev] A new code snippet

2006-02-13 Thread Tom Schindl
Hi Didier, if you want to submit a codesnippet to our snippet collection please use Paolos snippet creator and send the created Snipp-ML ;-) to this list. http://www.paolo-mantovani.org/ Tom Didier Dorange-Pattoret wrote: Hi, If you agree a this code allows to Resize an external image

[api-dev] [code snippet] resize an external image

2006-02-13 Thread Didier Dorange-Pattoret
Hi, The code. -- Didier Dorange-Pattoret http://www.dmaths.org http://sesamath.net S'inscrire à la liste de diffusion de dmaths: [EMAIL PROTECTED] Ses archives: http://listes.dmaths.org/wws/arc/users Les Forums: http://www.dmaths.org/modules.php?name=Forums Mailing List in english:

Re: [api-dev] [code snippet] resize an external image

2006-02-13 Thread Tom Schindl
Hi, thanks for the contribution. Your codesnippet has been added to the collection and can be found here: http://codesnippets.services.openoffice.org/Office/Office.ResizeExternalImage.snip I've restructured some parts, could please provide me information about the OO-Version you used to create

[api-dev] Underling as teh spellchecker ?

2006-02-13 Thread Laurent Godard
Hi all is there an API to underline words like the spellchecker does it ? Thanks in advance Laurent -- Laurent Godard [EMAIL PROTECTED] - Ingénierie OpenOffice.org Indesko http://www.indesko.com Nuxeo CPS http://www.nuxeo.com - http://www.cps-project.org Livre Programmation OpenOffice.org,

Re: [api-dev] [code snippet] resize an external image

2006-02-13 Thread Didier Dorange-Pattoret
Hi, Tom Schindl a écrit : Hi, thanks for the contribution. Your codesnippet has been added to the collection and can be found here: http://codesnippets.services.openoffice.org/Office/Office.ResizeExternalImage.snip I've restructured some parts, could please provide me information about the

Re: [api-dev] [code snippet] resize an external image

2006-02-13 Thread Didier Dorange-Pattoret
Hi, I'am the original author of this one : http://codesnippets.services.openoffice.org/Office/Office.WindowsVersion.snip Please, could you write my right name. -- Didier Dorange-Pattoret http://www.dmaths.org http://sesamath.net S'inscrire à la liste de diffusion de dmaths: [EMAIL

Re: [api-dev] Underling as teh spellchecker ?

2006-02-13 Thread Bernard Marcelly
Bonjour Laurent Godard Message du 2006-02-13 14:21: Hi all is there an API to underline words like the spellchecker does it ? See property CharUnderline, there is a choice of constants: com.sun.star.awt.FontUnderline.WAVE, SMALLWAVE, DOUBLEWAVE, BOLDWAVE More info in your french book, page

Re: AW: [api-dev] OfficeBean + Ubion.de + Eclipse Fragment : Relative Path

2006-02-13 Thread Kent Gibson
I played with it again today, and now I believe it might be an eclipse bug. Bugzilla Bug #69620. https://bugs.eclipse.org/bugs/show_bug.cgi?id=69620 All you have to do is create a fragment out of OpenOffice, reasonably deep in a directoy so that the resulting path name is longer than 256.

Re: [api-dev] Underling as teh spellchecker ?

2006-02-13 Thread Laurent Godard
Hi Bernard is there an API to underline words like the spellchecker does it ? See property CharUnderline, there is a choice of constants: com.sun.star.awt.FontUnderline.WAVE, SMALLWAVE, DOUBLEWAVE, BOLDWAVE More info in your french book, page 198 on rev.1 ;) héhé, i used this quite long

AW: AW: [api-dev] OfficeBean + Ubion.de + Eclipse Fragment : Rela tive Path

2006-02-14 Thread Andreas Bröker
Hello Kent, yes - we have this problem with to long path entries in other developed eclipse plugins. This is not an OpenOffice.org problem. Best regards Andreas -Ursprüngliche Nachricht- Von: Kent Gibson [mailto:[EMAIL PROTECTED] Gesendet: Montag, 13. Februar 2006 18:53 An:

Re: [api-dev] Progammatic Frames in the Header

2006-02-14 Thread Kent Gibson
I figured this out. My anchor was not being set correctly. Any non character anchor makes this work. Unless I am reading it incorrectly pg 529 of the developers guide needs to be updated Drawing objects cannot be inserted into headers or footers., I have successfully put an image in a header.

[api-dev] Creating a docking window in Java

2006-02-14 Thread Jérémy Bethmont
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 an UI element with the

Re: [api-dev] Creating a docking window in Java

2006-02-14 Thread Carsten Driesner
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

Re: [api-dev] Progammatic Frames in the Header

2006-02-14 Thread Kent Gibson
yup I will submit it. Give me a couple of days, it still acts funny sometimes. --- Tom Schindl [EMAIL PROTECTED] wrote: Any small codesnippet how this is done would be a great thing for our snippet collection ;-). Tom http://codesnippets.services.openoffice.org/

Re: [api-dev] Creating a docking window in Java

2006-02-14 Thread Jérémy Bethmont
As you can see floaters are not part of the supported window types. The layout manager was designed to handle all kind of window types a modern GUI should support. Therefore you can find types in the IDL files that are currently not supported. In OOo 2.0 the Gallery, Navigator and Styles and

[api-dev] Showing arbitrary part of document or Zooming with Java

2006-02-15 Thread Kent Gibson
I would like to have a tree and when i select a node in this tree I go to a certain arbitrary place in an openoffice document. Where would I start? Model Cursors? If it matters the document could very easily be in read only mode. The developers guide says : 9.7.2 Zooming Zooming is currently

Re: AW: AW: [api-dev] OfficeBean + Ubion.de + Eclipse Fragment : Rela tive Path

2006-02-15 Thread Kent Gibson
becuase of this eclipse problem, I am still wondering if there is any way to set the Ubion.de path relatively, ie relative to the other plugins or trick the openoffice classloader also relatively. --- Andreas Br�ker [EMAIL PROTECTED] wrote: Hello Kent, yes - we have this problem with to

[api-dev] [code snippet] Adding a Combo-box to a Toolbar

2006-02-15 Thread Aidan Butler
?xml version=1.0? !-- $RCSfile: $ last change: $Revision: $ $Author: $ $Date: $ (c)2003 by the copyright holders listed with the author-tags. If no explicit copyright holder is mentioned with a certain author, the author him-/herself is the copyright holder. All rights reserved. Public

[api-dev] writer document properties (File-Properties-) Snippet

2006-02-15 Thread Vincenzo Giuliano
!-- === $RCSfile: index.html,v $ last change: $Revision: 1.15 $ $Author: jsc $ $Date: 2005/05/17 13:41:48 $ (c)2003 by the copyright holders listed with the author-tags. If no explicit copyright holder is mentioned with a certain

Re: [api-dev] Creating a docking window in Java

2006-02-15 Thread Aidan Butler
Hi, I also read through the Programmatic control of Toolbar Items: ComboBox possible? thread, and while I found it useful, it missed out some of the practical steps for creating the toolbar controller. I have attached some code which may be of use below. Compiling this code and registering it

Re: [api-dev] Creating a docking window in Java

2006-02-15 Thread Tom Schindl
Nice work. Would you mind packaging this using the Snippet-Creator and submitting it to our snippet-collection? http://codesnippets.services.openoffice.org/ http://www.paolo-mantovani.org/ Tom Aidan Butler wrote: Hi, I also read through the Programmatic control of Toolbar Items: ComboBox

Re: [api-dev] [code snippet] Adding a Combo-box to a Toolbar

2006-02-15 Thread Tom Schindl
Thanks for your contribution. I rearranged some part of the snippet (moved the xcu things to question although it doesn't fit 100% there but this way we can use XML-Syntax-Highlighting in this section) You can find the snippet using this Link:

Re: [api-dev] Snippet-Collection-News

2006-02-16 Thread Tom Schindl
Frank Schönheit - Sun Microsystems Germany wrote: Hi [EMAIL PROTECTED] com.sun.star.awt.Rectangle} = OO-Basic {%seeshort com.sun.star.awt.Rectangle} = Java The difference to the @see and %see is that using this style only the classname is passed to the output which makes it possible to add

Re: [api-dev] Snippet-Collection-News

2006-02-16 Thread Laurent Godard
Hi, Good catch Frank. Added this functionality for reference just see http://codesnippets.services.openoffice.org/Writer/Writer.ReadDocumentProperties.snip once more ;-) interresting :) would it be possible not to underline import com.sun.star.text.XTextDocument; ? it would be more

[api-dev] Re: Service,interface and property descriptions for UnoObject on runtime

2006-02-16 Thread Vincenzo Giuliano
Tom Schindl wrote: of but can we move the discussion about this on the [EMAIL PROTECTED]. There are much more people reading and dicussing API-Topics than here ;-) Post your code to the [EMAIL PROTECTED] Tom Vincenzo Giuliano wrote: Hi Tom, I have a class java, named

Re: [api-dev] Re: Load Excel file (.xls)

2006-02-16 Thread Andreas Schlüns
Vincenzo Giuliano wrote: Vincenzo Giuliano wrote: Hi ALL, my name is Vincenzo. I have a problem. I try to load excel file (.xls) via java code: PropertyValue[] props = new PropertyValue[2]; props[0] = new PropertyValue(); props[0].Name = FilterName;

Re: [api-dev] Snippet-Collection-News

2006-02-16 Thread Jürgen Schmidt
Tom Schindl wrote: Frank Schönheit - Sun Microsystems Germany wrote: Hi [EMAIL PROTECTED] com.sun.star.awt.Rectangle} = OO-Basic {%seeshort com.sun.star.awt.Rectangle} = Java The difference to the @see and %see is that using this style only the classname is passed to the output which makes

[api-dev] Load Excel file (.xls)

2006-02-16 Thread Vincenzo Giuliano
Hi ALL, my name is Vincenzo. I have a problem. I try to load excel file (.xls) via java code: PropertyValue[] props = new PropertyValue[2]; props[0] = new PropertyValue(); props[0].Name = "FilterName"; props[0].Value = "MS Excel 97"; props[1] = new PropertyValue(); props[1].Name =

Re: [api-dev] Error Code 283 (Java)

2006-02-16 Thread Laurent Godard
Hi Andreas i try to store a writer document as pdf – but i get an exception with the error code 283. What does this mean ? a code snippet ? do you use storeToURL (and not stroreAsURL) method Laurent -- Laurent Godard [EMAIL PROTECTED] - Ingénierie OpenOffice.org Indesko

[api-dev] Re: Load Excel file (.xls)

2006-02-16 Thread Vincenzo Giuliano
Vincenzo Giuliano wrote: Hi ALL, my name is Vincenzo. I have a problem. I try to load excel file (.xls) via java code: PropertyValue[] props = new PropertyValue[2]; props[0] = new PropertyValue(); props[0].Name = "FilterName"; props[0].Value = "MS Excel 97"; props[1] = new

[api-dev] Re: Re:Re: Re: Load Excel file (.xls) (Errata Corrige)

2006-02-16 Thread Vincenzo Giuliano
Vincenzo Giuliano wrote: /**if urlExcelFile don't exists this method throws an Exception*/ public static XModel startExcelFile(String urlExcelFile)throws java.lang.Exception{ - To unsubscribe, e-mail: [EMAIL

[api-dev] Re: Re: Load Excel file (.xls)

2006-02-16 Thread Vincenzo Giuliano
Andreas Schlüns wrote: Vincenzo Giuliano wrote: Vincenzo Giuliano wrote: Hi ALL, my name is Vincenzo. I have a problem. I try to load excel file (.xls) via java code: PropertyValue[] props = new PropertyValue[2]; props[0] = new PropertyValue(); props[0].Name =

[api-dev] Error Code 283 (Java)

2006-02-16 Thread Andreas Bröker
Hello, i try to store a writer document as pdf but i get an exception with the error code 283. What does this mean ? Thanks for any help in advance. Best regards Andreas

[api-dev] XTextLayout

2006-02-16 Thread George Vasiliou
(This is actually a repost from dev@openoffice.org list where I initially posted the message but Tom Schindl suggested that dev@api.openoffice.org is the proper list to send it. So, I am sorry for bothering again those who have subscribed in both lists) I am exploring the possibility of using

AW: [api-dev] Error Code 283 (Java)

2006-02-16 Thread Andreas Bröker
Hello Laurent, yes - storeToURL. The code is ok. We only get the error on one machine. Regards Andreas -Ursprüngliche Nachricht- Von: Laurent Godard [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 16. Februar 2006 15:56 An: dev@api.openoffice.org Betreff: Re: [api-dev] Error Code 283

[api-dev] Re:Re: Re: Load Excel file (.xls)

2006-02-16 Thread Vincenzo Giuliano
Hi ALL, I come to a conclusion. This code start a .xls file (if it exists). I accept any advice. public class LoadExcel { /[EMAIL PROTECTED] null if url don't exists*/ public static XModel startExcelFile(String urlExcelFile)throws java.lang.Exception{ /**Bootstrap*/

[api-dev] Question on installing a scripting engine package meant for every 2.x OOo user ...

2006-02-16 Thread Rony G. Flatscher
Hi there, while experimenting with installing a package (Linux and Windows) containing a new scripting language for OOo (http://www.ooRexx.org) using the Java-based scripting framework, I ran into the following problem: the scripting engine is installed for the current user only, not for

Re: [api-dev] Question on installing a scripting engine package meant for every 2.x OOo user ...

2006-02-16 Thread Jürgen Schmidt
Rony G. Flatscher wrote: Hi there, while experimenting with installing a package (Linux and Windows) containing a new scripting language for OOo (http://www.ooRexx.org) using the Java-based scripting framework, I ran into the following problem: the scripting engine is installed for the

[api-dev] Unanswered Request - Fw: [api-dev] HTML and Spreadsheet - BASIC

2006-02-16 Thread Rudolf Huber
Hello, since I did not get a response to my question below I try again. Also I tested numerous variations to handle the LINK in connection with various filters to store the contents of a web-page in a file of CSV format, I was not successful up-to-now. Maybe somebody can help me. Have a nice

Re: [api-dev] Re: Re: Load Excel file (.xls)

2006-02-16 Thread Jürgen Schmidt
Vincenzo Giuliano wrote: Andreas Schlüns wrote: Vincenzo Giuliano wrote: Vincenzo Giuliano wrote: Hi ALL, my name is Vincenzo. I have a problem. I try to load excel file (.xls) via java code: PropertyValue[] props = new PropertyValue[2]; props[0] = new PropertyValue();

[api-dev] Re: Re: Re: Load Excel file (.xls)

2006-02-17 Thread Vincenzo Giuliano
Jürgen Schmidt wrote: it would helps if you can send the document (if it's not secret) as bug doc with an appropriate issue. Juergen I try again with another files .xls and the problem is dissolved. In the light of facts I agree with Andreas: the file is perhaps corrupted or the file is

AW: AW: AW: [api-dev] OfficeBean + Ubion.de + Eclipse Fragment : Rela tive Path

2006-02-17 Thread Andreas Bröker
Hello Kent, our plugin does not provide such a mechanismen. Regards Andreas -Ursprüngliche Nachricht- Von: Kent Gibson [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 15. Februar 2006 17:38 An: dev@api.openoffice.org Betreff: Re: AW: AW: [api-dev] OfficeBean + Ubion.de + Eclipse

Re: [api-dev] Page Style with Right and Left Pages

2006-02-17 Thread Stephan Wunderlich
Hi Kent, Does anyone have an example of this in Java? I cannot seem to be able to create a document where one side uses a left sided style and the next page uses the right sided style. It ends up using for the whole document the last style loaded with CursorProps.setPropertyValue(

Re: AW: AW: AW: [api-dev] OfficeBean + Ubion.de + Eclipse Fragment : Rela tive Path

2006-02-17 Thread Kent Gibson
alrighty thanks. --- Andreas Br�ker [EMAIL PROTECTED] wrote: Hello Kent, our plugin does not provide such a mechanismen. Regards Andreas -Urspr�ngliche Nachricht- Von: Kent Gibson [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 15. Februar 2006 17:38 An:

Re: [api-dev] FaltXml import export filter

2006-02-17 Thread G. Roderick Singleton
On Fri, 2006-02-17 at 12:16 +0100, M. Niedermair wrote: Hi, i test the java-example FaltXml from the DeveloperGuide (OpenOffice.org2.0_SDK/examples/DevelopersGuide/OfficeDev/FilterDevelopment/FlatXmlFilter_java) under OOo 2.0.1 (debian). I can compile and install the sample and i see

Re: [api-dev] FaltXml import export filter

2006-02-17 Thread Jürgen Schmidt
M. Niedermair wrote: Hi, i test the java-example FaltXml from the DeveloperGuide (OpenOffice.org2.0_SDK/examples/DevelopersGuide/OfficeDev/FilterDevelopment/FlatXmlFilter_java) under OOo 2.0.1 (debian). I can compile and install the sample and i see it in the package manager as active. But

[api-dev] Black Boxing The OfficeBean

2006-02-17 Thread Kent Gibson
I create a Bean with a blank document, and then I take the XTextDocument and render stuff to it. Sometime later I want to show what I have rendered so I do a refresh on the bean (code shown below). Is there a better way to do this? I am worried about performance etc. I saw the refresh interface,

Re: [api-dev] Column width

2006-02-17 Thread Eike Rathke
Hi Vincenzo, On Fri, Feb 17, 2006 at 12:08:41 +0100, Vincenzo Giuliano wrote: Does somebody know how to set the width of column in CALC relatively to the text length? Is it possible to reproduce, via java code, the double click on column which set the column width relatively to the cell

[api-dev] Re: Column width

2006-02-17 Thread Vincenzo Giuliano
Eike Rathke wrote: CodeSnippets are your friends: http://codesnippets.services.openoffice.org/Calc/Calc.SetCellColumnAttributes.snip Eike Ok, thank you Eike. Bye - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [api-dev] FaltXml import export filter

2006-02-17 Thread M. Niedermair
Hi, The filter should be available as DevGuide FlatXML Writer (.fodt). But you need the flatxmlfilterdetection example component as well. i have a problem to compile this component. [EMAIL

Re: [api-dev] Unanswered Request - Fw: [api-dev] HTML and Spreadsheet - BASIC

2006-02-17 Thread Stephan Wunderlich
Hi Rudolf, your basic code inserts an invisible sheet to host your weblink ... changing the line oSheet.IsVisible = FALSE to oSheet.IsVisible = TRUE should show you the sheet Link with the data inside. Hope that helps Regards Stephan Hello, since I did not get a

[api-dev] Re: Column width

2006-02-17 Thread Vincenzo Giuliano
Vincenzo Giuliano wrote: Hi ALL, Does somebody know how to set the width of column in CALC relatively to the text length? Is it possible to reproduce, via java code, the double click on column which set the column width relatively to the cell content? Thank you ALL. Whoever seeks will

[api-dev] Column width

2006-02-17 Thread Vincenzo Giuliano
Hi ALL, Does somebody know how to set the width of column in CALC relatively to the text length? Is it possible to reproduce, via java code, the double click on column which set the column width relatively to the cell content? Thank you ALL.

[api-dev] FaltXml import export filter

2006-02-17 Thread M. Niedermair
Hi, i test the java-example FaltXml from the DeveloperGuide (OpenOffice.org2.0_SDK/examples/DevelopersGuide/OfficeDev/FilterDevelopment/FlatXmlFilter_java) under OOo 2.0.1 (debian). I can compile and install the sample and i see it in the package manager as active. But in 'save as' or

Re: [api-dev] XTextLayout

2006-02-17 Thread George Vasiliou
Oliver Specht wrote: Hi, sorry, but the Writer doesn't provide a com::sun::star::rendering::XTextLayout interface nor does it allow for plugging a different TextEngine. Oops! Bad news for me! But I'd suggest different approach. As you already have a font, why don't you just install this

Re: [api-dev] XTextLayout

2006-02-17 Thread Oliver Specht
George Vasiliou wrote: (This is actually a repost from dev@openoffice.org list where I initially posted the message but Tom Schindl suggested that dev@api.openoffice.org is the proper list to send it. So, I am sorry for bothering again those who have subscribed in both lists) I am exploring

[api-dev] [EMAIL PROTECTED] GUIDE: important things to know about this mailing list

2006-02-17 Thread Michael Hoennig
Dear OpenOffice.org community, This is the monthly reminder of important things to know about the dev@api.openoffice.org mailing list. We, the project leads of the OOo API project, would like to give you some general information to help you with your questions. ***

[api-dev] API design question

2006-02-18 Thread Paolo Mantovani
Hi, the css.util.XSearchable has the methods: findFirst findNext findAll but the css.util.XReplaceable has only the method replaceAll There are any design reasons for this missing? thank you Paolo Mantovani - To

Re: [api-dev] Unanswered Request - Fw: [api-dev] HTML and Spreadsheet - BASIC

2006-02-19 Thread Rudolf Huber
Hi Stephan, thank you for your prompt message. I tried VISIBLE = TRUE also. It shows the the link LINK, but I do not see the contents. The problem seems to be to get the contents into a defined cell. Apparently, I have to enlarge the size of the cell. Is there a method to transfer the contents

Re: [api-dev] OpenOffice Performance Tweaks

2006-02-19 Thread Kent Gibson
oops sorry I dunno how but I pressed the send button. Minutes Milis 10 Sides0,015900 100 Sides 0,2112330 200 Sides 0,51667 31000 400 Sides 1,7 104000 600 Sides 5,26667 316000 800 Sides

[api-dev] [EMAIL PROTECTED] REQUEST: unanswered questions

2006-02-19 Thread Michael Hoennig
Dear OpenOffice.org community, We really would like to see all questions answered, but we need your help to keep track of your questions and their answer status. Thus, if you still have a question unanswered for more than two days, feel free to place a reminder on the list. But maybe you should

Re: [api-dev] FaltXml import export filter

2006-02-19 Thread Jürgen Schmidt
Hi, which gcc version do you use? You need at least gcc 3.0.1 and i would recommend gcc 3.4.1 Juergen M. Niedermair wrote: Hi, The filter should be available as DevGuide FlatXML Writer (.fodt). But you need the flatxmlfilterdetection example component as well. i have a problem to

[api-dev] Error with SampleThesaurus in OpenOffice SDK

2006-02-20 Thread RKVS Raman
Hi, In the SampleThesaurus under OfficeDev/Linguist the following method will crash the OpenOffice for any word other than 'house' . This is because aRes is null. Please see that aRes never becomes null in your implementation else it will crash the program. public XMeaning[] queryMeanings(

Re: [api-dev] FaltXml import export filter

2006-02-20 Thread M. Niedermair
Hi, which gcc version do you use? You need at least gcc 3.0.1 and i would recommend gcc 3.4.1 g++ --version g++ (GCC) 4.0.3 20060212 (prerelease) (Debian 4.0.2-9) Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO

Re: [api-dev] service css.util.SearchDescriptor

2006-02-20 Thread Jürgen Schmidt
Hi Paolo, Paolo Mantovani wrote: Hi all, running this code, in calc: oDesc = ThisComponent.Sheets(0).createSearchDescriptor() print oDesc.dbg_properties you will see a property (among others, obvious): SearchType (integer) This property appears not documented in the IDL:

Re: [api-dev] API design question

2006-02-20 Thread Jürgen Schmidt
Hi Paolo, Paolo Mantovani wrote: Hi, the css.util.XSearchable has the methods: findFirst findNext findAll but the css.util.XReplaceable has only the method replaceAll There are any design reasons for this missing? good question, i don't know. But i assume that XReplaceable is simply a

Re: [api-dev] FaltXml import export filter

2006-02-20 Thread Jürgen Schmidt
M. Niedermair wrote: Hi, which gcc version do you use? You need at least gcc 3.0.1 and i would recommend gcc 3.4.1 g++ --version g++ (GCC) 4.0.3 20060212 (prerelease) (Debian 4.0.2-9) Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying

Re: [api-dev] Unanswered Request - Fw: [api-dev] HTML and Spreadsheet - BASIC

2006-02-20 Thread Stephan Wunderlich
Hi Rudolf, thank you for your prompt message. you are most welcome :-) I tried VISIBLE = TRUE also. It shows the the link LINK, but I do not see the contents. The problem seems to be to get the contents into a defined cell. Apparently, I have to enlarge the size of the cell. Is there a

[api-dev] Adding menus / menu items at Runtime

2006-02-20 Thread Tobias Krais
Hi Carsten, Yes, you can also use Java. The example uses a UNO API, therefore you can use any supported language. sounds very good. At the moment I am reading your document http://specs.openoffice.org/ui_in_general/api/ProgrammaticControlOfMenuAndToolbarItems.sxw and up to now it is easy

Re: [api-dev] service css.util.SearchDescriptor

2006-02-20 Thread Jürgen Schmidt
Hi Paolo, Paolo Mantovani wrote: Hi Jürgen, Alle 09:10, lunedì 20 febbraio 2006, Jürgen Schmidt ha scritto: [...] This property appears not documented in the IDL: http://api.openoffice.org/docs/common/ref/com/sun/star/util/SearchDescrip tor.html Is perhaps this property documented elsewhere?

Re: [api-dev] Adding menus / menu items at Runtime

2006-02-20 Thread Tobias Krais
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 and the implementation

Re: [api-dev] service css.util.SearchDescriptor

2006-02-20 Thread Paolo Mantovani
Hi Jürgen, Alle 09:10, lunedì 20 febbraio 2006, Jürgen Schmidt ha scritto: [...] This property appears not documented in the IDL: http://api.openoffice.org/docs/common/ref/com/sun/star/util/SearchDescrip tor.html Is perhaps this property documented elsewhere? no, it is nowhere

Re: [api-dev] service css.util.SearchDescriptor

2006-02-20 Thread Niklas Nebel
Paolo Mantovani wrote: Unfortunately I would need to understand what kind of values can take this property. 0 to search in formula text, 1 to search in formula results (both will also find non-formula cell content), 2 to search in notes only. This is needed for my Dispatch2Api Recorder

[api-dev] OpenNewView

2006-02-20 Thread Vincenzo Giuliano
Hi ALL, I have a serious problem. I try to open a Calc file in this way XComponent comp= xComponentLoader.loadComponentFromURL(path_file.ods,_default,FrameSearchFlag.AUTO,new PropertyValue[0]); I try to open a new view subsequently PropertyValue[] props = new PropertyValue[1]; props[0] = new

Re: [api-dev] Adding menus / menu items at Runtime

2006-02-20 Thread Carsten Driesner
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

Re: [api-dev] FaltXml import export filter

2006-02-20 Thread M. Niedermair
Hi Jürgen, It is possible, that there is a blank between fdcomp.o and -luno... missing? mmh, probably not it works fine for me You an SDK version which is not prepared to work with gcc 4.x.x. Please check in your sdk/settings.mk file the section for Linux and ensure that COMID=gcc3

[api-dev] Re: Re:Re: Re: Load Excel file (.xls)

2006-02-20 Thread Vincenzo Giuliano
Andreas Schlüns wrote: Does this solve your problems realy ? If it's so - please make realy sure your file is a real xls - file. Your code isnt realy a fix ... it has some other disatvantages. Please use the normal API of OOo - not the command line. As Jürgen already mentione: please file

Re: [api-dev] Re:Re: Re: Load Excel file (.xls)

2006-02-20 Thread Andreas Schlüns
Vincenzo Giuliano wrote: Hi ALL, I come to a conclusion. This code start a .xls file (if it exists). I accept any advice. public class LoadExcel { /[EMAIL PROTECTED] null if url don't exists*/ public static XModel startExcelFile(String urlExcelFile)throws java.lang.Exception{

[api-dev] Re: [SOLVED] [api-dev] Adding menus / menu items at Runtime

2006-02-20 Thread Tobias Krais
Hi Carsten, For explanation: I create a menu called JUDAS and this menu is shown. Then I want to create a menu item called JUDAS_Test and I add it to the menu. But only a separator is shown. When I copy e.g. the File menu into the JUDAS menu (as a submenu), the item JUDAS_Test is suddenly

Re: [api-dev] service css.util.SearchDescriptor

2006-02-20 Thread Paolo Mantovani
Hi Niklas, Alle 12:20, lunedì 20 febbraio 2006, Niklas Nebel ha scritto: Paolo Mantovani wrote: Unfortunately I would need to understand what kind of values can take this property. 0 to search in formula text, 1 to search in formula results (both will also find non-formula cell content),

[api-dev] how to access the autofilter feature ?

2006-02-20 Thread Oliver Brinzing
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I tried to enable the autofilter feature for a named range using oo api ... First I recorded the following macro: - --8 Sub DataFilter() Dim oDoc as Object Dim dispatcher as Object

Re: [api-dev] Java: Getting Access to a menu in menubar

2006-02-20 Thread Carsten Driesner
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 =

Re: [api-dev] C++ and Exeptions: No message-text?!

2006-02-20 Thread Stephan Bergmann
Martin Thoma wrote: Hello! I have some problems concerning exceptions in C++. For example take this code, which just stores a document. If the file already exists or the writing fails, because we want to write on a removable disk which is not inserted, the catch-block is executed, which is

[api-dev] Java: adding functionality to newly created menu item

2006-02-20 Thread Tobias Krais
Hi all, after I created successfully a new menu and menu item I now want to add functionality to the menu item. The functionality should be implemented in Java. Can you tell me where to start to learn doing this, or tell me some package- / interfacenames that are involved in doing this? My goal

Re: [api-dev] Java: adding functionality to newly created menu item

2006-02-20 Thread Tom Schindl
does this snippet help? I don't know but it deals with toolbars. http://codesnippets.services.openoffice.org/Office/Office.AddingACombo_boxToAToolbar.snip Tom Tobias Krais wrote: Hi all, after I created successfully a new menu and menu item I now want to add functionality to the menu item.

[api-dev] Java: Getting Access to a menu in menubar

2006-02-20 Thread Tobias Krais
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 =

Re: [api-dev] Java: adding functionality to newly created menu item

2006-02-21 Thread Tobias Krais
Hi Tom, after I created successfully a new menu and menu item I now want to add functionality to the menu item. The functionality should be implemented in Java. Can you tell me where to start to learn doing this, or tell me some package- / interfacenames that are involved in doing this? My goal

Re: [api-dev] Java: Getting Access to a menu in menubar

2006-02-21 Thread Tobias Krais
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 PropertyValue[] oFileMenuSettings.

RE: [api-dev] C++ and Exeptions: No message-text?!

2006-02-21 Thread Martin Thoma
Hi Daniel, thanks for your reply. Strange, this code throws an exception itself: catch(com::sun::star::uno::Exception e) { Any a = cppu::getCaughtException(); // Another Exception thrown here Don't wonder about that, it's an implementation trick that the exception is internally

Re: [api-dev] Java: Getting Access to a menu in menubar

2006-02-21 Thread Carsten Driesner
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

Re: [api-dev] Re: OpenNewView

2006-02-21 Thread Mathias Bauer
Vincenzo Giuliano wrote: Abstract: Vincenzo Giuliano wrote: I am not able to open new view on calc document Whoever seeks will find. I writed this method which is fit for every OO Document and it opens always the view. what do you think of it? Can I improve it? The code does

<    9   10   11   12   13   14   15   16   17   18   >