Commit Graph

352600 Commits

Author SHA1 Message Date
Thomas Arnhold
290ecbca8d remove some useless lines
As those classes don't exist.

Change-Id: I1e9015e1654e6d261709ab0b1dcf9784a0849e92
2014-05-06 18:12:25 +02:00
Thomas Arnhold
67c0cebb3f remove dead SvxDialogDll class
Change-Id: Ibf923575f48b2e253dee5a83c317e17d3fb68b0c
2014-05-06 18:12:24 +02:00
Thomas Arnhold
15d34f594d remove unused SvxFmConfigWin class
Change-Id: Ic3c7e508ba80935e938f9fc73ddcc50367ac0c4e
2014-05-06 18:12:24 +02:00
Stephan Bergmann
91666033e9 Fix patch
Change-Id: I18608380bf89822ce402e79038f2016af17b2ead
2014-05-06 18:05:35 +02:00
Tor Lillqvist
8c51ef52e2 Don't use extern "C" for a function which return C++ types
Fix error: 'gltf_get_model_center_pos' has C-linkage specified, but returns
user-defined type 'glm::vec3' (aka 'tvec3<mediump_float>') which is
incompatible with C.

I don't really understand the reason for the extern "C" use in
libgltf.h. After all, the header clearly is intended to be included from C++
code (after all, the use of 'extern "C"' is unconditional and it is not valid
in C), and the implementation of the functions is in C++. Also, we build
libgltf as a static library, so it can't be the case that we would need to
look up its symbols dynamically (when unmangled names would be better). But
maybe I am missing something.

Change-Id: I19f025610301f8c535178a83f4ab2e58455bad57
2014-05-06 18:55:13 +03:00
Tor Lillqvist
e1bc856e62 Fix indentation
Change-Id: If94971484109fb63d2e20af77d023e6552a02ba8
2014-05-06 18:31:10 +03:00
Zolnai Tamás
b4b10fc873 Upgrade libgltf
Change-Id: Ib7bc9562602d1d8da4082987302834ac2486d78a
2014-05-06 17:25:16 +02:00
Caolán McNamara
0ece50a4ce fix build problem
Change-Id: Ia6a54d86d4f283c7220a88b6bc68f0fb47ed3014
2014-05-06 16:12:40 +01:00
Miklos Vajna
f0d6137c4e oox: prepare for importing a TextBox property on shapes
Writer's SwXShape doesn't have that property yet, though.

Change-Id: I997eb188574fab93d35595972fdc2eaebabc015b
2014-05-06 17:11:44 +02:00
Stanislav Horacek
d3832fc60d Updated core
Project: help  3df0ca4718f3f966e1a3df4884f7deb56789b7b1

add comments in margins option to PDF export

Change-Id: I0aa253632f32da00631f331c016345cd1fe2d9e5
Reviewed-on: https://gerrit.libreoffice.org/9243
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-05-06 15:09:11 +00:00
Stanislav Horacek
0131fb7bff Updated core
Project: help  a8572d0a8c380e9a04001e3ec638c13519d79d83

fdo#70998 change terms graphics/picture to image

not completely since changes in UI are not complete

Change-Id: I404af180fc4317204995217736f4e2bfd2cc7723
Reviewed-on: https://gerrit.libreoffice.org/9244
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-05-06 15:08:52 +00:00
Vort
b27fca822c fdo#78241 PDF Import: add dashes support
Change-Id: Ifd9fbce44c7d18114d5be466bfb9d92192573205
Reviewed-on: https://gerrit.libreoffice.org/9246
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-05-06 15:07:59 +00:00
Caolán McNamara
bb2d5c40e4 Related: fdo#36815 clip overlarge comment contents
and add an indicator that the comment won't fit in the space available

Change-Id: I8dce7dfa678a606e8c4532addc4ba70c2a43644e
2014-05-06 15:57:15 +01:00
Jacobo Aragunde Pérez
222489744c sw/qa: add missing file for unit test
Change-Id: Ia940f4adc13df3a8a6df80ca4ed4f395a5f9c089
2014-05-06 16:56:15 +02:00
Tor Lillqvist
f9980adc43 Avoid the annoying line wrapping
Change-Id: I3ac2f0bf676491231bcd60eb91e8a36bc6c00620
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-05-06 16:55:26 +02:00
Eike Rathke
92e10ac194 make all SvtLanguageTable non-static methods private
This effectively behaves now like a singleton.

Change-Id: Ib7a455a423f247267358d819e13d285428fe3aa8
2014-05-06 15:37:07 +01:00
Stephan Bergmann
db06595d13 vcl::EventPoster shall probably be covered by SolarMutex
...as most parts of VCL.  Ran across at least one case where a remote call to
framework::CloseDispatcher::release -> ~CloseDispatcher -> ~EventPoster ->
Application::RemoveUserEvent caused a crash.  As always with SolarMutex, keep
fingers crossed that this is about the right level to acquire it.

