Kaydet (Commit) 41c45855 authored tarafından Radek Doulik's avatar Radek Doulik

tune the guessed position a bit, so that it works better with test documents

üst e14b7cdd
......@@ -1512,7 +1512,7 @@ namespace cppcanvas
TextActionFactory::createTextAction(
// position is just rough guess for now
// we should calculate it exactly from layoutRect or font
::vcl::unotools::pointFromB2DPoint ( Map( lx + 0.35*cellSize, ly + cellSize ) ),
::vcl::unotools::pointFromB2DPoint ( Map( lx + 0.15*cellSize, ly + cellSize ) ),
::Size(),
::Color(),
::Size(),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment