Re: [api-dev] Re: [Spam] Re: [api-dev] force the evaluation of the condition of a hidden paragraph

2008-05-19 Thread Fernand Vanrie
Fernand Vanrie wrote: Michael Prochaska wrote: What i meaned was: when the view Hidden Paragraphs not is checked the Hidden Paragraph service do NOT work, even when the condition is true ok, thanks :-) there is no difference if this option is checked or not. that means i have

Re: [api-dev] Re: [Spam] Re: [api-dev] force the evaluation of the condition of a hidden paragraph

2008-05-19 Thread Fernand Vanrie
Michael Prochaska wrote: Michael Prochaska wrote: What i meaned was: when the view Hidden Paragraphs not is checked the Hidden Paragraph service do NOT work, even when the condition is true ok, thanks :-) there is no difference if this option is checked or not. that means i

Re: [api-dev] Text frame properties - reset to default values

2008-05-16 Thread Fernand Vanrie
Robert Vojta wrote: Hallo, I'm trying to reset property values in text frames in my extension (Java), so, the values from text frame style will be used. My steps are ... - set text frame style properties (HoriOrient*) - apply text frame style to frame - reset text frame properties

Re: [api-dev] How to supress the repair document dialogue?

2008-05-15 Thread Fernand Vanrie
Tobias Krais wrote: Hi together, I am opening documents using the API. Unfortunately, some documents seem to be defect. Thus OOo wants to repair these documents on startup. How can I automate this via API. The document should be repaired without request and should not continue with a new file

[api-dev] Re: [Spam] Re: [api-dev] merge table columns example

2008-05-15 Thread Fernand Vanrie
Andrew Douglas Pitonyak wrote: I believe that a text table has different support than a Calc document yes, the columns are build on tabstops par row (Row.TableColumnSeparators() and this stops can been altered for finding the width of a cel i found somewhere the code below ( maybe in

[api-dev] Re: [Spam] Re: [api-dev] How to supress the repair document dialogue?

2008-05-15 Thread Fernand Vanrie
Tobias Krais wrote: Hi Fernand, is it not one of tharguments needed by LoadComponentFromURL for altering the MacroExecutionMode i ues the code below i supose your there must been also a non repair argument ? mFileProperties(0).Name=MacroExecutionMode mFileProperties(0).Value=4

Re: [api-dev] XRenderer.render

2008-04-30 Thread Fernand Vanrie
Tim Parth wrote: -- From: Fernand Vanrie [EMAIL PROTECTED] Sent: Tuesday, April 29, 2008 2:15 PM To: dev@api.openoffice.org Subject: Re: [api-dev] XRenderer.render Tim Parth wrote: -- From

Re: [api-dev] XRenderer.render

2008-04-29 Thread Fernand Vanrie
Tim Parth wrote: -- From: Fernand Vanrie [EMAIL PROTECTED] Sent: Monday, April 28, 2008 11:14 AM To: dev@api.openoffice.org Subject: Re: [api-dev] XRenderer.render Tim Parth wrote: Hi all! Is it possible to use the interface XRender with it's

[api-dev] Reconising haard coded textportions

2008-04-29 Thread Fernand Vanrie
Hallo, Sometimes I need to cleanup writerdocs where some parts are accidentily :-) been hard coded by the user. To clean up the hard coding i uses some basic code i found on the forum and in the Basic Prgrammers Guide ParaEnum = thiscomponent.Text.CreateEnumeration While

Re: [api-dev] XRenderer.render

2008-04-28 Thread Fernand Vanrie
Tim Parth wrote: Hi all! Is it possible to use the interface XRender with it's method render to render a complete TextDocument (swriter) into an image for further use? The documentation is very short an I don't know exactly if it suits my needs and if yes, how to use it. On the forum you

[api-dev] Re: [Spam] Re: [api-dev] XRenderer.render

2008-04-28 Thread Fernand Vanrie
Tim Parth wrote: Hi! Producing a preview works, but I couldn't receive an Image of the rendered document either. My current approach is: exporting a document to PDF Interesting aproach, there is also a OO-project to open PDF as a writerodc, maybe you will find there some usefull information

[api-dev] Re: [Spam] Re: [api-dev] XRenderer.render

2008-04-28 Thread Fernand Vanrie
Marc Santhoff wrote: Am Samstag, den 26.04.2008, 10:41 +0200 schrieb Tim Parth: Hi all! Is it possible to use the interface XRender with it's method render to render a complete TextDocument (swriter) into an image for further use? The documentation is very short an I don't know exactly if

Re: [api-dev] copy/paste with dispatcher

2008-04-24 Thread Fernand Vanrie
Atte André Jensen wrote: Hi this code works in basic first select the textportion and then uses this code: yourdocument = oDoc.CurrentController.Frame dispatcher = createUnoService(com.sun.star.frame.DispatchHelper) dispatcher.executeDispatch(yourdocument, .uno:Copy, , 0, Array()) copies

Re: [api-dev] How Remove a cCstomStyle with the API

2008-04-18 Thread Fernand Vanrie
Fernand Vanrie wrote: Stupid me :-) I was looking at the style itself but we must remove a style a a ellement in a styleFamily like ostyleFamily.removeByName(The style) Sorry for this stupid question Fernand I can handle without any problem all CustomStyles in a writterDoc using Basic