Change-Id: I8f4be7329adbf72355774fa5d3c472270da3ddd2
2014-05-06 16:33:55 +02:00
Jacobo Aragunde Pérez
36e22e83a1 oox: preserve camera rotation on shape 3D effects.
Camera options in shape 3D effects can have rotation settings like in
the following example:

  <a:camera prst="perspectiveRelaxedModerately" zoom="150000">
     <a:rot lat="19490639" lon="0" rev="12900001"/>
  </a:camera>

This patch preserves the a:rot tag and its attributes using the
shape grab bag. We created the class Scene3DRotationPropertiesContext
to be piled on top of a Scene3DPropertiesContext and process the
contents of the child item. It also adds a unit test for this case.

Change-Id: Id6bf58ad05fe5b49061619b6750ed0658badc9af
2014-05-06 16:32:28 +02:00
Jacobo Aragunde Pérez
1b7773cb07 oox: preserve scene3d/camera effects on shapes.
Shapes can contain 3D effects like in the following example:

  <a:scene3d>
    <a:camera prst="isometricLeftDown" zoom="150000"/>
    <a:lightRig rig="threePt" dir="t"/>
  </a:scene3d>

This patch preserves the a:camera tag and its attributes using the
shape grab bag. It also adds a unit test for this case.

Change-Id: Ic6a78031d2e1fb84a2bacd97b5cc9c55d9dbaa95
2014-05-06 16:32:28 +02:00
Jacobo Aragunde Pérez
8d2a5c16c7 oox: Integrate Shape3DProperties and Scene3DPropertiesContext
Code for these two classes was already present but it was commented
out or left outside of the build system because it didn't even
compile. I've brought it back and made it compile, but it has no use
yet. The goal is using it to preserve 3D transformations.

At scene3dcontext.cxx I removed the text chunks found in the middle
of the source and corrected some mistakes; I also modified the
conversion of "fov" attribute.

At shape3dproperties.hxx I removed all the struct members because
they seemed to have been copied&pasted from another file, and added
only those members that made sense. Removed useless function
definitions.

Change-Id: I2c00ea638e1a4fb1a3820bc4c322488296d3e6d7
2014-05-06 16:32:27 +02:00
Jacobo Aragunde Pérez
9bb6956197 ooxml: fix cell theme color and shade preservation
The cell property w:shd was not being properly preserved when the
shade value was different from "clear". The shading affects the cell
color and the exporter was not taking that into account when comparing
the cell color with the original color to know if the user had changed
it.

Besides, we were not preserving the attributes themeColor, themeTint
and themeShade.

I have modified the existing unit test testTableThemePreservation to
add a check for those new attributes.

Change-Id: I06d2e668486803cba039eacb717a69413bd5a1df
2014-05-06 16:32:27 +02:00
Eike Rathke
2d8694c2f9 ditch the last temporary SvtLanguageTable instance
Change-Id: I66a9d45089039c332b3fe7e279a27b81f8bb4aea
2014-05-06 14:39:48 +01:00
Eike Rathke
fe3793e33a now these temporary SvtLanguageTable instances are moot
Change-Id: I82eec52b3ee30dfbdb87469cb8f0b14c4fc777cf
2014-05-06 14:31:09 +01:00
Eike Rathke
a9ff01648a provide static GetLanguageEntryCount() and GetLanguageTypeAtIndex()
Change-Id: I89dc5d25b37169ebc1581ebf957d33dd7b0e204c
2014-05-06 14:22:13 +01:00
Stephan Bergmann
2a3d009f69 Just IMPL_LINK is just fine
Change-Id: I64cfb93b5fcf27a7faff71ca2b4ab8795f46a3b2
2014-05-06 15:18:26 +02:00
Eike Rathke
9c66d0312f eliminate unnecessary temporary SvtLanguageTable instance
Change-Id: I64fba0071523af67eef72a4b92970cd7052b5c2e
2014-05-06 14:06:20 +01:00
Tor Lillqvist
9124f7e8bc Move headers included only in svtools to svtools
Change-Id: I66e443b5b641aaf16e1918f139a6b6a173ef7d4c
2014-05-06 15:30:05 +03:00
Stephan Bergmann
f4d3558334 Application::UserEvent and Window::UserEvent are empty
...and never overridden, so can be removed along with the dead
SVX_EVENT_COLUM_WINDOW_EXECUTE code that calls them.

Change-Id: Ie500066c083f8fbf649c64f2d61fb85901473b5c
2014-05-06 14:25:46 +02:00
Miklos Vajna
aa3a25ca74 oox custom shape preset data: fix typo in parsing awt::Size
Regression from commit f5ccbfdc56 (oox
customshapepreset: switch to generated data -> code, 2014-04-17).

