[api-dev] Getting information of XDependentTextField

2007-07-12 Thread Michael Jeier
Hi, I have a problem regarding the use of TextFields in Writer. I create a XDependentTextField and set the name and content of it. Then I insert it into a table. When I want to read the information, I have some difficulties. I got the XCell of the table and out of this I want to get the

[api-dev] PageBreak in XTextTable

2007-06-14 Thread Michael Jeier
I have a long XTextTable in a writer document. How can I get the number of the row, where a pagebreak occurs? Thanks for your help. Regards, Michael

[api-dev] Getting the TextFields directly of a table (Writer)

2007-06-13 Thread Michael Jeier
Hi, I have to process a Writer document with a lot of TextFields. I know how to get globally all TextFields, like: ReferenceXTextFieldsSupplier xSupp (xWriterComponent, UNO_QUERY); ReferenceXEnumerationAccess enumerationAcc = xSupp-getTextFields(); ReferenceXEnumeration enumeration =

[api-dev] Writer: canceling dispose event

2007-05-11 Thread Michael Jeier
Hi, I have a listener on a Writer document, which gets triggered, when the document gets closed by the user. The file should then be transferred to a database, but it is still locked by OpenOffice. When I try to manually dispose Writer in the event, OpenOffice crashes, which is not a surprise

Re: [api-dev] Visual Studio 2005 + OpenOffice SDK 2.1

2007-05-02 Thread Michael Jeier
it can take some days) Juergen Michael Jeier wrote: Hi, after i did coment out two lines in SimpleFontMetric.hpp namespace com { namespace sun { namespace star { namespace awt { inline ::com::sun::star::uno::Type const cppu_detail_getUnoType(::com::sun::star::awt::SimpleFontMetric const

Re: [api-dev] Visual Studio 2005 + OpenOffice SDK 2.1

2007-05-02 Thread Michael Jeier
Hi, Stephan! Thanks for the help! The first tip concerning the cppumaker did the trick. Everything works now as before. :) I did not try the second one. Regards, Michael On 5/2/07, Stephan Bergmann [EMAIL PROTECTED] wrote: Michael Jeier wrote: Hi, after i did coment out two lines

[api-dev] Visual Studio 2005 + OpenOffice SDK 2.1

2007-04-30 Thread Michael Jeier
Hi, I recently switched from Visual Studio 6 with OOo-SDK 1.02 to Visual Studio 2005 with OOo-SDK 2.1. Before the switch everything ran fine. First of all, now I get a lot of warnings like the following: c:\openoffice.org2.1.sdk\include\com\sun\star\uno\reference.h(86) : warning C4290: C++

Re: [api-dev] Visual Studio 2005 + OpenOffice SDK 2.1

2007-04-30 Thread Michael Jeier
Hi, now i switched to SDK 2.2 but the warnings and errors still there. Michael On 4/30/07, Juergen Schmidt [EMAIL PROTECTED] wrote: Hi Michael, Michael Jeier wrote: Hi, I recently switched from Visual Studio 6 with OOo-SDK 1.02 to Visual Studio 2005 with OOo-SDK 2.1. Before the switch

[api-dev] XViewFreezable

2007-04-04 Thread Michael Jeier
Hi, I have a problem with the controlling the Freezable. Consider the followin code: ReferenceXModel xModel (xComponent, UNO_QUERY); ReferenceXController xController = xModel-getCurrentController(); ReferenceXViewFreezable xView (xControllerT, UNO_QUERY); Is it possible to find out in which

Re: [api-dev] XViewFreezable

2007-04-04 Thread Michael Jeier
Thx On 4/4/07, Niklas Nebel [EMAIL PROTECTED] wrote: Use getSplitColumn/getSplitRow from XViewSplitable. They will return the position, even if getIsWindowSplit returns false. Niklas - To unsubscribe, e-mail: [EMAIL

Re: [api-dev] InsertSheetFromFile

2007-04-02 Thread Michael Jeier
(.uno:InsertSheetFromFile), OUString::createFromAscii(), 0, args1); Regards, Michael On 3/29/07, Carsten Driesner [EMAIL PROTECTED] wrote: Michael Jeier schrieb: Hi there! I want to know something specific about the dispatcher command InsertSheetFromFile. It should work