Commit Graph

356287 Commits

Author SHA1 Message Date
Zolnai Tamás
3bebda9cd3 libgltf: remove dependencies of config.h.in
It seems something is wrong with the files in the
libgltf tarball (maybe wrong timestamps?), because
config.h.in is always regenerated by make (autoheader).
It causes build problems so just remove the deps for this time.

Change-Id: I404c29673987d7c8f75ec8fe4978173593c75a2f
2014-06-25 23:29:05 +02:00
Kohei Yoshida
5e83804da8 bnc#882595: Process VBA blobs before formula cells.
So that formula cells with user-defined functions will be interpreted
correctly.

Change-Id: I49c10109575f9f82d7f85dea63590bf02b70e041
2014-06-25 16:40:43 -04:00
Kohei Yoshida
671566d061 bnc#882595: Write test for this. Disabled due to VBA not working in cppunit.
Change-Id: Ie70232e56235fcf5a313aadffa269ef843bdee18
2014-06-25 16:40:42 -04:00
Julien Nabet
7bd94d73ec Resolves fdo#54155: Crash when playing with a Group inside a Group
Change-Id: I89c80fca1cdc8bc88172eaf8057141d5e42a06dc
2014-06-25 21:58:47 +02:00
Miklos Vajna
e9ef350315 writerfilter: convert resourceids to Python
Change-Id: If138bb3de8815f9d24aa1db10543b904792a0b37
2014-06-25 21:16:44 +02:00
Kohei Yoshida
ec1636fa09 Remove this weird inheritance from smart-pointer-wrapped class.
SbxVarEntry is now its own class.

Change-Id: I5c5ce1990fa83930acced1d507f5b0de60bf221e
2014-06-25 15:03:46 -04:00
Kohei Yoshida
e14abb13dc Use boost::optional to store alias name.
Change-Id: I809b21ea156061a265c0d83d58534df10bc273bc
2014-06-25 15:03:46 -04:00
Kohei Yoshida
ff0ecb2621 pData -> mpVarEntries.
pData is a nightmare with grepping as it's too generic of a name.

Change-Id: I01b3f1b503f21ee13c97733fa66804874a2cddc4
2014-06-25 15:03:46 -04:00
Kohei Yoshida
bb6d9b0123 Remove this class that only derives from std::vector and not much else.
Change-Id: Ibc584f4148cec49a9ac34a240cc2fa3e87daf443
2014-06-25 15:03:46 -04:00
Andras Timar
54c6f08c20 fdo#80527 fix tab order on ReadyToInstall dialog
regression from	674db242c0

Change-Id: Ia02321b7450b3f19ba02fa681a50430f78f12cfd
2014-06-25 20:28:00 +02:00
Andrzej Hunt
c3db22841c LOK: can't use basebmp as a library on android.
Change-Id: I84198ac00865991ba845a19c1810dc3f180251ce
2014-06-25 19:10:45 +01:00
Jan Holesovsky
e7441f2e19 pagedesc: We have DelPageDesc() that takes OUString as param directly.
Change-Id: I616f89716a6e337c647cfb880a4e675cd1b65993
2014-06-25 20:03:20 +02:00
Jan Holesovsky
c1be76ec98 pagedesc: Consolidate FindPageDescByName() and FindPageDesc().
Change-Id: I18d570509cd3f3b65a19a12a9df0b1d5db901d04
2014-06-25 20:03:19 +02:00
Jan Holesovsky
f246ac13bd pagedesc: It's better when MakePageDesc returns a pointer.
This removes many uses of GetPageDesc(sal_uInt16).

Change-Id: I9660e30d7fccd4336422ba03b19087321a7ae973
2014-06-25 20:03:19 +02:00
Zolnai Tamás
211e07c0e0 libgltf: try again with this configure patch
Touch only the configure but not the configure.ac

Change-Id: Iee93036f2378f29530ffae9be8b4324e8425d2ec
2014-06-25 19:23:24 +02:00
Zolnai Tamás
c5bb272883 libgltf: replace configure patch to avoid using autoreconf
Change-Id: Idcab012af9c27c4fed31c07ce230816d1c61d605
2014-06-25 18:51:23 +02:00
Zolnai Tamás
bb9078e3de libgltf: use --with-pick
Change-Id: Ide01491460c9c81ed044be762c7dd07e8a5ca575
2014-06-25 18:29:38 +02:00
Zolnai Tamás
f2b5ece0ca glTF rendering: moving in walktrough mode is to fast
Change-Id: I2b7869c6c14b69732db864a03a2d9b6638424cf7
2014-06-25 17:29:52 +02:00
Michael Stahl
0bb6fd2f3a vcl: MSVC can't link inline ITiledRenderable dtor
Change-Id: Idbb776de489e0c6e6ae14cb65907ac75cfca3851
2014-06-25 17:19:36 +02:00
Noel Grandin
533c6cb6ba fixes for up-casting to Reference<XInterface>
Fix regressions introduced with
6a043e9c0a "Use the new type-checking
Reference constructor to reduce code noise"