Change-Id: I2106271e2f43e7936237628e47cd4e01ab34441c
2014-05-06 14:22:50 +02:00
Tor Lillqvist
5e80dd672f Move a few more headers that are included only in sfx2 to sfx2
Change-Id: I8bd81a45f5ef1b76fce1563b06e05a4eefcff0ec
2014-05-06 15:01:31 +03:00
Tor Lillqvist
aa8abbe736 Move headers included only in svx from include/svx/sdr/* to svx/inc/sdr/*
Change-Id: I084cbab30dfb0a7d567d1b172a79320687d20a06
2014-05-06 14:52:33 +03:00
Tor Lillqvist
0748e52990 WaE: 'bPrependCurrencySymbol' may be used uninitialized in this function
Change-Id: I2a9807640ef25e30ea34aa017cf02221f355153f
2014-05-06 14:47:59 +03:00
Tor Lillqvist
a1dd961c30 Move headers included only in svx itself from include/svx to svx/inc
Change-Id: Ib735e6566981232fec8b13c81a2de11a6b21dfe7
2014-05-06 14:41:30 +03:00
Markus Mohrhard
1fd0d0f3fc fix matrix generation
Change-Id: Id31caa16dfe0d0f23cf07589053233e9b311d02f
2014-05-06 13:10:35 +02:00
Stephan Bergmann
c748a17cac Remove dead SvxPopupWindowTbxMgr definition
Change-Id: I1d7221142b8f52672ea96cfe42e1e71c8e39c416
2014-05-06 13:08:07 +02:00
Stephan Bergmann
a7e18f0a16 ImplSVEvent::mpLink is never null
...at least since f74efe63d9 "callcatcher: remove
newly unused code."

Change-Id: I2d988525e0b82c87b2bae1f669333d0849dbee49
2014-05-06 12:46:25 +02:00
Noel Grandin
c0d037a6ec forms: sal_Bool->bool
Change-Id: Ifa15f4ed3107b1075b504f09d2cae69ee38d347a
2014-05-06 12:38:16 +02:00
Stephan Bergmann
ae92e6e6d5 ImplSVEvent::mnEvent is always zero
...at least since f74efe63d9 "callcatcher: remove
newly unused code."

Change-Id: I7067e9e6af6693c1401510e2de196533d6963cb2
2014-05-06 12:27:38 +02:00
Ariel Constenla-Haile
f03d98a999 Add extension description
(cherry picked from commit a738920303e77022fa89740c16cb832ee3477fa2)

Conflicts:
	odk/examples/cpp/complextoolbarcontrols/Makefile

Change-Id: I28af30dc04068c670d31be7494b7ce9a7a25c3a3
2014-05-06 10:23:18 +01:00
Ariel Constenla-Haile
d1f6b72e37 Add support for MacOSX x86_64
(cherry picked from commit 1307f0949c9b6e1ef2e8a3128c2113bbd7f17a58)
2014-05-06 10:23:17 +01:00
Michael Stahl
610830ed02 writerfilter: try to fix 32-bit builds
Change-Id: I7fb61144d8ff263e97de8cb7088b9eefdaafe52f
2014-05-06 11:06:15 +02:00
Stephan Bergmann
03d960ac11 Avoid using incomplete types with std containers
...which is explicitly supported by Boost.Container though, but we cannot use
boost::container::map here as Boost.Container is only available since Boost 1.48
and our base is 1.47 still.  However, there appears no need for Children to be
sorted, and std::unordered_map (and thus boost::unordered_map) requires that
pointers to elements are not invalidated by insertions, which we do require.

Change-Id: I70ad6f40318d2bafae53ebb67d84c1c89a7d68f6
2014-05-06 10:41:18 +02:00
Ravindra Vidhate
cbcc6189e3 fdo#77887 : Floating Table positions are not preserved when doing Export
The margin of the floating table from top of the page is not being preserved correctly and it also get increased.

The w:tblpPr tag is also not preserved.

Reviewed on:
	https://gerrit.libreoffice.org/9185

Change-Id: I8a27a4bab94a1afd27a7ba49ca55ff014918fffc
2014-05-06 09:57:59 +02:00
Tor Lillqvist
a4ff20eefa WaE: unused variable 'aRect'
Change-Id: I22368254727d1b78337cce42425e27fc7e2588c4
2014-05-06 10:23:15 +03:00
Tor Lillqvist
d117fb663a WaE: private field 'm_iPointNum' is not used
Change-Id: Iad9c5270e90c7492598764038ad278309da73091
2014-05-06 10:18:19 +03:00
Markus Mohrhard
7ac9f37ebf add some missing pieces from the 2D renderer to the 3D one
Change-Id: I9933a429f42f8a350a88aa77514f934560ed58f3
2014-05-06 07:59:00 +02:00
Noel Grandin
794f09f195 simplify ternary conditions "xxx ? true : yyy"
Look for code like:
   xxx ? true : yyy;
Which can be simplified to:
   xxx || yyy

Change-Id: Ib7ca86580bfd0cf04674328a3c0cf3747de4758d
2014-05-06 07:45:25 +02:00
Julien Nabet
3f569908ac Remove C11ism
Change-Id: I093ef950f7097021dec3b829d4e11e7b20fc9292
2014-05-06 07:39:09 +02:00
Julien Nabet
1567853a82 Remove C11ism
Change-Id: Id5ae0cf42aa8d6ed464eb1149ebdd172a284a75f
2014-05-06 07:35:44 +02:00
Markus Mohrhard
c2941322d2 fix wrong shader names
Change-Id: Icd2d219446cdf78c4be97f96e38c9e4b174f9ddd
2014-05-06 07:25:51 +02:00