Ignore those that are not visible during calculations.
Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: I58a587df33f2fe836623acfabe2baed75542e008
This is the first implementation. It will change a lot.
Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: I8cd5beff6f5e4fcc513954b8f4ab0f7807b92480
Before, they were hidden by the elements above them.
Now, some elements are positioned according to CSS rules and they don't
use absolute positions. So we need to hide them manually.
Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: Ic7227c8686b90b954113cf2ec60df667125d40c6
Use flex for document-container, so now it automatically resizes itself.
Remove absolute positioning from row elements.
This patch is for desktop view.
Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: I2807794da268fe0f3d7f2c54ad19a728f4c6f981
We now position the map element according to TilesSection.
This change required document-container to be positioned too.
To make it a little easier, we now use css rules for document-container.
Css rules for desktop view is done with this patch.
Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: I68f11a081f62b4a8cecd8c0d7529795c07756d1b
There were unused variables and functions were trying to use them.
Added a variable for extra size, to be used when comment(s) exist.
Saw that docPixelLimits variable had wrong value. Corrected it.
Ruler was using the wrong value, updated it too.
After updating "_updateMaxBounds" function, "updateMaxBoundsImpress" function wasn't needed anymore.
Renamed some variables to emphasize the distinction between document
limits and scroll limits.
Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: I0d0dbc7adfc1bf881ac1c7c9adf7f27d0d6fe7bc
PartsPreview:
* Disable selected part rectangle.
* Modify part selection for file based view.
* Scroll document when a part is clicked on slide sorter.
CanvasSectionContainer:
* Add getViewSize function to CanvasSectionContainer.
CanvasTileLayer:
* Scroll slide sorter when top viewed part is different from the previous one.
Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: I4674e9e1662471509084b87993921a16f7f523e6
ImpressTileLayer: Set document height differently when the file is read only.
Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: I97123e8aec4ed73a6616e2772533a6e156bbeb2d
Currently translated at 100.0% (393 of 393 strings)
Translated using Weblate (Catalan)
Currently translated at 99.4% (391 of 393 strings)
Co-authored-by: Joan Montané <joan@montane.cat>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ca/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I88f53d007e6a32bfe215a8ac846680b5e883d1eb
Currently translated at 100.0% (110 of 110 strings)
Translated using Weblate (French)
Currently translated at 100.0% (420 of 420 strings)
Translated using Weblate (French)
Currently translated at 100.0% (393 of 393 strings)
Translated using Weblate (French)
Currently translated at 99.0% (109 of 110 strings)
Co-authored-by: K. Herbert <herbert.ka@mailo.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/fr/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/fr/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/fr/
Translation: Collabora Online/Android app
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I7bbb26235a70cd183d5d6e7dd7e0ab97caa7640b
Currently translated at 100.0% (110 of 110 strings)
Translated using Weblate (French)
Currently translated at 99.0% (109 of 110 strings)
Translated using Weblate (French)
Currently translated at 98.1% (108 of 110 strings)
Co-authored-by: Elisa de Castro Guerra <elisa.dcg@collabora.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/fr/
Translation: Collabora Online/Android app
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Iecd63c8feb7c3465a66684c732baa4c00b018952
We have to start loolwsd manually in order to
start the testing. This patch covers starting the
loolwsd with custom port seperately and spawning the views in nodejs
instead of in Makefile.
Signed-off-by: Mert Tumer <mert.tumer@collabora.com>
Change-Id: I0af99c2be1d886e11ce4dfaefe9bb07de9be00e8
Many of the settings in loolwsd.xml that you might want to tweak this
or that way during development are set on the loolwsd command-line for
a "make run". Don't waste time on trying to set them in loolwsd.xml
and wondering why it has no effect. I just did that. Hopefully these
comments will avoid such in the future.
Signed-off-by: Tor Lillqvist <tml@collabora.com>
Change-Id: I896e9cb2830bf36c165842bff53f0e4e471599ae