We need to pass the role of the data sequence in order to avoid unreliable
guess work when importing static value array.
Also, not all Excel's scatter plots have real numeric X values; some have
textural X values in which case Excel switch to generating 1, 2, 3, ... as
X values. When importing to our chart implementation, using "categories" role
in such cases instead of "values-x" results in a more faithful chart rendering.
Change-Id: If4bc1f650bb024dcd1b1b36537f457fb38404a78
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
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
UNOIDL identifiers starting with a lowercase letter and containing underscores
are reserved for the implementation. It would be good to be able to enforce
that in code parsing UNOIDL files, but some existing identifiers violate that.
So at least change any violating method parameter identifiers here. While that
is theoretically an incompatible change for published interfaces, it practically
does not matter at all.
Change-Id: I5eff17b5dd5e2e92984184127c4fe1712d62c9dd
- added polynomial and moving average to the dialog
- implemented moving average and polynomal RegressionCurveCalculator
- added icon for polynomial regression curve
- prepare icon for moving average regression curve
- degree parameter for polynomial regression curve
- period parameter for moving average regression curve
- limit the curve to max and min x value
- added extrapolation
Change-Id: I4ebb8dc23a3aff285b999e115fdda20ab11910a5
...changed from old-style with 5d1ad167294878789e644452f23ef883af93fe87
"fdo#46808 Convert chart2::FormattedString service to new style." The
CharacterProperties* services dropped there are property-only old-style
services, so only serve documentation purposes anyway. Ideally, the new-style
service would offer interface attributes for the relevant properties (and likely
not implement XPropertySet at all), but so be it for now...
Change-Id: I0dd0373cfd372f2320204eb953acce9a2b9e86d2
Only useful ones appear to be <tbody> and <thead> which doxygen doesn't
support but we only use those in 3 places so who cares.
Change-Id: I374f7d208873a8436fe76e0f800ce18df5b188b3
It is amazing what some people believe autodoc supports.
Also, com::sun:⭐:uno::Any does not exist in IDL, that is part of
the C++ language binding.
Change-Id: I1f1f5cf5d27663ace6ff618ecbecb41fd2dfa1fc
This one is apparently often abused to link to a constant group, while
it can only link to constants within a group.
sed -i "s,<const>\([^<]\+\)</const>,\1,g"
Change-Id: Ic3d8099751340e4b046298c861bb659beb351eaf
Doxygen would probably recognize these without () too but add them for
consistency.
sed -i "s,<member>\([^<]*::[a-z][^<:]\+[^)]\)</member>,\1(),g"
Change-Id: I2615b99265b75633459e35164e54d9da7fe76b85
Doxygen will only recognize a un-qualified method name as such if it is
followed by "()".
sed -i "s,<member>\([a-z][^<]\+[^)]\)</member>,\1(),g"
Change-Id: I69bc17849e76f3a3d91c6daf0f1be8168a83cfc5
Doxygen does not know type element and will recognize strings that
contain capital letter (all API types do) automatically as type.
This patch removes 15k doxygen warnings.
git ls-files | grep \\.idl | xargs sed -i "s,<type>\([^<]\+\)</type>,\1,"
Change-Id: I45c07cf0b115d5fb5353f4aa9719839615ea1150
This reverts commit d256dbede60533369d1aac64cca34721183f6a8a:
For one, the new css.chart2.XTitle2 looked unfinished, in that it transfered the
direct properties of the old-style css.chart2.Title service into attributes, but
left out all the properties inherited by the old-style service from
css.style.ParagraphProperties, css.drawing.FillProperties,
css.drawing.LineProperties (and that missing FIXME css.layout.LayoutElement,
whatever that is supposed to be). This needs more thought, to either make
available all propertiers as attributes, or none.
For another, this broke JunitTest_chart2_unoapi (sch.ChXChartDocument,
sch.ChartTitle), for hard-to-debug reasons.
Conflicts:
chart2/source/model/main/Title.cxx
chart2/source/model/main/Title.hxx
offapi/com/sun/star/chart2/XTitle2.idl
sc/source/filter/inc/xlchart.hxx
Change-Id: I4747208a13984904d0e409ea49a73b0f667c86c7
..from commit d256dbede60533369d1aac64cca34721183f6a8a
"Convert chart2::Title service to new style"
Change-Id: Ib4b8a9126f1042c7d0b8cc07505444f25fe9c55a
API CHANGE: dropped the following services from the new unified
interface because the current service does not implement them.
service ::com::sun:⭐:style::CharacterProperties;
[optional] service ::com::sun:⭐:style::CharacterPropertiesAsian;
[optional] service ::com::sun:⭐:style::CharacterPropertiesComplex;
Change-Id: I7cb6a5d4e998975b1272f4f4da03feea30cd30b6