Change-Id: I85662856f21c810a7db497fe3b0e116f075b1687
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-06-25 17:10:43 +02:00
Michael Stahl
96ff104494 libgltf: try to fix the MSVC2010 build
Change-Id: I8dde439d19be45d5039904b6e917b17ca0ee4758
2014-06-25 17:05:11 +02:00
Michael Stahl
dfe787ef5d libgltf: add patch to find the headers in WORKDIR
Change-Id: I8570511be7c1d6de94ee82e18bad5b00b36d99bb
2014-06-25 16:58:43 +02:00
Michael Stahl
d83e66da94 libgltf: variable names need module prefix
Change-Id: Id144a483fe5576cdd546ac5da87890dc61f964b3
2014-06-25 16:58:41 +02:00
Bjoern Michaelsen
5aadf3ce06 still ugly, but lets silent the warning for now
Change-Id: I647e969bfc9f8b4294d3e526d8d5b11df7d7bea9
2014-06-25 16:00:32 +02:00
Bjoern Michaelsen
ba327f6b86 remove old redline save/restore
Change-Id: I3165f84d44c74bca3a2d75ebf3cd681b9d5d120a
2014-06-25 16:00:31 +02:00
Bjoern Michaelsen
c8ad16ca7c refactor redline save/restore
Change-Id: I4840d694954a5c0419abfa4c0fbe67b756f8253c
2014-06-25 16:00:31 +02:00
Miklos Vajna
0da4e600e6 Let SwTextBoxHelper::findTextBoxes() return a set
The intention was to have a container where it's fast to look elements
up, and list is a linked list, so it doesn't fit.

Change-Id: I3196c8dee96ecd4a6f464b74fd5141b27f1773b8
2014-06-25 15:54:21 +02:00
Caolán McNamara
af60018734 fix build
Change-Id: I33f06887b4b2b7950c6e322ccf1c7ec65240f9b0
2014-06-25 14:46:57 +01:00
Andrzej Hunt
0a5e6614bd LOK: tiled rendering / svp includes are Linux only too for now.
Change-Id: Iacd8554698f309f79208fd8390800ae2c5fd8085
2014-06-25 14:41:45 +01:00
Andrzej Hunt
e5fb98294a LOK: Tiled Rendering only useable on Linux.
Change-Id: I90daddddb08c26c594109ecf926cb4ea64308770
2014-06-25 14:33:26 +01:00
Zolnai Tamás
6403f2b59b Update libgltf: new build system and various fixes
Building:
- The new tarball has reasonable build system so
build libgltf as external package instead of compiling
source files directly.
- Freetype dependancy is removed

Improvements comes with the new libgltf
- Can rotate the models too (orbit mode)
- Two camera handling mode: walkthrough and orbit
(press M to change).
- gltf_animation_set_time() works
- FPS can be displayed without freetype (press F)

Additional notes:
- There were some bugs/regressions which are fixed
during the integration (see patches).
- License files are uddated now.
- libgltf building is enabled only on those platforms
on which gltf support actually works (windows and linux)

