FormOperations und FormController
Verfasst: Mo, 26.09.2016 14:28
Hallo liebe OO-Gemeinde,
es gibt 2 neue Services, com.sun.star.form.runtime.FormOperations und com.sun.star.form.runtime.FormController, die die bisherigen Services (com.sun.star.form.FormOperations sowie com.sun.star.form.FormController) ablösen.
Hat jemand Erfahrung damit? Ich möchte die Eigenschaft
Ich komme leider nicht dahinter, wie ich an diese Service drankomme:
erzeugt mir zwar ein Objekt, aber ich bekomme keine Verbindung zu meinen Forms.
Mit
bekomme ich die alten Service.
Ich arbeite mit Basic, openoffice 4.1.1 und Win 7
Mit Gruß
Colster
es gibt 2 neue Services, com.sun.star.form.runtime.FormOperations und com.sun.star.form.runtime.FormController, die die bisherigen Services (com.sun.star.form.FormOperations sowie com.sun.star.form.FormController) ablösen.
Hat jemand Erfahrung damit? Ich möchte die Eigenschaft
setzen, ich vermute, dass das die Lösung für mein Problem ist. (In der API wird die Verwendung dieser neuer Services wärmstens empfohlen.)FormsCheckRequiredFields
Ich komme leider nicht dahinter, wie ich an diese Service drankomme:
Code: Alles auswählen
oFO = createUnoService("com.sun.star.form.runtime.FormOperations")
oFO = createUnoService("com.sun.star.form.runtime.FormController")
Mit
Code: Alles auswählen
oFormmodel = thiscomponent.drawpage.forms.getByName("foForm")
oFormOperations=thiscomponent.getcurrentcontroller.getformcontroller(oFormModel).Formoperations
Ich arbeite mit Basic, openoffice 4.1.1 und Win 7
Mit Gruß
Colster