Hi Christoph,
Christoph Lutz schrieb:
Hi Peter,
sorry for the late answer, I was very busy the last week... I read
your approach on http://qa.openoffice.org/issues/show_bug.cgi?id=65951
which i found very interesting and I have at least the following
question:
What should happen when a document containing the (Base)-FormControls
gets printed?
1) what about the shadow of the FormControls? The shadow should not be
printed, but how do you want to determine the real background-color If
you put a fix shadow on the FormElements? One possible way could be to
calculate the shadow with a revertable function like XOR (eg.
SHADOW=ORIG_BGCOLOR xor rgb(200, 200, 200)), and when it's time to
print, just recalculate the ORIG_BGCOLOR...
You are talking about how to realize that with the recent version, the
topic is about ..3.0.
Possibilities for me:
Hard coded additional properties for each control, for groups or for the
form (all controls get the same shadowing only for layout, the printing
background color is the color of the recent property).
2) what about ComboBoxes and other complex elements? How to print
these elements? I don't want to print all the graphic-widgets, but a
textual representation instead...
see above
.....%<.......
Yes, I've tested your macro, finding the correct position and size may
be a little bit tricky.
Btw, take a look at the basic library FormWizard, module tools, perhaps
you will find a function solving your problems.
Imo the most significant point is the autosize-feature. It must imply a
wrap to the next line, if the content is too long for the actual line.
With other words: the behaviour of controls should be similar to a
com.sun.star.text.TextField.
If this couldn't be solved: may be a new field with formatting options
is required. The list field is a new one too because of compatibility
reasons.
But how to jump with the tab key? The checkboxes (or radiobuttons) will
then be a foreign matter in this context.
I would like to hear the opinion of a developer or the UI-team here.
Cannot imagine they have no ideas about the handling in the next major.
Regards Peter
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]