[api-dev] How Remove a cCstomStyle with the API

2008-04-17 Thread Fernand Vanrie
I can handle without any problem all CustomStyles in a writterDoc using Basic and the API BUT : i find no Method to remove a style I can check if the style in no longer in use( whats neceraly to been removed) oStyle.IsInUse = false but even then there is no method to remove this

Re: [api-dev] replacing multiple cursors with image

2008-04-04 Thread Fernand Vanrie
Atte André Jensen wrote: Fernand Vanrie wrote: Thanks for your reply! Atte André Jensen wrote: If someone could give a clue to what I',m doing wrong or help me a bit further, I'd greatly appreciate it. No idee, I think my problems might relate to the advice you gave me last week

Re: [api-dev] repeat part of document

2008-03-28 Thread Fernand Vanrie
Atte André Jensen wrote: Hi I'm working with the python api and am trying to repeat part of a document, but can't figure out how to. Supposed I have the following in my document: ###BEGIN_MARKER### This should be repeated 3 times ###END_MARKER### Using the SearchDescriptor service I'm able

[api-dev] Referencing portions in a Writerdoc containing more than 1 paragraph

2008-03-11 Thread Fernand Vanrie
I am working with DataBase driven content who is first loaded from a DataBase into a Writter doc. Then the content can been altered. After the Writer Doc is distributed , the altered content has to been written back to the dataBase. I know how to do this using Basic Code and using Set

[api-dev] Re: [Spam] Re: [api-dev] Changing UI defaults

2008-03-06 Thread Fernand Vanrie
Andre Heine wrote: Hello Fernand, have a look into the OOdeveloperGuide, Section 16 Configuration Management. Am Mittwoch, 5. März 2008 10:29 schrieb Fernand Vanrie: Hello, For some reason, when adding a border to a picture the spacing to Contents is set to 0,5mm. This is a sort off

[api-dev] Changing UI defaults

2008-03-05 Thread Fernand Vanrie
Hello, For some reason, when adding a border to a picture the spacing to Contents is set to 0,5mm. This is a sort off nonsence because in most cases we want a border around a picture and not a whitespace between the picture and the border. I suppose the fefault settings of this UI behavior

Re: [api-dev] how to create instances of new-style Services with non-default constructors

2008-02-28 Thread Fernand Vanrie
Stephan Bergmann wrote: Peter Eberlein wrote: Hi, I stumbled over Services, which (so I guess) have to be created with the ServiceManager.createInstanceWithArguments(AndContext)() method. for example: http://api.openoffice.org/docs/common/ref/com/sun/star/mail/MailMessage.html So the

Re: [api-dev] using a textcursor

2008-02-21 Thread Fernand Vanrie
Jonathan Kaye wrote: Hi all, Thanks to the wonderful help I received from Fernand and Christoph I have a macro that takes a cell, emboldens the characters up to a fullstop and leaves the remainder in normal weight. My own modest contribution was to then remove the full stop so a cell like

Re: [api-dev] xStorable.getLocation() return old MS-DOS style path - How to solve?

2008-02-20 Thread Fernand Vanrie
Tobias Krais wrote: Hi together, I have a litte application and need to know the full path of the current document. Thus I use the XStorable interface. Using the xStorable.getLocation() method returns on a Windows XP system (using OOo 2.3): file:/F:/DOKUME1/Tobias/EIGENE1/... in Basic i use

Re: [api-dev] Re: working with objects

2008-02-19 Thread Fernand Vanrie
Jonathan Kaye wrote: Jonathan Kaye wrote: snip Hi Fernand, Thanks for the reference. I had a look but there's a huge amount of material and I didn't really see anything relevant to the situation I described. Can you give me a hint as to how to define a substring of an object that is itself

Re: [api-dev] working with objects

2008-02-18 Thread Fernand Vanrie
Jonathan Kaye wrote: Hi again, I'm now trying to get my head around how objects work in macros. I'm trying to write a subroutine that will take the contents of a cell and embolden the text up to a fullstop and leave the rest of the string unchanged. Borrowing shamelessly from Andrew's excellent

