• Miklos Vajna's avatar
    sc lok: emit RowColumnHeader info in twips · 99e1227e
    Miklos Vajna yazdı
    As that's the unit we use everywhere else in the LOK API. Also, make the
    ScGlobal::nScreenPPTX/Y calculation more precise, otherwise rounding
    errors occur during the pixel -> twip conversion.
    
    Example with the old precision: col height is 103 px, nScreenPPTY is
    0.067, twips is 1537.3134328358208, convering it back is 102.487562189
    px.
    
    Example with the new precision: col height is 103 px, nScreenPPTY is
    0.0667, twips is 1544.2278860569716, convering it back is 102.948525737
    px.
    
    (cherry picked from commit 708d1c5a)
    
    Conflicts:
    	libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx
    
    Change-Id: I19f5285508ef0c751614d07969b3a7a037e7d1ec
    99e1227e
tabview.cxx 80.7 KB