fdo#71076, fdo#71767: Preserve number formats when charts are copied.

(cherry picked from commit 1d38cb365543924f9c50014e6b2227e77de1d0c9)
Signed-off-by: Andras Timar <andras.timar@collabora.com>

Conflicts:
	xmloff/source/chart/SchXMLExport.cxx
	sd/source/ui/view/sdview3.cxx
	chart2/source/controller/chartapiwrapper/WrappedNumberFormatProperty.cxx
	chart2/source/controller/itemsetwrapper/AxisItemConverter.cxx
	chart2/source/controller/main/ChartTransferable.cxx
	chart2/source/controller/main/ChartTransferable.hxx
	chart2/source/model/main/Axis.cxx
	chart2/source/model/template/ChartTypeTemplate.cxx
	chart2/source/tools/AxisHelper.cxx
	chart2/source/view/main/ChartView.cxx
	comphelper/source/container/embeddedobjectcontainer.cxx
	dbaccess/source/ui/browser/dbexchange.cxx
	dbaccess/source/ui/inc/JoinExchange.hxx
	dbaccess/source/ui/inc/TableRowExchange.hxx
	dbaccess/source/ui/inc/dbexchange.hxx
	dbaccess/source/ui/querydesign/JoinExchange.cxx
	dbaccess/source/ui/tabledesign/TableRowExchange.cxx
	embeddedobj/source/commonembedding/persistence.cxx
	embeddedobj/source/inc/commonembobj.hxx
	include/comphelper/embeddedobjectcontainer.hxx
	include/svtools/embedtransfer.hxx
	include/svtools/stringtransfer.hxx
	include/svtools/transfer.hxx
	include/svx/dbaexchange.hxx
	include/svx/dbaobjectex.hxx
	include/svx/fmview.hxx
	include/svx/galmisc.hxx
	include/svx/svdobj.hxx
	include/svx/svdoole2.hxx
	include/svx/svdxcgv.hxx
	include/svx/view3d.hxx
	include/svx/xmlexchg.hxx
	include/xmloff/xmlexp.hxx
	reportdesign/source/ui/dlg/GroupExchange.cxx
	reportdesign/source/ui/dlg/GroupExchange.hxx
	reportdesign/source/ui/inc/dlgedclip.hxx
	reportdesign/source/ui/report/dlgedclip.cxx
	sc/inc/column.hxx
	sc/source/ui/app/drwtrans.cxx
	sc/source/ui/app/lnktrans.cxx
	sc/source/ui/app/seltrans.cxx
	sc/source/ui/app/transobj.cxx
	sc/source/ui/inc/drwtrans.hxx
	sc/source/ui/inc/lnktrans.hxx
	sc/source/ui/inc/seltrans.hxx
	sc/source/ui/inc/transobj.hxx
	sc/source/ui/inc/viewfunc.hxx
	sc/source/ui/view/viewfun5.cxx
	sc/source/ui/view/viewfun7.cxx
	sd/source/ui/app/sdxfer.cxx
	sd/source/ui/dlg/sdtreelb.cxx
	sd/source/ui/inc/TabControl.hxx
	sd/source/ui/inc/View.hxx
	sd/source/ui/inc/sdtreelb.hxx
	sd/source/ui/inc/sdxfer.hxx
	sd/source/ui/view/sdview2.cxx
	sd/source/ui/view/tabcontr.cxx
	sfx2/source/doc/objxtor.cxx
	svtools/source/misc/embedtransfer.cxx
	svtools/source/misc/stringtransfer.cxx
	svtools/source/misc/transfer.cxx
	svtools/source/misc/transfer2.cxx
	svx/source/engine3d/view3d.cxx
	svx/source/fmcomp/dbaexchange.cxx
	svx/source/fmcomp/dbaobjectex.cxx
	svx/source/fmcomp/xmlexchg.cxx
	svx/source/form/fmexch.cxx
	svx/source/form/fmview.cxx
	svx/source/gallery2/galmisc.cxx
	svx/source/inc/fmexch.hxx
	svx/source/svdraw/svdoole2.cxx
	svx/source/svdraw/svdxcgv.cxx
	svx/source/tbxctrls/colrctrl.cxx
	sw/source/core/uibase/dochdl/swdtflvr.cxx
	sw/source/core/uibase/inc/swdtflvr.hxx
	sw/source/core/undo/unins.cxx

Change-Id: If5ae8852152012483237e7602e56a0c46ea8748a
(cherry picked from commit 4ee53683df4beda260aff26d2c9e56fe643f45bb)
Signed-off-by: Andras Timar <andras.timar@collabora.com>
fdo#79676: Initialize with a default chart only from the UI.

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.

(cherry picked from commit c5539bb585370f095cb6c09e38a7dd005d237295)
Signed-off-by: Andras Timar <andras.timar@collabora.com>

Conflicts:
	chart2/source/model/main/ChartModel_Persistence.cxx
	sc/source/ui/drawfunc/fuins2.cxx
	sw/source/uibase/table/tablemgr.cxx

Change-Id: Id29659c3885ec1e06bed26d2c851123fb63072cc
(cherry picked from commit 1eccdc5c39587d4019cb4c88f8483b1fe14d5dda)
Signed-off-by: Andras Timar <andras.timar@collabora.com>