Commit Graph

5400 Commits

Author SHA1 Message Date
Stephan Bergmann
362d4f0cd4 Explicitly mark overriding destructors as "virtual"
It appears that the C++ standard allows overriding destructors to be marked
"override," but at least some MSVC versions complain about it, so at least make
sure such destructors are explicitly marked "virtual."

Change-Id: I0e1cafa7584fd16ebdce61f569eae2373a71b0a1
2014-04-01 19:22:54 +02:00
Caolán McNamara
1062aaf005 coverity#1194922 Overflowed return value
Change-Id: Id00dc5b37685ac81125e5ed075680c4dab2426c9
2014-03-30 21:21:30 +01:00
Markus Mohrhard
05b55fd2a1 remove one more merge marker 2014-03-30 17:13:04 +02:00
Markus Mohrhard
6162ce7feb set first position and then size, fdo#75075
Change-Id: Ica8a82619f492bd30929ce88198f621f7a1f88a2
2014-03-30 17:08:47 +02:00
Markus Mohrhard
8ac95ba690 add test for fdo#74619
Change-Id: I94ed07b730b976f32ce8572f1ccefa96be0a6e77
2014-03-30 17:08:47 +02:00
Michael Stahl
692714b7da chart2: loplugin:saloverride
Change-Id: I795c8337f3d5fcf3e39849204867f0d57f40c843
2014-03-29 18:10:09 +01:00
Kohei Yoshida
3d9920bfb8 Add missing header.
Change-Id: I15f43e18bc20b8ddfd20b39bd4725519a2a8ae61
2014-03-29 10:33:05 -04:00
Kohei Yoshida
ffaf640b73 Add API wrapper to handle properties of new GL3D chart type.
Now the new proprety gets properly imported and exported to and from ODF.

Also, more on replacing string literals with define macro constants.

Change-Id: I4b773d68610a8aeaeb239901dac166e4dc2dd80d
2014-03-29 00:47:21 -04:00
Kohei Yoshida
de7c0f31b5 Let's use define constants here rather than string values....
Easier to keep track of their call sites.

Change-Id: I5f874194425ae8f5043bef45cce63a5e1d51a400
2014-03-29 00:47:21 -04:00
Kohei Yoshida
0be6a5ef37 Transfer back properties from the chart type object to template object.
Change-Id: I3484a2ae0141087835e34e4e174bdc24b3357854
2014-03-29 00:47:20 -04:00
Kohei Yoshida
cd1e897282 Too long a line.
Change-Id: I0b8f1b3b55cf0374ce1ff81d7798ea60848208d4
2014-03-29 00:47:20 -04:00
Kohei Yoshida
ef15c94699 Trying to move this RoundedEdge property from Diagram to GL3DBarChartType.
Then things stop working. Go figure.

Change-Id: I38893b20104537a64d279063c7b7dd708efb0d2f
2014-03-29 00:47:20 -04:00
Kohei Yoshida
91e1497abc Some debugging output of GL chart.
Change-Id: Ia216358085378b449626f9c9f36e63a65b7a2669
2014-03-29 00:47:20 -04:00
Kohei Yoshida
68e20faf3f Start using common symbols for textural UNO property names.
This will make it easier to track all uses of a UNO property name using
symbol database lookup, which is much faster and more accurate than grepping.

Change-Id: I8c2857504c29bcce01eb8c1f406dcbfb24331510
2014-03-29 00:47:19 -04:00
Kohei Yoshida
801e399f95 Add a means to debug the internal state of the diagram object.
Until we can render this new GL chart for real.

Change-Id: Iaf1a5fb903572c33d512705c9073b3795187f89b
2014-03-29 00:47:19 -04:00
Stephan Bergmann
5b5e626503 Remove remaining DBG_CTOR etc. remnants from chart2
Change-Id: Iaf07f77b4228d4debb2620625b14ce7dc41e3a98
2014-03-28 15:23:09 +01:00
Armin Le Grand
6e61ecd096 Merge back branch alg_writerframes to trunk
(cherry picked from commit b635b4fa4e42053d30ab639643d2236a20243f62)

