- 24 Kas, 2015 7 kayıt (commit)
-
-
Miklos Vajna yazdı
With this, if a comment has enough content that it gets a vertical scrollbar, then tiled rendering output looks OK, even with non-100% zoom. Change-Id: I699aadc11b6c34fb0791e70705719fd61169d972 (cherry picked from commit 30b511ae)
-
Miklos Vajna yazdı
This one is special, as normally its map mode is in pixels, but we need all sub-widgets to work in twips when tiled rendering. With this, the scrollbar widget (both the buttons and the button/background area of the scrollbar itself) is painted at the correct location when Writer comments have enough content so the scrollbar is visible. Change-Id: I4ee9ef8618974b965339078d2262364ec19732ef (cherry picked from commit f411ef1b)
-
Miklos Vajna yazdı
These member functions take logic units, and the only case when omitting PixelToLogic() all the time works is when both the widget itself and render context has a pixel map unit. Add missing PixelToLogic() calls where the input is in pixels, so in case the render context has some logic units, the output is still painted at the correct location. This is needed for e.g. tiled rendering of the scrollbar of Writer comment widgets. Change-Id: Ideb75625b1f6349c5f18342e6f438fd5d7c31dcd (cherry picked from commit f2081039)
-
Miklos Vajna yazdı
Checking for a bool is certainly cheaper than a chain of member function calls. Change-Id: I9520194e58e75264f3fcbb413a618e3995f59a4e (cherry picked from commit 5eb7759d)
-
Miklos Vajna yazdı
Instead of invalidating the whole area, invalidate the sub-widget when the whole area of the sub-widget would be invalidated. With this, a test comment with enough comment to have a scrollbar results in 3 paintTile() calls instead of 11 ones (70% save). (cherry picked from commit 9ece5c87) Conflicts: sw/source/uibase/docvw/SidebarTxtControl.cxx Change-Id: I2fe317549eefac9a63aaf50f5a9a242e15c4dc86
-
Miklos Vajna yazdı
E.g. when a Witer comment has long enough contents to get scrolled, the desktop case repaints its contents by vcl::Window::Scroll(), followed by a vcl::Window::Update(), i.e. vcl::Window::Invalidate() is not called. The result of this in case of tiled rendering is that no tile is repainted, so call vcl::Window::Invalidate() after scrolling manually. A generic VCL-level invalidate-after-scroll is not wanted, as the scrolling of the document contents and the main document window is not in sync when tiled rendering. (cherry picked from commit 162ae47a) Conflicts: editeng/source/editeng/impedit.cxx Change-Id: I74296a0f0e52c92cf3db6aefa73f28bb2b202871
-
Miklos Vajna yazdı
Change-Id: Ia513821b43729951c7b097fea498f0e22b9d10ea (cherry picked from commit 8a1b9ac5)
-
- 23 Kas, 2015 1 kayıt (commit)
-
-
Miklos Vajna yazdı
So that clients can know if they get old-style RGBA or new-style ARGB output in paintTile(). Change-Id: Icfde4b3259444b3524e64478ccd976664a3fe0ed (cherry picked from commit fc06f801)
-
- 21 Kas, 2015 3 kayıt (commit)
-
-
Christian Lohmaier yazdı
Change-Id: I8fdde4b46e3e315a5b6a35cabc4495ebf69db057 (cherry picked from commit 6f5589d5)
-
Christian Lohmaier yazdı
Change-Id: Id7157ea5fadd684dceec52f69ec9279c4107b5f1 (cherry picked from commit 9feffdbe)
-
Caolán McNamara yazdı
Change-Id: I46caceed3fdf0ad0aa51c8a8ede1177ca3d1855e (cherry picked from commit 506432f5)
-
- 18 Kas, 2015 15 kayıt (commit)
-
-
Miklos Vajna yazdı
Change-Id: I19efc6050c78162e0889437d4c8285d1a6714e82 (cherry picked from commit be28ab9a)
-
Miklos Vajna yazdı
(cherry picked from commit 479325de) Conflicts: sc/inc/docuno.hxx sd/source/ui/inc/unomodel.hxx sw/inc/unotxdoc.hxx Change-Id: I9a6a75457078dc6383673f4c1a2012b69b5cefdd
-
Miklos Vajna yazdı
(cherry picked from commit 4bddfc00) Conflicts: libreofficekit/source/gtk/lokdocview.cxx Change-Id: I8aaf19a50f25f495cb87fba7ff6a4b0f56ed7d80
-
Jan Holesovsky yazdı
Change-Id: I9e48407f6f5eb5cc4c36439b72648bb8d43deb79
-
Stephan Bergmann yazdı
...re 2c346d66 "tdf#39080 Hide Whitespace UI option added to the View menu." Change-Id: Ib2f364dba7a50854a11f004b42c7ee22ee10e48b (cherry picked from commit 6efbd4bb)
-
Miklos Vajna yazdı
Regression from commit 54a2c8c0 (tdf#39080 Interactive hide-whitespace mode, 2015-08-30), the problem was that SwPageFrm::IsOverHeaderFooterArea() checked if the header is active before accepting that the user clicked in that area. Don't require an active header at least in non-hide-whitespace mode, as the member function is used in the "could there be a header here" sense in SwEditWin::MouseButtonDown() to show the controls that allows actually adding a header. Change-Id: I6f905920113aed1512e333e718a8f26d88a3245d (cherry picked from commit a23f85f1)
-
Ashod Nakashian yazdı
Browser and Hide Whitespace page height now use SwPageFrm::GetContentHeight, which is const. A few improvements are done for both paths as well. Reviewed-on: https://gerrit.libreoffice.org/19730Tested-by:
Jenkins <ci@libreoffice.org> Reviewed-by:
Caolán McNamara <caolanm@redhat.com> Tested-by:
Caolán McNamara <caolanm@redhat.com> (cherry picked from commit f05da45c) Conflicts: sw/source/core/layout/calcmove.cxx Change-Id: I73a8e920ccfa96d76cbbb002bed6a85f2e636ede
-
Caolán McNamara yazdı
Change-Id: I4be589325b89eac129328f98f9db7ce8c741892d (cherry picked from commit 705c0edc)
-
Ashod Nakashian yazdı
Moved the page resizing from SwLayoutFrm::Format to SwPageFrm::MakeAll and calculated the new page height more accurately based on the content (stolen from the browser-mode height calculation, to be refactored). This fixes issues with repagination with certain contents. Removed unnecessary ToggleLayoutMode calls and prevented clicking between pages in single-view mode to jump the cursor. Reviewed-on: https://gerrit.libreoffice.org/19699Tested-by:
Jenkins <ci@libreoffice.org> Reviewed-by:
Caolán McNamara <caolanm@redhat.com> Tested-by:
Caolán McNamara <caolanm@redhat.com> (cherry picked from commit 40f3a942) [ Miklos Vajna: adapted to build with non-prefixed SwPageFrm. ] Change-Id: I5662dd26efff66d6e95b8fd4dcf8564588adbbb7
-
Caolán McNamara yazdı
Change-Id: I5353b78b6961d28fb3f42e5f2073e9a83ac1037c (cherry picked from commit 13fdf04f)
-
Ashod Nakashian yazdı
Support for enabling and disabling hide-whitespace by clicking between page frames. Disabled header and footer decorators when hide-whitepsace is enabled, and page size is trimmed to the contents of each page. Experimental/suggestive mouse pointers added but only tested on Windows. Change-Id: Ia2faeeda9e3e783ffaf5340aa69303a4218892a7 Reviewed-on: https://gerrit.libreoffice.org/18156Tested-by:
Jenkins <ci@libreoffice.org> Reviewed-by:
Caolán McNamara <caolanm@redhat.com> Tested-by:
Caolán McNamara <caolanm@redhat.com> (cherry picked from commit 54a2c8c0)
-
Caolán McNamara yazdı
Change-Id: Id34ae93ccbb020f09c608f34e5f41a8622cf1607 (cherry picked from commit f7bc163c)
-
Ashod Nakashian yazdı
Merged Hide Whitespace with Browser Mode and hooked the former with the UI. In Hide Whitespace mode the headers and footers are removed and page margins as well as between-page gaps are reduced to minimum. In single-page view the side margins are left as-is. In multi-page and book-view the sides are removed, however, they have twice the width of the top and bottom. Printing and PDF export disable this mode. The usable screen real-estate is greatly improved in this mode, which is controlled from the View menu. Change-Id: I2d0075ae9a76162c26c78e9eb23a71920cdfc522 Reviewed-on: https://gerrit.libreoffice.org/17281Reviewed-by:
Jean-Baptiste Faure <jbfaure@libreoffice.org> Reviewed-by:
Caolán McNamara <caolanm@redhat.com> Tested-by:
Caolán McNamara <caolanm@redhat.com> (cherry picked from commit 2b8e62f7)
-
Ashod Nakashian yazdı
Change-Id: I1f9ba9ef489159ca54db802393d958d7fd6ac8ff Reviewed-on: https://gerrit.libreoffice.org/17280Tested-by:
Jenkins <ci@libreoffice.org> Reviewed-by:
Caolán McNamara <caolanm@redhat.com> Tested-by:
Caolán McNamara <caolanm@redhat.com> (cherry picked from commit 2c346d66)
-
Ashod Nakashian yazdı
Change-Id: I1d0a974a0b4b7053f59c23aa883bef61fd1df177 Reviewed-on: https://gerrit.libreoffice.org/17279Tested-by:
Jenkins <ci@libreoffice.org> Reviewed-by:
Caolán McNamara <caolanm@redhat.com> Tested-by:
Caolán McNamara <caolanm@redhat.com> (cherry picked from commit 17ac8354)
-
- 17 Kas, 2015 5 kayıt (commit)
-
-
Miklos Vajna yazdı
Change-Id: I0f45b1a6ab198a8403073eea05497e76f758250c (cherry picked from commit 4890ae51288c2c571e85a1536cb6c8f44681bd25)
-
Miklos Vajna yazdı
Change-Id: I3310813c971aa7abffccc0b7f462e05caa83482e (cherry picked from commit 50bdd588d39a23d44d2d2111256f5e505c7165af)
-
Miklos Vajna yazdı
When tiled rendering, then only the render context (or failing that, SwViewShell::GetOut()) has the correct zoom level, so use that when doing pixel-to-logic conversion or scaling pixel values. Change-Id: I265a642b8253c6eced42da2a0e06a2de25c36ca8 (cherry picked from commit 8a249d38e94098b300fb4f49cb4a44960027fa20)
-
Miklos Vajna yazdı
SwPostItMgr::GetSidebarWidth() can be called in two scenarios: - inside PaintTile() the output device contains the zoom level and has the map mode enabled (and its scale factor is the zoom level) - outisde PaintTile() the output device is SwEditWin and has the map mode disabled (and the zoom level is to be taken from the view options) Change-Id: I6cf19f3241a2e972ae711e0efa7b0205aae1a3f2 (cherry picked from commit acec324b0c753877cf913e8064c02603307b5ebb)
-
Miklos Vajna yazdı
Change-Id: I6772cce10d157421d983d6b93efb52bf8b95f5b8 (cherry picked from commit dc65f048)
-
- 16 Kas, 2015 9 kayıt (commit)
-
-
Andras Timar yazdı
Change-Id: I9f0e693aa48ed6a1ace8b9cdfd1b1db2f3379215
-
Caolán McNamara yazdı
Change-Id: Ice54f6c89eb2a2492d2b55a3f4edb13df4192446 Reviewed-on: https://gerrit.libreoffice.org/19985Tested-by:
Jenkins <ci@libreoffice.org> Reviewed-by:
Michael Stahl <mstahl@redhat.com> (cherry picked from commit 055c248e)
-
Caolán McNamara yazdı
void UnoControl::setDesignMode calls setVisible on the XWindow so it seems sensible that FmXGridPeer::setDesignMode should also do so. The desirable side effect is that moving the window in design mode then is moving a un-shown window so nothing is invalidated so the paint loop doesn't happen. Change-Id: Ic5a4ba62590372bec15a29b993b73d6dfb94a8a9 (cherry picked from commit a7816853) Reviewed-on: https://gerrit.libreoffice.org/19906Reviewed-by:
Lionel Elie Mamane <lionel@mamane.lu> Tested-by:
Jenkins <ci@libreoffice.org> (cherry picked from commit a08a5ff7)
-
Caolán McNamara yazdı
Change-Id: I937ed893dfd9919bf48b8fd38a1b83c524200532 (cherry picked from commit 6128c10f) Reviewed-on: https://gerrit.libreoffice.org/19911Tested-by:
Jenkins <ci@libreoffice.org> Reviewed-by:
Michael Stahl <mstahl@redhat.com> (cherry picked from commit 82c0f2eb)
-
Miklos Vajna yazdı
The missing convertMm100ToTwip() calls mispositioned the line shapes inside the groupshape in case of using drawingML inside DOCX files. (cherry picked from commit 11129d89) Conflicts: sw/qa/extras/ooxmlimport/ooxmlimport.cxx Change-Id: I0c9d652de43d779f9073a8bfe22866ce4f31d0fa Reviewed-on: https://gerrit.libreoffice.org/19946Reviewed-by:
Caolán McNamara <caolanm@redhat.com> Tested-by:
Caolán McNamara <caolanm@redhat.com> (cherry picked from commit ca8cdb9a)
-
Michael Meeks yazdı
Remove listener we add, and don't crash on callback for disposed dialog. Reviewed-on: https://gerrit.libreoffice.org/19936Reviewed-by:
Caolán McNamara <caolanm@redhat.com> Tested-by:
Caolán McNamara <caolanm@redhat.com> (cherry picked from commit 45c6d948) Conflicts: svx/source/dialog/imapdlg.cxx Change-Id: Ia6a1bddd212cb28a0331469e8e87324346d02841
-
Michael Stahl yazdı
(cherry picked from commit d5016b01) Change-Id: Ief31d8153fdbf91cdd29df5ac7801bd88a98542e Reviewed-on: https://gerrit.libreoffice.org/19955Tested-by:
Jenkins <ci@libreoffice.org> Reviewed-by:
Caolán McNamara <caolanm@redhat.com> Tested-by:
Caolán McNamara <caolanm@redhat.com> (cherry picked from commit d11d0915)
-
Stephan Bergmann yazdı
implementation can indeed be empty when cppu::writeSharedLibComponentInfo calls getEnvironmentFromModule(mod, curEnv, "", ""), which in the final if-branch calls getEnvironment with implementation = "". Happens when adding desktop/qa's test-active.oxt. Regression introduced with ae3a0c8d "Add .component <implementation constructor='...' feature." (cherry picked from commit 97464be9) Conflicts: cppuhelper/source/shlib.cxx Change-Id: Ia70958e4aa18d378ff35063bdf6187f6e073b765 Reviewed-on: https://gerrit.libreoffice.org/19956Reviewed-by:
Caolán McNamara <caolanm@redhat.com> Tested-by:
Caolán McNamara <caolanm@redhat.com> (cherry picked from commit 2466c85c)
-
Caolán McNamara yazdı
Change-Id: Ief5c2effbddebe29fc7a4d38ed0af4fed72de40e (cherry picked from commit e08fbe4c) Reviewed-on: https://gerrit.libreoffice.org/19915Tested-by:
Jenkins <ci@libreoffice.org> Reviewed-by:
Caolán McNamara <caolanm@redhat.com> Tested-by:
Caolán McNamara <caolanm@redhat.com> Reviewed-by:
Michael Stahl <mstahl@redhat.com> (cherry picked from commit b4533424)
-