Re: [api-dev] inserting character at cursor using a Calc macro

2008-02-08 Thread Fernand Vanrie
Jonathan Kaye wrote: Hi all, I am making slow progress on understanding the ins and outs of OOo Basic. I have written the following macro which seems to work: Code: Sub oe ' Appends the character œ at the end of selected cell Dim oDoc As Object Dim oCell As Object Dim oSheet As Object Dim here

Re: [api-dev] Re: inserting character at cursor using a Calc macro

2008-02-08 Thread Fernand Vanrie
Jonathan Kaye wrote: Fernand Vanrie wrote: snip I really did try and couldn't any reference to specifying the current cursor position. I'm sure it's in there somewhere but I can't guess what it's called. Is there a reference manual for OOo Basic that includes all the built-in properties

Re: [api-dev] CustomShapes not visible after drawing with API

2008-01-30 Thread Fernand Vanrie
Fernand Vanrie wrote: Hallo, With older versions off OO ( now i work under Windows XP , OO 2.3.1 ) i could draw CustomShapes in a WriterDoc using basic code and the API. Using the same code I endup with a invisible shape who only can be focused with the navigator' Xraying a manualy placed

Re: [api-dev] CustomShapes not visible after drawing with API

2008-01-30 Thread Fernand Vanrie
=i85724 But this won't help you now, I suggest that you create a com.sun.star.drawing.RoundRectangle instead of a CustomShape. Best regards, Sven Fernand Vanrie wrote: Hallo, With older versions off OO ( now i work under Windows XP , OO 2.3.1 ) i could draw CustomShapes in a WriterDoc using

Re: [api-dev] Added WriterDocumentInfo Property can not been changed

2008-01-30 Thread Fernand Vanrie
Fernand Vanrie wrote: SOLVED Stupid me : the variable stays empty :-) Sorry for bothering everyone with my stupidity Fernand I trye to change the content of Document.Info Properties but using the code below gives me an basic error: Inadmisible value or data type mismatch

[api-dev] CustomShapes not visible after drawing with API

2008-01-29 Thread Fernand Vanrie
Hallo, With older versions off OO ( now i work under Windows XP , OO 2.3.1 ) i could draw CustomShapes in a WriterDoc using basic code and the API. Using the same code I endup with a invisible shape who only can be focused with the navigator' Xraying a manualy placed sha pe ans one by the

[api-dev] Re: [Spam] [api-dev] Using TextFields

2008-01-25 Thread Fernand Vanrie
Marco Castillo wrote: Dear list: I'm inserting textfields into a Text Document. At this point I can create a Text Field and I can insert one text field into a Write Document. I use the following code to get a valid text field: private XDependentTextField createTextField(XMultiServiceFactory

[api-dev] Limited clipboard Memory in BasicIDE

2008-01-25 Thread Fernand Vanrie
Hello, Found a limitation of 64.000 bytes when copying code lines in an to the basic IDE. under Windows The cntrl-C fills the clipboard, Cntrl-V does nothing in the IDE but function well in other documents Is this behaviour normal or do i fill a issue ? Fernand

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

2008-01-23 Thread Fernand Vanrie
Cor Nouws wrote: Hi *, Cross-posting for convenience ;-) In 2.3.1 I can have the following line in the Basic IDE oBTWAddress = ThisComponent.getCurrentSelection.getRangeAddress and run from there. In 2.4-dev (690m2) it runs fine from Tools|Macro's|Run, but starting in the IDE produces a

[api-dev] How to find the height of merged TextTable Cells

2008-01-09 Thread Fernand Vanrie
After strugling with miy lack of brains i found a way to get the width of a merged TextTabla Cell [code] Twidth = oViewCursor.TextTable.width TTotalpercent = oViewCursor.TextTable.TableColumnRelativeSum Kindex = asc(left(oViewCursor.cell.cellname,1))-65 Rindex =

[api-dev] Re: [Spam] Re: [api-dev] How to unselect a current sleection

2008-01-08 Thread Fernand Vanrie
Bernard Marcelly wrote: Message de Fernand Vanrie date 2008-01-07 12:26 : Hei, I need the current selection made by the UI but after I worked on the object I wont to UNselect the slection made by the UI so in basic: object = thiscomponent.getcurrentselection i do somthing with the object

[api-dev] How to now when a structure is empty ?

2008-01-08 Thread Fernand Vanrie
For retrieving the demensions of an TextTablecell i uses : CurRow.TableColumnSeparators() who gives me a structure widt isVisible and Position of all the columns off the row. when the cells are merged then there is no longer a Separator position. Xraying the structure says its empty but

