Commit graph

7666 commits

Author SHA1 Message Date
Tamás Zolnai
bdab8184a8 Remove unneeded lines from rendershapeselection test
SelectAll does the selection.

Change-Id: I2642b9c1eef1398fa78f39a1a6645e0cf7d266bb
2018-12-07 12:39:27 +01:00
Szymon Kłos
427a81f88c loleaflet: Added IsCurrentView field to Get_Views_Resp
Change-Id: I678b65522dfc8760502b1f499a8bde1664c8d9bf
2018-12-07 12:39:27 +01:00
Ashod Nakashian
e5723a22d7 wsd: update bundled headers and improve renderShapeSelection test
Unfortuantely it still fails, but this is not regression. Now
with the new patch in Core the exception is caught and so at least
the binary survives (and the API returns 0).
New unit-test added in Core to help track the issue down and fix.

Also, free the memory allocated by the API.

Change-Id: I5d788a2ee0383de1c323af4cd6b39b8615a35baf
2018-12-07 12:39:27 +01:00
Szymon Kłos
64170351af ui: move menu to the top
Change-Id: I0d2aa53efef34455e90f2eb721f482a1aadca0aa
2018-12-07 12:39:27 +01:00
Szymon Kłos
c9ddadfcaf Added modification indicator
Change-Id: Iba028758671ec4e9bd7db375a2511d2d3699aa55
2018-12-07 12:39:27 +01:00
Tamás Zolnai
4df9fd41a3 Update test SVG
Change-Id: I55a3ae676c6eb71e8e34f98f3361f9046e0a4a2f
2018-12-07 12:39:27 +01:00
Tamás Zolnai
b34b1242d6 Remove unneeded include used for debugging only
Change-Id: I82efb9b6d0a0e6ffdca4b9205804446bc871ef84
2018-12-07 12:39:27 +01:00
Henry Castro
77a2b98150 loleaflet: introduce graphic rotation
Change-Id: I7e7e6b710ce8c82286b6b9e4f645b9e99f57f1d2
2018-12-07 12:39:27 +01:00
Henry Castro
0ab8a8314f loleaflet: change rotation angle to 0..2pi instead of -pi..pi
Change-Id: Ia3ff0b10e917f5c58e53bde4a4eb8e8e5d796000
2018-12-07 12:39:27 +01:00
Henry Castro
b20df16271 loleaflet: change position of the rotation marker
Change-Id: I8481afefcc155282945834b0b46a67013e9a7be6
2018-12-07 12:39:27 +01:00
Henry Castro
658ee2b598 loleaflet: fix "_fakeStop" function
Change-Id: I22fe16eae7f9a4e2d6161813747dc7d0447f5a43
2018-12-07 12:39:27 +01:00
Tamás Zolnai
31f99bf9f5 Introduce client-server message for requesting the selected shape as SVG
It works for Impress only now.