Conflicts:
	comphelper/inc/comphelper/TypeGeneration.hxx
	comphelper/source/property/TypeGeneration.cxx
	cui/source/factory/dlgfact.hxx
	cui/source/inc/cuitabarea.hxx
	cui/source/tabpages/tabarea.cxx
	cui/source/tabpages/tabarea.hrc
	cui/source/tabpages/tabarea.src
	cui/source/tabpages/tparea.cxx
	drawinglayer/source/primitive2d/polypolygonprimitive2d.cxx
	drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx
	drawinglayer/source/texture/texture.cxx
	editeng/inc/editeng/unotext.hxx
	editeng/source/items/frmitems.cxx
	include/drawinglayer/texture/texture.hxx
	include/editeng/brushitem.hxx
	include/svx/sdr/primitive2d/sdrdecompositiontools.hxx
	include/svx/svxids.hrc
	include/xmloff/xmltypes.hxx
	reportdesign/source/ui/misc/UITools.cxx
	sc/source/ui/drawfunc/drawsh.cxx
	sfx2/source/dialog/tabdlg.cxx
	svl/source/undo/undo.cxx
	svx/inc/svx/unoshprp.hxx
	sw/Library_sw.mk
	sw/inc/doc.hxx
	sw/inc/format.hxx
	sw/inc/frmfmt.hxx
	sw/inc/swatrset.hxx
	sw/inc/unomap.hxx
	sw/inc/unoprnms.hxx
	sw/source/core/access/accpara.cxx
	sw/source/core/attr/format.cxx
	sw/source/core/attr/swatrset.cxx
	sw/source/core/doc/docdraw.cxx
	sw/source/core/doc/docfly.cxx
	sw/source/core/doc/notxtfrm.cxx
	sw/source/core/inc/frame.hxx
	sw/source/core/inc/frmtool.hxx
	sw/source/core/layout/atrfrm.cxx
	sw/source/core/layout/paintfrm.cxx
	sw/source/core/text/inftxt.cxx
	sw/source/core/text/porfld.cxx
	sw/source/core/text/txtfly.cxx
	sw/source/core/txtnode/fntcache.cxx
	sw/source/core/uibase/app/docst.cxx
	sw/source/core/uibase/app/docstyle.cxx
	sw/source/core/uibase/shells/drawdlg.cxx
	sw/source/core/uibase/shells/frmsh.cxx
	sw/source/core/unocore/unoframe.cxx
	sw/source/core/unocore/unomap.cxx
	sw/source/core/unocore/unoprnms.cxx
	sw/source/core/unocore/unostyle.cxx
	sw/source/ui/fmtui/tmpdlg.cxx
	sw/source/ui/fmtui/tmpdlg.src
	sw/source/ui/frmdlg/frmdlg.cxx
	sw/source/ui/frmdlg/frmpage.src
	sw/source/ui/inc/frmsh.hxx
	xmloff/source/text/txtprhdl.cxx
	xmloff/source/text/txtprmap.cxx

Change-Id: Id3ffaa83bb5594d287f1ac8f2c1c9cf55c70946d
2014-03-28 14:31:08 +01:00
Stephan Bergmann
c7190108f0 Missing XServiceInfo base class
Change-Id: I2a233e60162fd89e4765a57a0de10b430babcaa6
2014-03-28 14:30:30 +01:00
Stephan Bergmann
c260edff34 ChartTypeTemplate and its derivatives are not UNO service implementations
Change-Id: Ic4a4c0fe411c359f5305f01c8ff79ca48384b484
2014-03-28 14:14:42 +01:00
Stephan Bergmann
1d8f8c55f8 Missing XServiceInfo base class
Change-Id: Ib629a60d626c10ac9628d172896790e90d2daf51
2014-03-28 12:36:08 +01:00
Stephan Bergmann
d7f3b1effb chart::Wall is not a UNO service implementation
Change-Id: I6a5482f4d49e47d1a6289a29d1b573e25fa0b5c5
2014-03-28 12:14:53 +01:00
Stephan Bergmann
06a4698850 chart::impl::StockBar is not a UNO service implementation
Change-Id: I5faa0dd028dcc79d09c47fd53b7804121a062e2e
2014-03-28 11:54:21 +01:00
Stephan Bergmann
8bd24f37fe Missing XServiceInfo base class
Change-Id: Ib295357574a54de4716fcd2ff8f57c604729214d
2014-03-28 11:37:52 +01:00
Markus Mohrhard
e691541fb5 add interface for 3D stock type chart in 3D sceen
Change-Id: Ia7e17b64ce5f5f2320744618bb3006f4f9c2ab17
2014-03-27 20:34:25 +01:00
Stephan Bergmann
567ef6d578 Second batch of adding SAL_OVERRIDE to overriding function declarations
...mostly done with a rewriting Clang plugin, with just some manual tweaking
necessary to fix poor macro usage.

Change-Id: Ie656f9d653fc716f72ac175925272696d509038f
2014-03-27 18:12:18 +01:00
Noel Grandin
34002c4e5c sfx2: sal_Bool->bool
Change-Id: I1fd02cc148fd9a54d2092dad1e548f51a0813a14
2014-03-27 13:45:09 +02:00
Kohei Yoshida
d87240c0b2 Make sure to set the RoundedEdge check box on load.
Change-Id: Ic62e3f26b2cda28e823c465efb78a397fe781d51
2014-03-26 23:14:58 -04:00
Kohei Yoshida
f6f179c502 Pass the rounded edge property to the diagram object.
Change-Id: I71fa1bf82b879a1da69ca78d53bcf8072bdfa9ae
2014-03-26 23:14:58 -04:00
Kohei Yoshida
cea725111c Add the UI bits for showing "rounded edge" property for GL3D chart.
Change-Id: Ia6083c423bf8286a0b562d490283f8e1328a0124
2014-03-26 23:14:58 -04:00
Kohei Yoshida
e1823a9f8a Add a boolean "RoundedRectangle" property to the GL 3D chart.
Change-Id: I3cb23461718c5713c1e76d0b37d92b3e7849d13b
2014-03-26 23:14:57 -04:00
Markus Mohrhard
da46a0cbcc show negative values correctly in pie charts, fdo#69143
Change-Id: I2a33095f7dceb564911478a30aed1137ddacd531
2014-03-27 00:22:22 +01:00
Markus Mohrhard
0b4712812f enable the export validation for chart ODS tests
Don't even think about using the new skip flag for your shiny new test.
If you itnroduce tests that show validation errors fix them!!

