Apache OpenOffice (AOO) Bugzilla – Issue 14868
Form autopilot creates date/time field incorrectly in aligned
Last modified: 2013-08-07 15:45:41 UTC
With OOo 1.1 Beta 2 the position of text boxes for an AutoPilot database forms is a bit off. The database is set up with a single text field at the end of a series of three date fields. The date fields appear lower than the caption text and the text field higher than the caption text. I will attach a screenshot of this behavior.
Created attachment 6403 [details] gif file showing formatting error generated by AutoText->form
I can reproducie this. -> FS: it's important that you have a timeStamp field in the database and that you save the form.
assigning to the author of the form auto pilot
BC->OS: As soon as I create a shapecollection with oGroupShapeList(i) = createUnoService("com.sun.star.drawing.ShapeCollection") oGroupShapeList(i).Add(oTCShapeList(i)) oGroupShapeList(i).Add(oDBShapeList(i)) oDrawPage.Group(oGroupShapeList(i)) the position of the involved textcontrols change. According to FS this could be your bug. Please contact me for closer information
Created attachment 7289 [details] Document to reproduce the problem without database
os: Target changed to OOo 2.0
os->bc: The problem is that the way group shapes are created in the forms AutoPilot is currently not supported. The supported way is to insert the controls at the draw page and the to group them. Otherwise the relative anchor positions of the objects are not correctly set.
*** Issue 16700 has been marked as a duplicate of this issue. ***
BC->OS: As we discussed the respective time and dateshapes cannot be added to the drawpage because they already exist there. oDrawpage.add(oDateShape) oDrawpage.add(oTimeshape)
changing summary to better reflect the actual problem. Stole the summary from bug 16700 (which is a duplicate)
Reassigned to TL
change subcomponent to 'none'
.
Because of limited resource for OOo2.0, it was decided to shift this tasks to the next milestone. If somebody will be found, who can implement this until OOo2.0, then this tasks will be re-targeted.