Change-Id: I130707d8e96e0c633f2531b1cb81ce74dc6ec6e1
2018-12-07 12:39:27 +01:00
Szymon Kłos
13a1f556eb loleafleat: Added Action_FollowUser
Change-Id: Ic393388af4c1753c20e3e3d37043821b5a5b2a06
2018-12-07 12:39:27 +01:00
Szymon Kłos
b43e8b7412 loleaflet: Added ReadOnly field to Get_Views_Resp
Change-Id: I0fca677ba992b1715ba907e5d6a6763e41ef5371
2018-12-07 12:39:27 +01:00
Henry Castro
e2b4ca567c loleaflet: iuse L.Path.Transformation to graphic selection
Change-Id: Iad4aade49520fda9ae0eef4cc9ecc93f53f8c09a
2018-12-07 12:39:27 +01:00
Henry Castro
4648a07e12 loleaflet: fix "_skipped" function
Change-Id: I54551094cc210dd1e1c1e44b57066f0bb0d5176d
2018-12-07 12:39:27 +01:00
Henry Castro
99fb8fcf70 loleaflet: allow rectangle editing if an editable option is found
Change-Id: Iaee08b68fc0005116fbc3fbea65d068c7b14865d
2018-12-07 12:39:27 +01:00
Henry Castro
126b07a83d loleaflet: add a drag listener to update bounding rect
Change-Id: Idfbf98b4d30a010dc9964c6c8d464e18ff531c09
2018-12-07 12:39:27 +01:00
Henry Castro
37f521f756 loleaflet: add parameter position when scale start and end
Change-Id: Iacad7c85eae2a5f545c674120b49ce180fa1929a
2018-12-07 12:39:27 +01:00
Jan Holesovsky
51a3af0d7e ui: Click on the document icon issues a postMessage to create a new doc.
Change-Id: Ib0b9663bb33ea89b796e2f45b4985eabc9347700
2018-12-07 12:39:27 +01:00
Jan Holesovsky
0ecd828b36 ui: Implement the line spacing menu in Writer.
Change-Id: Iab377897d1d98bac3dde7cfaea03721df24d05ff
2018-12-07 12:39:27 +01:00
Jan Holesovsky
482d13cea8 ui: No Prev / Next page buttons in spreadsheets. Fix the Link Dialog.
Change-Id: Ia8ed9a999638163c4e4b5064061965eec39dca31
2018-12-07 12:39:27 +01:00
Jan Holesovsky
d60d1e9f0b ui: The icon means 'copy format', not a 'copy'.
Change-Id: I635d12c8e3e26e7c4af529dc53c9d5795ea209da
2018-12-07 12:39:27 +01:00
Henry Castro
f83341937f loleaflet: update new cursors for re-size handlers
Change-Id: Id02979bb238a713663250e28eb5aa9b68329983e
2018-12-07 12:39:27 +01:00
Henry Castro
accdc29012 loleaflet: add four new handlers to path transformation
Change-Id: Ifd2929ffb325a220ddf00616a931fac2abc6c3ac
2018-12-07 12:39:27 +01:00
Henry Castro
b9fdbeacb8 loleaflet: fix map 'mouseup' fire event
Change-Id: I2b248ee972d11fe11456d593fe6762765f6cb15c
2018-12-07 12:39:27 +01:00
Marco Cecchetti
b540292a7d loleaflet: mobile ui: remove print button
Change-Id: I98d76c56af3239946b54e1f62573665e8d141ae4
2018-12-07 12:39:27 +01:00
Jan Holesovsky
46cc2735a9 l10n: Text for the spreadsheet alignment commands.
Change-Id: I42898a664da13d11f2169e2c1476ac5292922906
2018-12-07 12:39:27 +01:00
Jan Holesovsky
8bbf79641e loleaflet: Modify the calc toolbar.
Not finished yet, but getting closer...

Change-Id: I75883c144d910e008184d9b88a83e87d6d1902c1
2018-12-07 12:39:27 +01:00
Jan Holesovsky
05fc9e60a6 Fix color mismatch behind the document type icon.
Change-Id: Ide3c8e50a72fc98c52b164d31844966b80c392bc
2018-12-07 12:39:27 +01:00
Jan Holesovsky
38c47d199d menu: Show the upper border too.
Change-Id: If85ebffdf2e19ca4c655c5cb75d2c3ff22640f99
2018-12-07 12:39:27 +01:00
Henry Castro
22eca5a299 loleaflet: add _reset function to Path object
Used by L.Path.Transformation

Change-Id: I337bc583acb8ba1cf211e709b3bf3b9e7507d486
2018-12-07 12:39:27 +01:00
Henry Castro
8a645d283a loleaflet: fix _latlngs polygon property
Change-Id: Ia3b9c73bea8f4278325094f209eb6956e1b362f1
2018-12-07 12:39:27 +01:00
Henry Castro
f71f67bddc loleaflet: add path transformation plugin
added, indented plug-ins from the repository:

+ https://github.com/w8r/Leaflet.Path.Drag  commit
df9c39b5a567150e445c448e2404d801f3a517c4