Re: [api-dev] Re: [Spam] Re: [api-dev] How to unselect a current sleection

2008-01-08 Thread Fernand Vanrie
Marc Santhoff wrote: Am Dienstag, den 08.01.2008, 13:44 +0100 schrieb Fernand Vanrie: its in a writer doc where a picture is selected and i want to protect this picture from user alternation by placing a simple macro on it who says do not move and exits . But after exiting the sub

Re: [api-dev] XTextDocument - Mouse double click (XTextTable, XCell)

2008-01-07 Thread Fernand Vanrie
Robert Vojta wrote: Hallo all, is there an easy way how to obtain object from XTextDocument, which received mouse double click event? I would like to know in which XCell (in XTextTable) this event happend. My goal is to open special window for XTextTable's XCell editing. have a look on the

[api-dev] How to unselect a current sleection

2008-01-07 Thread Fernand Vanrie
Hei, I need the current selection made by the UI but after I worked on the object I wont to UNselect the slection made by the UI so in basic: object = thiscomponent.getcurrentselection i do somthing with the object and now I hav to unselect the object Thanks for any hint Fernand

[api-dev] Running a document-stored macro from globalscope

2007-11-27 Thread Fernand Vanrie
Hallo, I try to copie t dialoglibrary from the globalscope.dialoglibraries to the dialoglibraries in a Document. When the macro is run from in the Document then i have acces to globalscope.dialoglibraries and the libraries stored in the document named dialogllibraries and can do the copy

[api-dev] Scale or RelativeHeight not acesable by API

2007-11-19 Thread Fernand Vanrie
Hallo, Sinds a while I know that the scale viewed in the UI can not be found by the api (oGraphic.getpropertyValue(RelativeHeight) gives always zero) Thats not a problem when we can calculate the scale using the original pixel size.or the actualSize But presently i found thats not

Re: [api-dev] Scale or RelativeHeight not acesable by API

2007-11-19 Thread Fernand Vanrie
Fernand Vanrie wrote: Hallo, Sinds a while I know that the scale viewed in the UI can not be found by the api (oGraphic.getpropertyValue(RelativeHeight) gives always zero) Thats not a problem when we can calculate the scale using the original pixel size.or the actualSize But presently i

[api-dev] IO expection error

