Related: fdo#37401 adjust fix to original aCenter use

i.e. as far as I can see the bug came about during....

commit 74cb1c4cb5f72fd8cf80c6d144eda00841394647
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
vclplug_svp only exists with ENABLE_HEADLESS.

Change-Id: I72fc636b1187bc99370b43927b25ed6fb89fe8f3
Add all the required conditions for vclplug_svp.

As per Repository.mk, we only have this on linux AND headless.

Change-Id: I708c89e38a661afb839ab1ac3e48ff9b2ecc040c
SwView::EnterDrawTextMode: refuse to edit editeng text if texbox is attached

Change-Id: If1b3e9807414e90341199eabfa937376084c097d
remove spurious com::sun::star::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
remove spurious ::com::sun::star::sdbcx namespace prefix

Change-Id: I37220af64c15259ab5bcf61b324d2a73ed8f5348
remove spurious com::sun::star::script prefix

Change-Id: I66fc14d1f26da0c91a455b0f63bde31210566c2c
remove spurious com::sun::star::frame prefix

Change-Id: Ica1291e8d115ae7a7f1e99e569c9889e2b852f8a
remove spurious com::sun::star::forms prefix

Change-Id: I5c7c1d888cda7f01685bce46a6092a2c30b856f9
remove spurious com::sun::star::text prefix

Change-Id: I98d2fc7de3c2d3f95fb96192da83761ac1146172
remove spurious com::sun::star::util prefix

Change-Id: I002a14fe0cb0cbdb4d5da51db8da6c8208cf604e
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
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>
LOK: Tiled Rendering only useable on Linux.

Change-Id: I90daddddb08c26c594109ecf926cb4ea64308770
LOK: tiled rendering / svp includes are Linux only too for now.

Change-Id: Iacd8554698f309f79208fd8390800ae2c5fd8085
fix build

Change-Id: I33f06887b4b2b7950c6e322ccf1c7ec65240f9b0
Render tiles from calc.

Currently the document size and number of cells to be rendered
is hardcoded, this will need some more work to select the correct
cells for a given tile (i.e. cells from location). Also, there
isn't really a "size" for a calc sheet, so presumably we'd need
to instead return the area containing cells that aren't empty,
whilst still being able to render larger tiles? (And in any case
the client will need to be aware of this and provide an appropriate
interface, i.e. the current LO UI simply extends the sheet ad-infinitum.)

We also currently get some warnings most likely related to the way
we push our OutputDevice into the rendering methods:
SdrPageView::DrawLayer: Creating temporary SdrPageWindow (ObjectContact), \
this should never be needed

Change-Id: Ia9d64d7de6c22d5b401350f88497a7ec106f1973
Calc: Add tiled rendering device to the paint view.

This prevents the previous warnings of
SdrPageView::DrawLayer: Creating temporary SdrPageWindow (ObjectContact), \
this should never be needed

Change-Id: I76cb7c9ed4d45bfcbd297f697314309b4e036f80
Allow overriding of device for Paint, and use that for Tiles.

Paint handles figuring out which cells are within the visible area
for us etc.

Gridwin being a Window which paints to itself is a bit of a pain,
since we now need to be able to reroute painting calls to alternative
output devices, however these changes seem to be sufficient to at least
get the cells in the desired tile rendered.

Change-Id: I7bd1434c97acc6e9ef6e1e63cbcf039b987c88e4
Implement data area size retrieval.

The scaling is wrong, but seems to work in principle
(i.e. we get roughly 1.5x the correct size).

Change-Id: I6db1986e6cb1e5f3889ec3a462d999a9eab57331