+ https://github.com/w8r/Leaflet.Path.Transform commit
6feed9bf21ed86b2beb52dbc4b11d47c3709d8ea

Change-Id: I6c0762fd8fd943cc136dcc9a7a1b476c7be794e0
2018-12-07 12:39:27 +01:00
Ashod Nakashian
9fe3059b76 leaflet: update mouse position on dialogs to allow rollover
Change-Id: Ib5cb9192c10e82603a96713d32bc18427b0ddc39
2018-12-07 12:39:27 +01:00
Ashod Nakashian
33aff0ce61 wsd: utility to parse integer lists
A quite common logic that is best moved to a utility
and optimized for best performance.

Includes unit-tests.

Change-Id: Id63a388690c17355eb2fac529070c38e9b082fd0
2018-12-07 12:39:27 +01:00
Ashod Nakashian
feb36a4a05 wsd: hoist token parsing outside lock and optimize
Change-Id: I8710f0c3040d22588b46bec732cf8bca7c503244
2018-12-07 12:39:27 +01:00
Ashod Nakashian
d7758373fe wsd: always encode anonymized author and authorid
Because when anonymization is not enabled, we might
have spaces and other special characters that break
the message. Also, Kit expects encoded strings anyway.

Change-Id: Id23c4ec39f35e1a0df462cb8cbc736aa33f0f6c2
2018-12-07 12:39:27 +01:00
Henry Castro
3e764f2d9e loleaflet: update new positions
Change-Id: I9aefba308e8cb8d83419f3b5274bc127371eae32
2018-12-07 12:39:27 +01:00
Henry Castro
21fafe1e58 loleaflet: add a document type logo
Change-Id: Id02191e5070c10affb9157fdafa1a6fe8905517c
2018-12-07 12:39:27 +01:00
Henry Castro
4924d6d837 loleaflet: close the document when clicked on toolbar item
Change-Id: I93d6a600745cdb947751131a571ebe162c06bf25
2018-12-07 12:39:27 +01:00
Henry Castro
556959dbc8 loleaflet: change the position of the document name label
Change-Id: Ibae74062d79d7ec08a996f927e168c44ad3cf5a3
2018-12-07 12:39:27 +01:00
Henry Castro
e4fa028077 loleaflet: add calc icon sets
Change-Id: Ib949d20ce393e1ca1be83b349d36734f7c62826e
2018-12-07 12:39:27 +01:00
Henry Castro
fef3d53c8a loleaflet: fix foreground and background color
Change-Id: Ib33cbec03e9f9a233540752aa442a984c6d5d665
2018-12-07 12:39:27 +01:00
Henry Castro
54bddfa696 loleaflet: fix select tag drop-down list
Change-Id: I2350ff8a0e17ca9b2709460e3ed333a64d2c76e4
2018-12-07 12:39:27 +01:00
Henry Castro
f57b15f453 loleaflet: fix zoom toolbar item
Change-Id: I4ef14ff08ff2ae782ddea8aec2ecce04d67d1f3b
2018-12-07 12:39:27 +01:00
Henry Castro
0beb1c314e leaflet: add .uno:ResetAttributes toolbar item
Change-Id: Ife550e651dc27558fea09b298b6bb5f45fd03c9a
2018-12-07 12:39:27 +01:00
Henry Castro
cdf7abc548 loleaflet: handle a click event for print toolbar item
Change-Id: Ia785ad9468d7c8226a33e8c2212e115d307ffc26
2018-12-07 12:39:27 +01:00
Henry Castro
63ecdd5d40 loleaflet: update toolbar with new images
...and entries

Change-Id: Ia57f832642db9bd4036f401be3ed736704ce5d6b
2018-12-07 12:39:27 +01:00
Jan Holesovsky
0c69ce5d8e Issue help from the menubar and also during editing when F1 pressed.
Change-Id: I6b07c6881391129a9cc3b44312de08546f912be6
2018-12-07 12:39:27 +01:00