2007-11-15 Thread Fernand Vanrie
Halo, We have a unsaved Writerdoc oTemplate opened from a Template (Untitled) , when saving it to a propper Writter doc we run from time o time into a IO-execption error using the folowing line of basic code oTemplate.storeToURL( ConvertToURL(sfile), Array( MakePropertyValue(FilterName,

Re: [api-dev] IO expection error

2007-11-15 Thread Fernand Vanrie
Cor Nouws wrote: Hi Fernand, Fernand Vanrie wrote (15-11-2007 11:43) We have a unsaved Writerdoc oTemplate opened from a Template (Untitled) , when saving it to a propper Writter doc we run from time o time into a IO-execption error using the folowing line of basic code

Re: [api-dev] IO expection error

2007-11-15 Thread Fernand Vanrie
Bernard Marcelly wrote: Message de Fernand Vanrie date 2007-11-15 11:43 : Halo, We have a unsaved Writerdoc oTemplate opened from a Template (Untitled) , when saving it to a propper Writter doc we run from time o time into a IO-execption error using the folowing line of basic code

Re: [api-dev] height/width of table cells in a complex XTextTable

2007-10-12 Thread Fernand Vanrie
ianmcr wrote: Thanks for the link. However, I need to parse the XTextTable directly via the API (ie.without saving an odt file etc). As I understand it Writer2Latex converts the contents of the odt. Is this correct? no when used as exportfilter it works from within a writerdoc Fernand

Re: [api-dev] height/width of table cells in a complex XTextTable

2007-10-11 Thread Fernand Vanrie
ianmcr wrote: I'm continuing to work on an export module for generating accessible html. We currently generate the correct html for simple tables - (ignoring cell properties such as width/height etc). So each input table must have a regular structure without merged/split cells. We now need to

Re: [api-dev] Embedded sound file gives nullobject

2007-10-04 Thread Fernand Vanrie
Bernard, thanks for your repli Bernard Marcelly wrote: Message de Fernand Vanrie date 2007-10-03 17:12 : Hallo, Tery to play a emmbed sound file from with in a basic macro first try = xraying the object gives a nullobject ??? is this a xray problem or is the embedfile somthing more

[api-dev] Embedded sound file gives nullobject

2007-10-03 Thread Fernand Vanrie
Hallo, Tery to play a emmbed sound file from with in a basic macro first try = xraying the object gives a nullobject ??? is this a xray problem or is the embedfile somthing more special ?? Thanks for any hint Fernand - To

Re: [api-dev] Basic ID opens after closing Dialog

2007-09-24 Thread Fernand Vanrie
Telefon:+49 (0)69 979 466 23 VoIP (SIP): [EMAIL PROTECTED] Fax:+49 (0)32 22 11 64 788 Email: [EMAIL PROTECTED] / [EMAIL PROTECTED] Internet: www.helge.kraak.info Am 14.09.2007 um 09:15 schrieb Fernand Vanrie: Helge, Thanks for this information, my problems ar cenrtenlay related

Re: [api-dev] Hidden document Page style

2007-09-24 Thread Fernand Vanrie
Laurent Godard wrote: Hi all using OOoBasic if i modify the Standard pageStyle, the changes are taken into account only if the documebt has not been created in Hidden=true mode (eg. changing marges orientation) do you confirm ? NO, but what is the point of a page layout in hidden mode :-)

Re: [api-dev] Insert image in textframe visibility

2007-09-21 Thread Fernand Vanrie
Laurent Godard wrote: Hi again Any way to tell an image i insert in a TextFrame to be visible by default ? (i would prefer get rid of the dispatcher call) digging with Xray on my image i find, when it is invisible image.LayerName = Hell If set to foreground manually image.LayerName =

Re: [api-dev] Document reflow and updating the ToC

2007-09-20 Thread Fernand Vanrie
Mirko Nasato wrote: Sander Marechal wrote: Or is there a way to get notified when OOo has finished reflowing and laying out the document, so I can wait for it? adding some kind off listener to the dociument ?,I do not now wich can do the job but one off the list below must do the job

Re: [api-dev] Basic ID opens after closing Dialog

2007-09-18 Thread Fernand Vanrie
PROTECTED] Internet: www.helge.kraak.info Am 17.09.2007 um 19:25 schrieb Fernand Vanrie: Helge Kraak wrote: Hi Fernand, in my case it was a code mistake caused by myself. Please look again at the issue I linked to and read Frank Schönheits comment. Maybe you made the same mistake. Hallo

Re: [api-dev] Basic ID opens after closing Dialog

2007-09-17 Thread Fernand Vanrie
979 466 23 VoIP (SIP): [EMAIL PROTECTED] Fax:+49 (0)32 22 11 64 788 Email: [EMAIL PROTECTED] / [EMAIL PROTECTED] Internet: www.helge.kraak.info Am 14.09.2007 um 09:15 schrieb Fernand Vanrie: Helge, Thanks for this information, my problems ar cenrtenlay related to listeners who

Re: [api-dev] Basic ID opens after closing Dialog

2007-09-14 Thread Fernand Vanrie
] / [EMAIL PROTECTED] Internet: www.helge.kraak.info Am 13.09.2007 um 18:17 schrieb Fernand Vanrie: I have a very complex procedure using a Dialog with listeners and a peer window for showing pictures for a on nown reason, (was not happening befiore) when I close the dialog odialog.endexecute I

[api-dev] Basic ID opens after closing Dialog

2007-09-13 Thread Fernand Vanrie
I have a very complex procedure using a Dialog with listeners and a peer window for showing pictures for a on nown reason, (was not happening befiore) when I close the dialog odialog.endexecute I get back at the piont where I started the Dialog (odialog.execute) but the oo-basic editor

Re: [api-dev] Complex toolbars

2007-09-11 Thread Fernand Vanrie
DIetmar, I recieved your mail on my personal mail adress but when responsing to the sender the mail is still retuned with a permanent error message - The following addresses had permanent fatal errors - your tiscali accoent - Transcript of session follows - ... while

Re: [api-dev] Complex toolbars

2007-09-10 Thread Fernand Vanrie
Hallo Dietmar, For months i tryed to contact you, but your email adress founded on your site gives me permanent errors I have some proposals (ready to use code) to extent your borderliner macro Maybe you can contact me on my personal email [EMAIL PROTECTED] Greetz Fernand Vanrie

Re: [api-dev] Problem of IllustrationIndex usage in Visual Basic 6.0

2007-09-07 Thread Fernand Vanrie
to the image/table i.e. it is independent text immediate below/after the image/table. Please clarify in case we have to follow some other way or have to set something in settings. regards, Sandy On 9/6/07, Fernand Vanrie [EMAIL PROTECTED] wrote: Sandeep Raghuvanshi wrote: Hi All, I am

Re: [api-dev] Problem of IllustrationIndex usage in Visual Basic 6.0

