[api-dev] get the local Names (.DisplayName) of CellStyles

2008-05-23 Thread Jörg Schmidt
Hello, in a calc-document i need the names (display-names) of all existing cellstyles. When i use: '... Dim liste_tmp() liste_tmp() = ThisComponent.getStyleFamilies().getByName(CellStyles) ReDim liste_x(liste_tmp.Count-1) As String For i = 0 To liste_tmp.Count - 1 liste_x(i) =

[api-dev] XPropertySet , setPropertyValue inconsistencies...

2008-05-23 Thread ashok _
I am trying set the SectionLeftMargin property of an XTextSection : xPropSet.setPropertyValue(SectionLeftMargin, new Long(762)); The above raises an IllegalArgumentException... The section document describes the SectionLeftMargin property as a long datatype..

Re: [api-dev] XPropertySet , setPropertyValue inconsistencies...

2008-05-23 Thread Rony G. Flatscher
ashok _ wrote: I am trying set the SectionLeftMargin property of an XTextSection : xPropSet.setPropertyValue(SectionLeftMargin, new Long(762)); The above raises an IllegalArgumentException... The section document describes the SectionLeftMargin property as a long datatype..

Re: [api-dev] XPropertySet , setPropertyValue inconsistencies...

2008-05-23 Thread Ariel Constenla-Haile
ashok _ escribió: I am trying set the SectionLeftMargin property of an XTextSection : xPropSet.setPropertyValue(SectionLeftMargin, new Long(762)); The above raises an IllegalArgumentException... The section document describes the SectionLeftMargin property as a long datatype..

Re: [api-dev] XPropertySet , setPropertyValue inconsistencies...

2008-05-23 Thread Robert Vojta
Check this page ... http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/ProUNO/Java/Type_Mappings ... you can find UNO - Java type mappings there. -- Robert Vojta - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [api-dev] XPropertySet , setPropertyValue inconsistencies...

2008-05-23 Thread Rony G. Flatscher
P.S.: Here's a listing of com.sun.star.text.TextSection from a student's (Nicole Scholz) work in progress, giving an overview of all members of the service and listing the Java datatypes for properties: *[com.sun.star.text.TextSection

Re: [api-dev] XPropertySet , setPropertyValue inconsistencies...

2008-05-23 Thread ashok _
Rony , Ariel : Thank you very much for the links and explanations, its clear now ! Ashok On Fri, May 23, 2008 at 4:44 PM, Rony G. Flatscher wrote: P.S.: Here's a listing of com.sun.star.text.TextSection from a student's (Nicole Scholz) work in progress, giving an overview of all members of

Re: [api-dev] ad Wiki: possible to get whole chapters? ( Re: [api-dev] Embedded Writer ?

2008-05-23 Thread Rony G. Flatscher
Hi Clayton, ccornell - OpenOffice.org wrote: maybe a stupid question: but is there a means available in the OOo Wiki to get renderings of whole chapters (e.g. writer) with all subchapters, such that one could create a hard-copy printout of it (to be read while at vacation, in a restroom,

[api-dev] Wiki version of the Developer's Guide (some drawbacks)

2008-05-23 Thread Ariel Constenla-Haile
Hi all, I was going to add this to Rony's question in http://api.openoffice.org/servlets/ReadMsg?list=devmsgNo=19428 but may be is better to start a new thread. First, to Rony's question about exporting to PDF, I'd add the idea to export to ODT and even HTML: I (and know others also) don't