Re: [api-dev] Storing Annotations with a Writer Document?

2006-01-16 Thread sos
see the code codesnipptes http://codesnippets.services.openoffice.org/Writer/Writer.InsertRemoveAnnotations.snip At 11:45 16/01/2006, you wrote: I'd like to store annotations (e.g. please check the spelling of the customer's name) with an OO writer document. What functionality is there for

[api-dev] LETTER FORM question

2005-12-14 Thread sos
Everyone should know that the Mail Merge Wizard is usseless for complex task and page layouts. Happly we have still the famous Letter Form question on printing from File print. Problems is when the user had said that he not wonts to see this option again than he is forever in problems to uses

Re: [api-dev] TextPortion Enumeration not working with redlines

2005-10-07 Thread sos
Aidan, I tryed out your macro and indeed: strange behaviour but I think its comming from the fact that in the document there is just your paragraph with only 2 words delete and instert the document starts with this redline stuff put some extra text or even a new paragrph before the

[api-dev] Wrinting text to Database, Best practices ?

2005-09-15 Thread sos
Hello, Must save some pieces of text (mostly paragraphs) from in a OOwriterDocument into a Database. I, as non pro coder, looked at different sources found different solutions but have still some questions about the best way to do save to a database - What type of datasourse is the most

Re: [api-dev] Sequence of Texttables

2005-06-15 Thread sos
At 14:02 14/06/05, you wrote: Martin Thoma wrote: Hello! I have a text-document which contains some tables: Table1 (Named MyTable) Table2 (Named My 2nd Table) I copy+paste (executeDispatch) Table1 some times into the document: Table1 (Named MyTable) NewTable (Named Table 4) NewTable (Named

Re: [api-dev] Set Image resolution

2005-06-07 Thread sos
. To be able to help any further I need more information (OpenOffice.org version, your target format ...) Sven sos wrote: Yes, i tested it also the graphis are exported at ther original size , ther must ne something wrong with the usage of the filterdata Maybe one of the authors of the code snipet

Re: [api-dev] VB Office - Searches and absolute position

2005-06-06 Thread sos
How can I get the absolute position of a text in a SXW oDoc = ThisComponent ' get the Text service of the document oText = Odoc.text ' create an instance of a graphic object using the document service factory ' get the current cursor position in the

Re: [api-dev] Set Image resolution

2005-06-06 Thread sos
to reduce the dimension (the weight..) of the image in the final document, which properties i must set?? (Setting the height and the width i don't obtain nothing..) sos ha scritto: At 15:52 31/05/05, you wrote: I try to use the example, i must set the pixelwidth and the pixelheight to reduce

Re: [api-dev] System colors in OpenOffice.org

2005-05-09 Thread sos
At 19:04 5/05/05, you wrote: Hi all, I need to retrieve the RGB code for the Selected text background color in awt controls, like TextEdit or ListBoxes. Paolo , look at this code i tryed foor making and coloring a text input field in a dialog maybe its similar for your awt controls)

Re: AW: [api-dev] read back Text and determine format

2005-04-06 Thread sos
Hi all, Posed the same question on the oooforum and it was helpfull: http://www.oooforum.org/forum/viewtopic.phtml?p=73457#73457 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [api-dev] Writer: position of elements on the page

2005-03-17 Thread sos
Yes they are stored as property values Hori and Vert OrientPosition Folowing code shows in basic how to uses postion and reposition a simple graphic, objects, frames etc uses the same services (i think) oGraphic.AnchorType = lAnchor oGraphic.PositionProtected = True

Re: [api-dev] Enumerate selected DataSourceBrowser lines

2005-01-26 Thread sos
Hello Frank, Even your pidgin basic is more valuable than my compleet knowledge of this stuff, but i think i can do it working in the way you setout for me, i can already opening a Datasourcebrowser and filing it with data out of a datasource (your oDataSourceBrowser) but how can i get acces

[api-dev] Enumerate selected lines in the DataBasebrowser

2005-01-24 Thread sos
Need some help (basic coded) to have acces to the different lines when this lines are manualy selected in the DataSourcebrowser. So: A user makes a multiple selection in the datasoursebrowser and then via a macro he need to passes the data, line per line, into textfields and saving the Writer