summaryrefslogtreecommitdiff
path: root/chart2/source/model
AgeCommit message (Collapse)AuthorFilesLines
2014-07-26bnc#885825: Support borders around data labels.Kohei Yoshida2-26/+81
Change-Id: Ib141413e523cbf73746876f727e9f80dda9f5f7c
2014-07-25fix indentationMarkus Mohrhard1-1/+1
Change-Id: Ic2b5e14c3a80d826fd6a31023f3821a333aed2d0
2014-07-23Revert "opengl charts: Move the init from sc to chart2 ...Markus Mohrhard1-0/+1
This reverts commit 46cea34638b371570073c0e86f79969753c543ed. Conflicts: chart2/source/view/charttypes/GL3DBarChart.cxx Change-Id: Ia29ea6a95b8b9eb870d14538d0cadaa40472582f
2014-07-22Wrong indent.Kohei Yoshida1-1/+1
Change-Id: I0aab6cc1d7a39928e9e8ffd6ae23fcfad42ceae3
2014-07-21Compiler macro in lieu of literal "Label" to make it easier to track it.Kohei Yoshida1-1/+1
Change-Id: I6bc694fcc8f97b308747c097c4fa977d20524377
2014-07-21Scope reduction by throwing early.Kohei Yoshida1-26/+23
Change-Id: Ic0b7b69b8c4e57064b31ef62ddceaf6094ca9991
2014-07-20opengl charts: Move the init from sc to chart2, to have the right parent.Jan Holesovsky1-1/+0
Change-Id: I1e23329345e00e7d8e1f269c832e84d015824c0a
2014-07-11new loplugin: externalandnotdefinedNoel Grandin1-2/+1
Find "missing headers," where a function is declared directly in the .cxx (as extern) and not defined, and should arguably instead be declared in an include file. Change-Id: I6d83ee432b2ab0cd050aec2b27c3658d32ac02a2
2014-07-10coverity#1224984 Dereference before checkNorbert Thiebaud1-3/+5
Change-Id: I93c8326d204d1b15a2a7ac5288a6c767029c6501
2014-07-10coverity#1224984 Dereference before null checkCaolán McNamara1-2/+1
Change-Id: I05d54983d6231ec0b4293df51c7d55570d10cee7
2014-07-04chart2: add some locking to chart::ChartType UNO serviceMichael Stahl2-4/+27
On the libreoffice-4-3 branch, chart2_unoapi crashed with what looks like a corrupted ChartType::m_aDataSeries triggering STL assertions. Try to protect the mutable members with SolarMutex guards. Change-Id: I3f2edd36b8ecf37ef60239415f70abfc8b59244d
2014-07-02remove whitespacesMarkus Mohrhard6-8/+0
Change-Id: I05ef3c1ffd4e2179e0142a21abf8a4578718102e
2014-07-01coverity#706266 Uncaught exceptionCaolán McNamara2-2/+2
Change-Id: Iba3d2b8cddcd9e0f228d5b9fef1ce3290047c8b0
2014-06-27fix invalid memory access in chart testsMarkus Mohrhard1-0/+2
Change-Id: I056101d146c939ff958c83efc57fd110e8d52509
2014-06-26Track all uses of ErrorBarX and ErrorBarY UNO property names.Kohei Yoshida1-2/+2
Change-Id: I994424c98d977c3a8f9138cccc17348de813a9d7
2014-06-19fdo#71076, fdo#71767: Preserve number formats when charts are copied.Kohei Yoshida6-13/+32
Change-Id: If5ae8852152012483237e7602e56a0c46ea8748a
2014-06-19Use define constant to keep track of all NumberFormat property usage.Kohei Yoshida3-6/+11
Change-Id: I2a544922e03ec8253290ac8bf5a89c9cdd72d8dd
2014-06-17improve the inlinesimplememberfunctions clang pluginNoel Grandin7-19/+3
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
2014-06-10fdo#79676: Initialize with a default chart only from the UI.Kohei Yoshida2-6/+16
When creating an embedded chart object during import, we don't want to create a default chart which would only mess up the chart data. With this change, ChartModel::initNew() is a no-op. Change-Id: Id29659c3885ec1e06bed26d2c851123fb63072cc
2014-06-10coverity#706262 Uncaught exceptionCaolán McNamara1-1/+6
Change-Id: I4fb1642153a0abe66ee9290e31813eb11623b527
2014-06-09loplugin: inlinesimplememberfunctionsNoel Grandin3-13/+1
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
2014-06-07remove unnecessary and unused chart debug functionalityMarkus Mohrhard2-16/+0
Change-Id: Ic8100b2afebe469709723b324394e08b7669d911
2014-05-28coverity#706265 Uncaught exceptionCaolán McNamara2-2/+3
Change-Id: I85c77236cd0a3cd791902a3978ea4e13606cea6c
2014-05-28coverity#706264 Uncaught exceptionCaolán McNamara2-2/+4
Change-Id: Ia197a0de24a282bbfcbfc80ee283f530ac12c287
2014-05-28coverity#706261 Uncaught exceptionCaolán McNamara2-2/+3
Change-Id: Ife4d1e828cc2b52c54e425ec7af533ebdacd0f1e
2014-05-27css already means ::com::sun::starThomas Arnhold5-30/+30
Change-Id: I48d7b746d7cc49246743c62480b0d225d2519342
2014-05-24make sure that OpenGL charts are rendered after importMarkus Mohrhard1-0/+13
Change-Id: I3701a7593d7394abc39532a87b9aa50a3c92d457
2014-05-20Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part18Julien Nabet3-4/+4
Change-Id: Ibf958dbfbf7cdbe6ad31d390138be8d4d468c225
2014-05-18Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part16Julien Nabet17-105/+105
Change-Id: I78b3a0151397d4e69521e6b2451e93ea6e463376
2014-05-16support property mapping in new 3D chartsMarkus Mohrhard2-0/+12
Change-Id: I3da71e354ed2595c1f5b2eaeb5fb565205d24de0
2014-05-15Resolves fdo#70681: fixincludeguards.pl: all that's leftThomas Arnhold2-4/+4
Change-Id: I3e51a62710bb46c8255fd228d41d9300c90a1fb5 Reviewed-on: https://gerrit.libreoffice.org/9360 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-05-11Fix previous commit (chart2 part)Julien Nabet2-11/+11
Change-Id: I9d6491f484eb2a8989b7e3594ca2edf702557b12
2014-05-11Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part10Julien Nabet2-11/+11
Change-Id: I67acda35fa127547dcea0cd18c9dc16db7c00294
2014-05-07the rendering is working on-screenMarkus Mohrhard1-0/+8
I can't believe that I finally see something on the screen. Change-Id: Ic374c8a0d0fa5050b0701a5553136759c9c7602c
2014-05-07let us use the new OpenGLWindowMarkus Mohrhard1-2/+2
Change-Id: I5cbab0aa1707513b62f7a9958fac013b3beb2dcb
2014-05-07provide the OpenGL windowMarkus Mohrhard1-0/+10
This approach looks much better. We get size and position correct without much work and can easily plug the window into the sc window hierarchy. We still have a crash on exit as the ScGridWindow goes out of scope and the SystemChildWindow is still alive. We need to fix it and bind the lifecycle of the SystemChildWindow to ScGridWindow. Another open item is the OpenGL context work. Right now it looks like the best way forward is to create a subclass of SystemChildWindow that contains the OpenGLContext. Change-Id: Ie0a74531e1b818cea92912345464c8fa219bbae2
2014-04-25fix missing service factory during import, related fdo#74333, cp#1000057Markus Mohrhard1-0/+5
Change-Id: I2cce561587d82b0434ef2d3e65e5d35b7ff99260
2014-04-21remove comments why a file gets includedThomas Arnhold3-8/+0
also remove some commented out code Change-Id: Ia80c5c57d8d2a74418032de50eee95642cc0969d
2014-04-15chart2: sal_Bool->boolNoel Grandin23-51/+51
Change-Id: I85751b4e636596ef88ef02bc958abdc6abf98427
2014-04-03remove unnecessary scope qualifier from sal_Bool usesNoel Grandin4-9/+9
i.e. convert "::sal_Bool" to "sal_Bool" Change-Id: Ie5943aee4fee617bf2670655558927ed25b7e067
2014-04-01Explicitly mark overriding destructors as "virtual"Stephan Bergmann1-1/+1
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-03-29chart2: loplugin:saloverrideMichael Stahl1-4/+4
Change-Id: I795c8337f3d5fcf3e39849204867f0d57f40c843
2014-03-29Add API wrapper to handle properties of new GL3D chart type.Kohei Yoshida4-32/+40
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-29Transfer back properties from the chart type object to template object.Kohei Yoshida2-0/+26
Change-Id: I3484a2ae0141087835e34e4e174bdc24b3357854
2014-03-29Trying to move this RoundedEdge property from Diagram to GL3DBarChartType.Kohei Yoshida3-15/+134
Then things stop working. Go figure. Change-Id: I38893b20104537a64d279063c7b7dd708efb0d2f
2014-03-29Start using common symbols for textural UNO property names.Kohei Yoshida2-3/+6
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-28ChartTypeTemplate and its derivatives are not UNO service implementationsStephan Bergmann22-192/+0
Change-Id: Ic4a4c0fe411c359f5305f01c8ff79ca48384b484
2014-03-28Missing XServiceInfo base classStephan Bergmann12-46/+36
Change-Id: Ib629a60d626c10ac9628d172896790e90d2daf51
2014-03-28chart::Wall is not a UNO service implementationStephan Bergmann2-27/+0
Change-Id: I6a5482f4d49e47d1a6289a29d1b573e25fa0b5c5
2014-03-28chart::impl::StockBar is not a UNO service implementationStephan Bergmann2-27/+0
Change-Id: I5faa0dd028dcc79d09c47fd53b7804121a062e2e