1. 03 Kas, 2015 7 kayıt (commit)
    • Miklos Vajna's avatar
      sc lok: fix rounding errors with non-100% zoom · a900c9c8
      Miklos Vajna yazdı
      There were two problems here:
      
      1) ScTabView::getRowColumnHeaders() did not expose twip values directly,
      but used ScRow/ColBar::GetEntrySize(), which does a twip -> pixel
      conversion, and then converted it back to twip. Avoid this unnecessary
      roundtrip.
      
      2) ScViewData::ToPixel() trunaces the resulting float to an integer, so
      if the result is e.g. 67.7 pixels, then Calc handled that as 67, but
      gtktiledviewer rounded that up to 68, resulting in non-matching headers
      for the rendered tiles.
      
      (cherry picked from commit 861b28b8)
      
      Conflicts:
      	libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx
      
      Change-Id: Ie6ed1ea923a423d1526eeb235b7b87106fd2f20b
      a900c9c8
    • 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
    • Miklos Vajna's avatar
      ScTabView::getRowColumnHeaders: emit info about last formatted row/col · 69de44eb
      Miklos Vajna yazdı
      Change-Id: I6b4f6eacde84433fa3865e62c692a3f97895b887
      (cherry picked from commit 3bdce53c)
      69de44eb
    • Miklos Vajna's avatar
      ScTabView::getRowColumnHeaders: include info about columns, too · a4225957
      Miklos Vajna yazdı
      Change-Id: Id7db9fa9b451dcf2423142b38c2c12b369e16fae
      (cherry picked from commit ac47e575)
      a4225957
    • Miklos Vajna's avatar
      LOK: initial Document::getCommandValues() for RowColumnHeaders · dc1656a7
      Miklos Vajna yazdı
      Only the row info and for the entire tiled rendering area as a start.
      
      (cherry picked from commit a7ce5f83)
      
      Conflicts:
      	sc/inc/docuno.hxx
      
      Change-Id: Idbccd805b355e8d151ab7025ac1cf0c686cb237b
      dc1656a7
    • Miklos Vajna's avatar
      vcl: getWindow() -> setClipboard() in ITiledRenderable · 155044c7
      Miklos Vajna yazdı
      It's cleaner to let the apps do this themselves than exposing their
      underlying vcl::Window.
      
      (cherry picked from commit bfd79be4)
      
      Conflicts:
      	sc/inc/docuno.hxx
      	sd/source/ui/inc/unomodel.hxx
      	sw/inc/unotxdoc.hxx
      
      Change-Id: Iff2442dd325fa65a0cf3ad4aa7f918542dab1e4c
      155044c7
    • Jan Holesovsky's avatar
      lok: Introduce LOK_CALLBACK_UNO_COMMAND_RESULT callback. · 4a669a43
      Jan Holesovsky yazdı
      Posting of the .uno:Something commands is asynchronous.  To be able to find
      out when eg. .uno:Save finished, this commit introduces a callback that fires
      when that happens.
      
      To be able to receive such a notification, the appropriate postUnoCommand()
      must be called with 'true' as the parameter for bNotifyWhenFinished (defaults
      to 'false').
      
      (cherry picked from commit 8c987fab)
      
      Change-Id: I254939ebc8ea5f309ae39686dcaaeddd5148b0c9
      4a669a43
  2. 02 Kas, 2015 15 kayıt (commit)
  3. 30 Eki, 2015 1 kayıt (commit)
  4. 29 Eki, 2015 17 kayıt (commit)