Change-Id: I21bf61a113a35ca204a54d18246848a5788ae559
2014-03-26 23:58:44 +01:00
Markus Mohrhard
712daf33c8 remove unimplemented method
Change-Id: I28c735478142bcb438ac24482612d5fb52a65f6e
2014-03-26 23:58:44 +01:00
Markus Mohrhard
e8ed900016 improve formatting
Change-Id: Ic174dee2b0c3005b15b30348bf6aebf20ce50fb8
2014-03-26 23:58:44 +01:00
Markus Mohrhard
e940e177af handle xlsx files correctly as well
Change-Id: I24d63386d158e130aeb340235d71eb05cbd679f4
2014-03-26 23:58:43 +01:00
Markus Mohrhard
70c96dc147 unimplemented method
Change-Id: I5820bde974a42f32c404aa2b14b410534f10db29
2014-03-26 23:58:43 +01:00
Markus Mohrhard
b0d99224c7 add test for improved overlap chart export
Change-Id: Id1466f7a95470a7c90a7752971e126d3f4b45766
2014-03-26 23:58:43 +01:00
Takeshi Abe
3952fab4ed Avoid possible resource leaks by boost::scoped_array
Change-Id: I8b57f970b31b12902e3772c3306b71379b8d3fe5
2014-03-26 19:02:52 +09:00
Tor Lillqvist
975bbf29df Error: exception specification of overriding function is more lax than base
Change-Id: Iffcc2084e005b27653964ddc6e965744be370a16
2014-03-26 07:46:30 +02:00
Kohei Yoshida
86090ef2fb Make the new OpenGL chart type a compile time option.
And it's disabled for now.

Change-Id: I9a513d757960b61e7b2d6009eabf97a75b6c453e
2014-03-25 22:50:50 -04:00
Kohei Yoshida
44fc32edcd Properly import and export the new chart type to and from ODF.
Change-Id: I38e9813c6eb853dfb92b1537cea0b9ad97473b57
2014-03-25 22:50:50 -04:00
Kohei Yoshida
05efb605b3 Add a new skeleton plotter for the GL3D bar chart.
It plots absolutely nothing. It's just a place holder for now.

Change-Id: I6eb9cc23481391b83f6946a8b49a6176c5b29cd7
2014-03-25 22:50:50 -04:00
Kohei Yoshida
b7c3e85146 Turn this into a regular method.
Change-Id: Idb4dc17971cd37a4cdf99b2c02e61fca14cb3ce2
2014-03-25 22:50:50 -04:00
Kohei Yoshida
45c98588d0 Crash prevention by checking for NULL.
Change-Id: I10a0c2dcee123b884c563c3e6f83e218747e792a
2014-03-25 22:50:49 -04:00
Kohei Yoshida
be1152e0cc List child type for GL3D bar chart type.
For now there is only one child type.

Change-Id: If39a3e75fdae62f0b20769c21e6a4e235ede941e
2014-03-25 22:50:49 -04:00
Kohei Yoshida
56aaa39ff8 Skeleton template class for GL3D bar chart type.
Still very much empty.  It needs to be filled with sub-categories.

Change-Id: Iad7ad34efb264025541b585a92ee2ea7b8fff56f
2014-03-25 22:50:49 -04:00
Kohei Yoshida
be89276e63 Add a new chart type "GL 3D Bar" (working name).
Change-Id: I0b0a65bf4f9365a8d522e3c439afe19797b2fdd5
2014-03-25 22:50:48 -04:00
Kohei Yoshida
349a5b72bf Initial skeleton class for the new chart type. Still very much empty.
Change-Id: I5e9eaeb9337d51f59f800f8e676b8bc83b80df70
2014-03-25 22:50:48 -04:00
Noel Grandin
80ef0dfedc svtools: sal_Bool->bool
Change-Id: I42a341b5805e0b2a7d619ba552700db35815afd5
2014-03-25 14:32:57 +02:00
Noel Grandin
b5e11641a7 svtools: sal_Bool->bool
Change-Id: I90320997ed79be2556eafa4c35af6b968b378454
2014-03-25 14:32:56 +02:00