2007-09-06 Thread Fernand Vanrie
Sandeep Raghuvanshi wrote: Hi All, I am new to OpenOffice API but having experience in MS tech as well as Sun technologies. Right now I am trying my hands on OpenOffice API implementation in Visual Basic and one of my task is to generate the list of figures available in the document and for

Re: [api-dev] NodePath-name for LanguageSettings

2007-09-06 Thread Fernand Vanrie
Mathias Bauer wrote: Fernand Vanrie wrote: Ok: after installing the latest stable version under Windows i can be concusif: The Language settings are lost after changing them wit the UI and with the API and closing the quickstarter or when working without the quickqstarter on the other

Re: [api-dev] Re: NodePath-name for LanguageSettings

2007-09-06 Thread Fernand Vanrie
Andreas Saeger wrote: Fernand Vanrie wrote: [...] I now suppose OO find this setting in the famous default doc where also the default-styles are stored. I try now to changes the default-doc and see if i can changes the default-Languages Settings this way Fernand AFAIK

Re: [api-dev] Re: NodePath-name for LanguageSettings

2007-09-06 Thread Fernand Vanrie
somewhere What am i doing wrong ? Thanks for your patience Fernand Andreas Saeger wrote: Fernand Vanrie wrote: Andreas Saeger wrote: yep that is what we plans to to on company-level. Its very hard to install and maintain over 100 OO-instalations in a countery like Belgium who uses

Re: [api-dev] Re: NodePath-name for LanguageSettings

2007-09-06 Thread Fernand Vanrie
Adreas, forgot my previous message i got the location now (i suppose after restarting OO) your code works fine ! sorry Fernand Fernand Vanrie wrote: Andreas, Thanbks for the code below but there is a problem i mad a compagny template default so when opening a new writerdoc i have

Re: [api-dev] Re: NodePath-name for LanguageSettings

2007-09-06 Thread Fernand Vanrie
Fernand Vanrie wrote: Andreas, forgot my previous message i got the location now (i suppose after restarting OO) your code works fine ! but the property is read-only and the goal is to change this setting with the API , do you see any workaround ? sorry Fernand Fernand Vanrie wrote

Re: [api-dev] Re: NodePath-name for LanguageSettings