Change-Id: Ia6c9c4da53a9b4fedba0d73aa5791489f8ad424b
Reviewed-on: https://gerrit.libreoffice.org/9895
Reviewed-by: Zolnai Tamás <zolnaitamas2000@gmail.com>
Tested-by: Zolnai Tamás <zolnaitamas2000@gmail.com>
2014-06-25 13:22:29 +00:00
Luboš Luňák
076e4afc61 MSWord uses \xb for linebreaks in DB fields, take 2 (bnc#878854)
This commit also does the conversion when reading the data from a data source
using the mail merge wizard.

Change-Id: Ia14417507b6ddce955fec26142a42ce51f77de4e
2014-06-25 15:22:19 +02:00
Michael Stahl
17dc7f1153 remove spurious com::sun::util prefix
Change-Id: I002a14fe0cb0cbdb4d5da51db8da6c8208cf604e
2014-06-25 15:04:47 +02:00
Michael Stahl
ca18092a78 remove spurious com::sun::text prefix
Change-Id: I98d2fc7de3c2d3f95fb96192da83761ac1146172
2014-06-25 15:04:47 +02:00
Michael Stahl
c9d53bbe6e remove spurious com::sun::forms prefix
Change-Id: I5c7c1d888cda7f01685bce46a6092a2c30b856f9
2014-06-25 15:04:47 +02:00
Michael Stahl
1ba9504212 remove spurious com::sun::frame prefix
Change-Id: Ica1291e8d115ae7a7f1e99e569c9889e2b852f8a
2014-06-25 15:04:47 +02:00
Michael Stahl
4f1b0e0e32 remove spurious com::sun::script prefix
Change-Id: I66fc14d1f26da0c91a455b0f63bde31210566c2c
2014-06-25 15:04:47 +02:00
Michael Stahl
426b940a94 remove spurious ::com::sun::sdbcx namespace prefix
Change-Id: I37220af64c15259ab5bcf61b324d2a73ed8f5348
2014-06-25 15:04:46 +02:00
Michael Stahl
0de1e3a015 remove spurious com::sun::chaos
Apparently some time before inital CVS import a global
search-and-replace went horribly wrong and added spurious namespace
prefixes everywhere.

Change-Id: I4009bc3ab4b1d4c80412f75ad0e4628a382f99f0
2014-06-25 15:04:46 +02:00
Miklos Vajna
93011580b7 SwView::EnterDrawTextMode: refuse to edit editeng text if texbox is attached
Change-Id: If1b3e9807414e90341199eabfa937376084c097d
2014-06-25 15:06:46 +02:00
Andrzej Hunt
74a0782166 Add all the required conditions for vclplug_svp.
As per Repository.mk, we only have this on linux AND headless.

Change-Id: I708c89e38a661afb839ab1ac3e48ff9b2ecc040c
2014-06-25 13:32:00 +01:00
Andrzej Hunt
858d1b2de1 vclplug_svp only exists with ENABLE_HEADLESS.
Change-Id: I72fc636b1187bc99370b43927b25ed6fb89fe8f3
2014-06-25 13:19:19 +01:00
Caolán McNamara
ef16d76530 Related: fdo#37401 adjust fix to original aCenter use
i.e. as far as I can see the bug came about during....

commit 74cb1c4cb5
Author: Ivo Hinkelmann <ihi@openoffice.org>
Date:   Tue Nov 14 12:37:46 2006 +0000

with

2006/10/27 12:14:08 aw 1.2.1208.5: #i39528# ::basegfx -> basegfx adaption

in

-                Vector2D aFullVec(aStartPos - aEndPos);
-                Vector2D aOldVec(Vector2D(aRect.Left(), aCenter.Y()) - aRect.TopLeft());
                                                         ^^^^^^^^^^^
-                double fFullLen = aFullVec.GetLength();
-                double fOldLen = aOldVec.GetLength();
-                double fNewBorder = (fFullLen * 100.0) / fOldLen;
-                sal_Int32 nNewBorder = 100 - (sal_Int32)(fNewBorder + 0.5);
+                basegfx::B2DVector aFullVec(aStartPos - aEndPos);
+                const basegfx::B2DPoint aTopLeft(aRange.getMinX(), aRange.getMinY());
+                const basegfx::B2DPoint aCenterLeft(aRange.getMinX(), aRange.getHeight());
                                                                       ^^^^^^^^^^^^^^^^^^
+                const basegfx::B2DVector aOldVec(aCenterLeft - aTopLeft);
+                const double fFullLen(aFullVec.getLength());
+                const double fOldLen(aOldVec.getLength());
+                const double fNewBorder((fFullLen * 100.0) / fOldLen);
+                sal_Int32 nNewBorder(100L - FRound(fNewBorder));

Change-Id: I840caa5e49a04f9b6460c4fa8e3731f3e5ebde05
2014-06-25 13:11:43 +01:00
Andrzej Hunt
2c658ae4fb LOK DocView: clean up document on exit.
Otherwise lock files etc. aren't cleaned up, which isn't particularly
nice should when then opening the file in normal LibreOffice.

Change-Id: I822b6fb582473674371a4c1d403d5a05adb7ea6b
2014-06-25 13:04:33 +01:00
Andrzej Hunt
4171e2fdb2 Add zoom controls to gtktiledviewer.
Change-Id: I33ae83a97be254a3d3716bd9ae05f089845fd536
2014-06-25 13:04:33 +01:00
Andrzej Hunt
6024ddbfac LOK Docview: add set_zoom
Change-Id: I902f3a134b4a7dcc721eff3f67376014a4276885
2014-06-25 13:04:33 +01:00
Andrzej Hunt
3545b78755 Use full sofficerc for LOK.
Otherwise we get segfaults in cppu::idefaultConstructElements when exiting,
in addition to complaints of:
ignoring GError "Operation not supported" for <***RECURSION DETECTED***/log.txt>

Change-Id: If2f56873f50ba957288d1e5591db967d248ee7a4
2014-06-25 13:04:33 +01:00
Andrzej Hunt
5da5882df4 Add tiled rendering outline to Calc.
(No real implementation yet.)

Change-Id: I67b84b554dbb29db449d8c190ef816645a8bff07
2014-06-25 13:04:33 +01:00
Andrzej Hunt
cd96b0498d Use ITiledRenderable for LIBLOK.
Means that no changes should be required here once calc/impress/draw
support tiled rendering.

Change-Id: I0987d94303f39ba37e29b9ae7b2276e82dc0ccbf
2014-06-25 13:04:32 +01:00
Andrzej Hunt
f35b010a95 Add ITiledRenderable.
We want to have a simple interface that allows access to tiled
rendering without digging into the internals of writer
(and in the future calc/impress/draw).

Change-Id: Ia9c278a48c919333186e5361ff25bb1ab603b846
2014-06-25 13:04:32 +01:00