Apache OpenOffice (AOO) Bugzilla – Issue 93595
Grid is not correctly displayed in SRB
Last modified: 2009-04-12 21:22:25 UTC
- Install the report builder extension - restart OOo - create a new db document - open the report builder => the grid is not displayed correctly
AW: Installed with OJ's help and seeing the report builder now. Also found the flag (bBordVisibleOnlyLeftRight) at the SdrPaintView. Looking for the primitive creator tooling...
AW: Need to check against a m29, getting, checking...
AW: Ah, i see. Problem is not wrong grid visualisation, it's because of automatic grid reduction. When zooming in (OJ is testing this currently) it can be seen that visualisation is correct in 200% (e.g.). Discussed with OJ about grid visualisation. The gird offers the possibility to define a coarse grid and subdivisions to not overload the page visualisation with grid points. Instead of using a 0,25 cm coarse grid per default as it is now, we will use a grid with 1 cm and three subdivisions (which gives us bach the 0,25 cm snap which is intended). Testing this...
AW: Interestingly, i initially took the wrong interface at SdrPaintView. The settings currently used from primitive creation is aGridBig/aGridFin which urges usage of SetGridCoarse/SetGridFine which should be the 'old' interface. When i used it for primitive preparation it means all other apps are also using this. I will need to check if someone uses SetGridWidth/SetGridSubdivision at all... Back to the task: Using the 'old' interface makes the grid work as expected; i now used a 1cm grid with 0,25cm sub-grid, snap on 0,25, too. I added /changed the getGridSize() in ODesignView to a getGridSizeCoarse/getGridSizeFine pair and changed/added members accordingly. Default is now GridSizeCoarse/(1000, 1000) and GridSizeFine(250, 250). This is done so far, i will need to show OJ and ask for his OK on this. Checking in...
AW: Indeed, 'nwe' interface seems not to be used at all (due to LXR). Trying to remove...
AW: Removed superfluous grid interface, comitting all changes. Done.
AW->WG: Please review as described in the task. Maybe OJ wants to check, too. Grid now uses a coarse/fine definition to not have too many grid points.
re-opening. A grid is displayed now, but still that's not the grid which is used for snapping. In m29, the visible grid was exactly the grid at which the snapping works.
fs->aw: See above for why this is reopened.
AW: Discussed with FS. This is by purpose and as discussed with OJ. Back to fixed.
AW->WG: Please review as described.
Verified in CWS.
Please check in master. Thanks.
Issue 93595 has been fixed in master version OOo-dev 3.1 .0 (OOO310m9 Build:9396) for Windows XP and can be closed.
The Issue checked and closed by HitekSchool interns, Group 1 - as part of an Issue Hunting Party.