You could also try something like this:
Sub DoThing
Dim Form As Object
Dim ListBox As Object
Dim Controller As Object
Dim ListBoxControlModel As Object
' Get controller for the current document
Controller = ThisComponent.getCurrentController()
' Assuming first or onl
Fernand Vanrie escribió:
> Ariel Constenla-Haile wrote:
>
> Ariel, thanks for your quick reply, but as i can not enter the
> Defaultvalue in a listbox when Xraying
>
> oform.CbxTaal i get a empty table who learns me nothing :-)
mmm here I don't understand you
Let's see if I get it...
>> Ferna
Hello,
Petteri Larjos schrieb:
Question 2
com.sun.star.table.xcell method getError() returns long value. How do I get
error string which corresponds with getError() value?
The corresponding error text is application dependent. There is
currently no way to get it from the error code. Maybe th
Hi Fernand,
> again the secrets are in the control :-)
>
> oform = thisComponent.drawpage.forms.getbyname( "Ingave")
> omodel = oform.CbxTaal
> oControl = ThisComponent.CurrentController.getControl( omodel)
> '
> ocontrol.selectitem("N", true)
This indeed changes the selection at the control onl
Hi Oliver,
Oliver Brinzing schrieb:
maybe a java snippet will help:
[...]
final CellContentType type = xCell.getType();
if (type == CellContentType.FORMULA) {
final CellContentType cellType = (CellContentType) getPropertyValue(xCell,
"FormulaResultType");
This should be type int, n
OK found it!
again the secrets are in the control :-)
oform = thisComponent.drawpage.forms.getbyname( "Ingave")
omodel = oform.CbxTaal
oControl = ThisComponent.CurrentController.getControl( omodel)
'
ocontrol.selectitem("N", true)
still have the question how to set a Default value with the GU
Hi,
maybe a java snippet will help:
Oliver
[...]
final CellContentType type = xCell.getType();
if (type == CellContentType.FORMULA) {
final CellContentType cellType = (CellContentType)
getPropertyValue(xCell, "FormulaResultType");
if (cellType.getValue() == FormulaResult.STRING
Ariel Constenla-Haile wrote:
Ariel, thanks for your quick reply, but as i can not enter the
Defaultvalue in a listbox when Xraying
oform.CbxTaal i get a empty table who learns me nothing :-)
thanks anyhow
Fernand Vanrie escribió:
Hallo all,
First I treed to set with the GUI a a Default
Fernand Vanrie escribió:
> Hallo all,
> First I treed to set with the GUI a a Default value into a FormControl
> ListBox but no sucses, the opening ListBox stays empty and the entered
> value disapered ?
>
> then i tried the same me thing using the API no sucses...;
>
> my best gues wa
Hallo all,
First I treed to set with the GUI a a Default value into a FormControl
ListBox but no sucses, the opening ListBox stays empty and the entered
value disapered ?
then i tried the same me thing using the API no sucses...;
my best gues was
oform.CbxTaal.setPropertyvalue("Se
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello,
I am using UNO C++ API and need help with XCell interface.
Question 1
How do I get value of cell which contains formula returninng text? For
example spreadsheet cell with formula '==CONCATENATE("some";"text")'. The
com.sun.star.table.xcell met
11 matches
Mail list logo