On 07/17/09 17:19, Joost Andrae wrote:
Tshepiso Rantho schrieb:
As part of my final year project assignment, i have been assigned to create a patch for Bug #326914:table border color doesn't work correctly. How do i get hold of the code and how do i cooperate with you to successfully complete my assignment.

It works as intended, although that's probably not what you wanted to hear. :-)

Seriously, the "Format Cells" dialog modifies only the selected cells. Sounds obvious thus far, but it means the adjacent cells keep their black borders. Where adjacent cells have different borders, the thicker border is drawn. In your example, the width is the same, so that rule doesn't help, and the border from the bottom or right cell is used.

If you want to experiment anyway, see http://wiki.services.openoffice.org/wiki/Development/OpenOffice.org_Building_Guide about how to get the source and build it. Then, ScOutputData::DrawFrame (sc/source/ui/view/output.cxx) for drawing and ScViewFunc::ApplyPatternLines (sc/source/ui/view/viewfunc.cxx) for applying the borders are good starting points.

Niklas

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@sc.openoffice.org
For additional commands, e-mail: dev-h...@sc.openoffice.org

Reply via email to