2007-09-06 Thread Fernand Vanrie
Andreas, you made my day, no it works like a charme, do not realy understand how it works but it works :-) thanks a lot Fernand Andreas Saeger wrote: Fernand Vanrie wrote: Fernand Vanrie wrote: Andreas, forgot my previous message i got the location now (i suppose after

Re: [api-dev] NodePath-name for LanguageSettings

2007-09-05 Thread Fernand Vanrie
Thomas Lange - Sun Germany - ham02 - Hamburg wrote: Hello Fernand, the my code is now somthing like: Sub ChangeSystemLanguage dim aArgs(0) as Object dim aPropValue as new com.sun.star.beans.PropertyValue xconfig = createunoservice(com.sun.star.configuration.ConfigurationProvider)

Re: [api-dev] NodePath-name for LanguageSettings

2007-09-05 Thread Fernand Vanrie
the setting after a new instalation, and inposible to changes this setting. I now suppose OO find this setting in the famous default doc where also the default-styles are stored. I try now to changes the default-doc and see if i can changes the default-Languages Settings this way Fernand Fernand

[api-dev] NodePath-name for LanguageSettings

2007-09-04 Thread Fernand Vanrie
For changing the 'use of systemdialogs i found somewher the correct name of the Nodpath and used in basic coding like: xconfig = createunoservice(com.sun.star.configuration.ConfigurationProvider) aPropValue.Name = nodepath aPropValue.Value = org.openoffice.Office.Common/Misc aArgs(0) =

Re: [api-dev] NodePath-name for LanguageSettings

2007-09-04 Thread Fernand Vanrie
Thomas Lange - Sun Germany - ham02 - Hamburg wrote: Thomas, thanks a lot the my code is now somthing like: Sub ChangeSystemLanguage dim aArgs(0) as Object dim aPropValue as new com.sun.star.beans.PropertyValue xconfig = createunoservice(com.sun.star.configuration.ConfigurationProvider)

Re: [api-dev] How to simulate Ctrl-Enter while inserting data into spreadsheet cells

2007-08-30 Thread Fernand Vanrie
Reinhold Merk wrote: halo, i used oLogText.insertControlCharacter(oLogCursor,com.sun.star.text.ControlCharacter.PARAGRAPH_BREAK,False) so i supose there must be a similar ControlCharacte to meet your needs hop it helps a bit Fernad Hi everybody, i'm parsing data from a csv-file and

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

2007-07-24 Thread Fernand Vanrie
Fernand Vanrie schreef: Cor Nouws schreef: Hi Fernand, Fernand Vanrie wrote: When I use the filepicker (com.sun.star.ui.dialogs.FilePicker) to choose a name/directory, it doesn't show the given name, when there is no other file of the same type in the directory. See http

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

2007-07-23 Thread Fernand Vanrie
Cor Nouws schreef: Hi Fernand, Fernand Vanrie wrote: When I use the filepicker (com.sun.star.ui.dialogs.FilePicker) to choose a name/directory, it doesn't show the given name, when there is no other file of the same type in the directory. See http://www.openoffice.org/issues/show_bug.cgi

[api-dev] Current Screen Size under WindowsXP

2007-07-12 Thread Fernand Vanrie
Hallo, HOw can I find out the Current ScreenSize of o Window XP box using the OO-api and starbasic ? Thanks for any hint Fernand - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[api-dev] MODEL and CONTROL have different size ?why have

2007-07-12 Thread Fernand Vanrie
Hallo again, Recantly i experienced that the Model and the Control of an dialog ellement have different sizes more: when setting the userGUI scaling to 100% then the ratio between Model and Control is 1.95 for the Vertical dimensions 1.62 for the Horizontal dimensions This ratio's

Re: [api-dev] MODEL and CONTROL have different size ?why have

2007-07-12 Thread Fernand Vanrie
Paolo Mantovani wrote: Hi Fernand, Alle 11:11, giovedì 12 luglio 2007, Fernand Vanrie ha scritto: Hallo again, Recantly i experienced that the Model and the Control of an dialog ellement have different sizes more: when setting the userGUI scaling to 100% then the ratio between Model

[api-dev] Current Screen Size under WindowsXP

2007-07-12 Thread Fernand Vanrie
Hallo, HOw can I find out the Current ScreenSize of o Window XP box using the OO-api and starbasic ? Thanks for any hint ok: found a solution miself awttoolkit.getdesktopwindow always gives null object so: useless a workaround at condition the OO-aplication is diplayed at full screen sie:

Re: [api-dev] Resetting to default character style

2007-07-12 Thread Fernand Vanrie
ashok _ wrote: Have you thought of using the DispatchHelper api ? Something like (in basic): dim args(1) as new com.sun.star.beans.PropertyValue args(0).Name = Template args(0).Value = Default args(1).Name = Family args(1).Value = 2 dispatcher.executeDispatch(document, .uno:StyleApply, , 0,

[api-dev] How to FIX the screen position of OO-dialogs

2007-06-28 Thread Fernand Vanrie
i have a project where i zoom in an out images presented is a OO-dialog using tha API and OO basic when the Iamge-sizes become to big to fit in the dialog, i have to rezise constantly he dialog but the Gui is puting the resised dialog everytime in the middle of miy screen with the unwanted

Re: [api-dev] Extracting/Handling embedded objects

2007-06-27 Thread Fernand Vanrie
ian_mcr123 wrote: Hi, I am working on an export filter for writing accessible html. First I have to mention that there is already a very exelent export filter available: Henrik Just's Writer2latex http://fc.hj-gym.dk/~hj Henrik is currently also working on extracting images etc.. I

Re: [api-dev] Getting the parent of a dialog

2007-05-22 Thread Fernand Vanrie
Zbigniew Banach wrote: Hi folks, I'm working on an application basically made up of a number of OOo macros (in Python) and I've run into problems working with dialogs. What I'm trying to do is have a non-modal dialog that will be permanently displayed to the user to show application-related

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

2007-05-21 Thread Fernand Vanrie
Michael Hoennig wrote: 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

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

2007-05-21 Thread Fernand Vanrie
Bernard Marcelly wrote: Message de Fernand Vanrie date 2007-05-21 10:09 : I am still waiting for some information about the logic off how csv data-files are imported into a OO-flat-text-database the format of the columns depend one data found on the second row of the imported file

Re: [api-dev] finding header and footer xtext for each page

2007-05-07 Thread Fernand Vanrie
ian_mcr123 wrote: Hi, I'm working on an export filter so I enumerate all paragraphs in a document and then process each paragraph. This works for the xtext content of each paragraph. I now need to find the xtext for the header and footer. I experimented with the following - I check that

Re: [api-dev] BASE text-importfilter

2007-05-07 Thread Fernand Vanrie
Frank Schönheit - Sun Microsystems Germany wrote: Hi Fernand, Huh? The extension should be *completely* irrelevant to this, at least this is how it was designed years ago. Are you saying that if you rename the .csv to .txt, then the whole thing stops working? not entirely

Re: [api-dev] BASE text-importfilter

2007-05-03 Thread Fernand Vanrie
Frank Schönheit - Sun Microsystems Germany wrote: Hi Fernand, Needs some information about how the columns from a text-database are defined when linking to a csv file until OO 1. the text-importfilter whas looking at row 2 and gives evry column a format coresponding to the

Re: [api-dev] BASE text-importfilter

2007-05-03 Thread Fernand Vanrie
Frank Schönheit - Sun Microsystems Germany wrote: Hello Fernand, Thanks for this quick respons, but : late yesterday evening I found out that this import mechanism is indeed still in place but only for CVS files and not for TXT or User named- extentions I wronly supposed that this 3

[api-dev] BASE text-importfilter

2007-05-02 Thread Fernand Vanrie
Hallo, Needs some information about how the columns from a text-database are defined when linking to a csv file until OO 1. the text-importfilter whas looking at row 2 and gives evry column a format coresponding to the caharacters where been found in the csv file

Re: [api-dev] Remove rendered graphics from dialogs

2007-04-16 Thread Fernand Vanrie
Thomas Krumbein wrote: Hey, I am working on a project, in which I display embedded graphics of a writer-document in a dialog. With some help of this list (spezial thanks to Fernand ;-) ) I can now show the embedded graphics dirct on the dialog. I use for this the following code: REM

[api-dev] Re: [Spam] [api-dev] ActualSize return 0 on OOo 2.2

2007-04-12 Thread Fernand Vanrie
Roberto João Lopes Garcia wrote: Hellow The com.sun.star.text.TextGraphicObject 's property ActualSize is set 0 in both Height and Width when accessed whith a Basic Program in OpenOffice 2.2. (Images in an .odt Writer document) This does not happen in OpenOffice 2.1 I search for a issue

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

2007-04-11 Thread Fernand Vanrie
Cor Nouws wrote: Hi, I've a dialog, and add controls with the code. Now I also want to remove control with the code. What I've got is this: oDlgModel.removeByName(controlName) oContrl = oDocDlg.getControl(controlName) oDocDlg.removeControl(oContrl) Result: - control does not exist on

Re: [api-dev] ImageURL in a UnoControlImageControlModel

2007-03-19 Thread Fernand Vanrie
Frank Schönheit - Sun Microsystems Germany wrote: Hi Fernand, Did you find the respective property, or was this property really not-NULL? I.e., is the object returned from getGraphFromStream not-NULL? If so, does XRay also tell you a valid Type property value of the Graphic object? If so,

[api-dev] MOving-Draging DialogElements with the Mouse

2007-03-19 Thread Fernand Vanrie
Hey all, ,I am working on a solution to have a more professional way to place and crop Images in a WriterDoc. , So I put the Image in a DialogImageControl and make the cropping visible with four DialogLineControl's. , The DialogLineControl's are now moved with pressing a buttom,

Re: [api-dev] ImageURL in a UnoControlImageControlModel

2007-03-15 Thread Fernand Vanrie
Andrew Douglas Pitonyak wrote: Fernand Vanrie wrote: Need to show Embeded Images in a UnoControlImageControlModel. Giving a normal URL to the ImageURL property works fine, but Internal URL's (from embedded Images) do not works Is there a workaround ? Can a internal URL been transformed

Re: [api-dev] ImageURL in a UnoControlImageControlModel

2007-03-15 Thread Fernand Vanrie
Frank Schönheit - Sun Microsystems Germany wrote: Hi Fernand, Need to show Embeded Images in a UnoControlImageControlModel. Giving a normal URL to the ImageURL property works fine, but Internal URL's (from embedded Images) do not works Is there a workaround ? Can a internal URL been

Re: [api-dev] ImageURL in a UnoControlImageControlModel

2007-03-15 Thread Fernand Vanrie
Frank Schönheit - Sun Microsystems Germany wrote: Hi Fernand, The Xgrahpic object getGraphFromStream optained from the Second Function gives no Image in the ImageControlModel In both cases i found (with Xray) the object in the ImageControlModel but see no reason why the first shows

Re: [api-dev] ImageURL in a UnoControlImageControlModel

2007-03-15 Thread Fernand Vanrie
Ok Frank, Found the solution :-) I putted the render stuff in the listener and now it works ! One more question: why can i paint in dialogwindow and not the ImageControlModel window ? thanks Fernand sub Render oDialogControl = createUnoService( com.sun.star.awt.UnoControlDialog )

[api-dev] ImageURL in a UnoControlImageControlModel

2007-03-14 Thread Fernand Vanrie
Need to show Embeded Images in a UnoControlImageControlModel. Giving a normal URL to the ImageURL property works fine, but Internal URL's (from embedded Images) do not works Is there a workaround ? Can a internal URL been transformed to a normal URL ? Tryed to use the Graphic-object of

<    1   2   3   4   >