summaryrefslogtreecommitdiff
path: root/sc/source/ui/app/transobj.cxx
AgeCommit message (Collapse)AuthorFilesLines
2014-07-15fdo#71076, fdo#71767: Preserve number formats when charts are copied.Kohei Yoshida1-1/+1
(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>
2014-05-06fdo#78054: Initialize drawing layer when the document contains notes.Kohei Yoshida1-1/+1
Don't be fooled even when the document doesn't have a drawing layer initialized. Sometimes a note creates caption on demand later, but if the drawing layer isn't there the caption will not get created, which ultimately causes this crash. (cherry picked from commit fe451fb94a33c914c0a7c1265c013d9704af850a) Conflicts: sc/inc/document.hxx Change-Id: I37f4902fa84de91c9f793dc352127d9345a725e3 Reviewed-on: https://gerrit.libreoffice.org/9254 Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-03-31Resolves: #i124085# disabled CF_DIBV5...Armin Le Grand1-1/+2
(no advantages but some problems), increased png support (cherry picked from commit c991f7cae8dcb306cb0d1f32bc5fcd8ea0a1ea81) Change-Id: I52bef1295b32eb3692a0428c96edd0c55287f34a Reviewed-on: https://gerrit.libreoffice.org/8784 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-10-11Formula tokens, formula cells and formula interpreters to use shared strings.Kohei Yoshida1-1/+1
Change-Id: I5da99869fc7f61ce698180fa5daa9be9db9ac132
2013-10-11Resolves: #i123405# Allow to not limit size to PageSize...Armin Le Grand1-6/+13
when creating Metafile content (cherry picked from commit c4b76f0442c452693846a4c92970ba67f26f2226) Change-Id: I8536f4d55e422ad5550c1aaa311789ad31647611
2013-10-08convert sc/source/ui/app/*.cxx from String to OUStringNoel Grandin1-4/+4
Change-Id: Ib178453ebf5a7b4083288baf9eef5d36859e89f6
2013-06-27I forgot to pass the string param objects.Kohei Yoshida1-2/+2
Change-Id: I691de93daa1a6acaa99fba3af359f062406023d3
2013-06-13Resolves: #i121504# Support for alpha channel in clipboard for all systemsArmin Le Grand1-1/+1
(cherry picked from commit ef3931ff410117e1237b3bef7bc090e8b83b9519) Conflicts: automation/source/server/statemnt.cxx basic/source/runtime/methods.cxx canvas/source/vcl/devicehelper.cxx canvas/source/vcl/spritedevicehelper.cxx drawinglayer/source/processor2d/vclhelperbufferdevice.cxx drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx drawinglayer/source/tools/converters.cxx dtrans/source/win32/dtobj/FmtFilter.cxx editeng/source/items/bulitem.cxx extensions/source/scanner/sanedlg.cxx external/gcc3_specific/makefile.mk filter/source/graphicfilter/eos2met/eos2met.cxx filter/source/graphicfilter/ios2met/ios2met.cxx filter/source/msfilter/msdffimp.cxx fpicker/source/office/iodlg.cxx framework/source/fwe/classes/addonsoptions.cxx framework/source/fwe/helper/actiontriggerhelper.cxx sc/source/filter/excel/xiescher.cxx sc/source/ui/docshell/docsh.cxx sc/source/ui/inc/viewfunc.hxx sd/source/ui/app/sdxfer.cxx sd/source/ui/unoidl/unopage.cxx sd/source/ui/view/sdview3.cxx sfx2/source/appl/fileobj.cxx sfx2/source/appl/linkmgr2.cxx sfx2/source/dialog/filedlghelper.cxx sfx2/source/dialog/intro.cxx sfx2/source/doc/docinf.cxx sot/inc/sot/formats.hxx sot/source/base/formats.cxx svtools/bmpmaker/bmpcore.cxx svtools/bmpmaker/bmpsum.cxx svtools/inc/svtools/transfer.hxx svtools/source/filter/filter.cxx svtools/source/filter/wmf/emfwr.cxx svtools/source/filter/wmf/enhwmf.cxx svtools/source/filter/wmf/winwmf.cxx svtools/source/filter/wmf/wmfwr.cxx svtools/source/graphic/graphic.cxx svtools/source/graphic/provider.cxx svtools/source/misc/transfer.cxx svx/inc/svx/xoutbmp.hxx svx/source/sdr/overlay/overlaymanagerbuffered.cxx svx/source/xoutdev/_xoutbmp.cxx sw/source/core/view/viewsh.cxx sw/source/filter/ww1/w1filter.cxx sw/source/filter/ww8/ww8par.hxx sw/source/ui/dochdl/swdtflvr.cxx toolkit/source/awt/vclxbitmap.cxx toolkit/source/helper/vclunohelper.cxx vcl/Library_vcl.mk vcl/Package_inc.mk vcl/aqua/source/dtrans/DataFlavorMapping.cxx vcl/aqua/source/dtrans/OSXTransferable.cxx vcl/aqua/source/dtrans/PictToBmpFlt.cxx vcl/aqua/source/dtrans/PictToBmpFlt.hxx vcl/inc/vcl/alpha.hxx vcl/inc/vcl/bitmap.hxx vcl/inc/vcl/bitmapex.hxx vcl/inc/vcl/pngwrite.hxx vcl/inc/vcl/salbtype.hxx vcl/inc/vcl/wall.hxx vcl/source/gdi/animate.cxx vcl/source/gdi/bitmap2.cxx vcl/source/gdi/bitmapex.cxx vcl/source/gdi/bmpconv.cxx vcl/source/gdi/cvtsvm.cxx vcl/source/gdi/impgraph.cxx vcl/source/gdi/impimagetree.cxx vcl/source/gdi/metaact.cxx vcl/source/gdi/wall.cxx Change-Id: I79938bc412c048c3d4e64f430f216e73bec16167
2013-06-02remove unused variableMarkus Mohrhard1-1/+0
2013-06-02all formula cells have now an explicit number formatMarkus Mohrhard1-12/+0
Remove ScFormulaCell::GetStandardFormat Change-Id: I0b19f572cfcf5c08c81009b0f10e7cc44a1aa2f4
2013-05-10resolved fdo#35756 import more than 64k HTML table cellsEike Rathke1-1/+1
Enhanced EditEngine to be able to hold more than 64k paragraphs. Used also in RTF import Calc and Writer, so that could benefit as well. * changed all EditEngine,Outliner,... related paragraph index/count variables from sal_uInt16 to sal_Int32 * sal_Int32 instead of sal_uInt32 to match accessibility API * matched some Outliner methods' paragraph parameters from sal_uLong to sal_Int32 * containers capable to hold size_t nevertheless are limited to a maximum of sal_Int32 * changed definition of EE_PARA_NOT_FOUND and EE_PARA_ALL to SAL_MAX_INT32 + added EE_PARA_MAX_COUNT and EE_TEXTPOS_MAX_COUNT to initialize ESelection with what previously were hard coded 0xFFFF all over the place + for similar reason added EE_TEXTPOS_ALL corresponding to EE_PARA_ALL to initialize an ESelection spanning all available text like aSel(0,0,EE_PARA_ALL,EE_TEXTPOS_ALL) Change-Id: I62d1b9c399cd709a4f93dbac31b219a61c46ec00 Reviewed-on: https://gerrit.libreoffice.org/3838 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák1-3/+3
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-03-28Move ScFormulaCell into its own header source files: formulacell.?xx.Kohei Yoshida1-1/+1
Change-Id: I65f2cb12c06784b5bcf6c6a2fad773825b6c409c
2013-03-28Started killing direct use of ScEditCell.Kohei Yoshida1-12/+10
Change-Id: Id4afe6b748b5317db93e0a36257311e5bcff3820
2013-03-26Remove a variant of constructor from ScCellIterator.Kohei Yoshida1-1/+1
It's redundant. Change-Id: I0aae329124453a5976b2a74f6290b100ce955a4e
2013-03-22More ScCellIterator usage conversion. The rest are non-trivial...Kohei Yoshida1-55/+53
Change-Id: I965e023d00306334f2b1aa7d3d92c90d44769b76
2013-03-22Use ScCellValue instead of ScBaseCell in ScCellIterator.Kohei Yoshida1-0/+1
But of course such migration has to be done in gradual steps. For now, ScCellIterator supports both methods. Change-Id: I40cd8969b05598fe20916e43a5537217e824d418
2013-03-22Simplify ScCellIterator.Kohei Yoshida1-2/+2
Change-Id: I33b10e68434fe0047f8e7c3959b87a51f3460d29
2013-03-22Remove a variant of PutCell().Kohei Yoshida1-1/+0
Change-Id: I6100d30954536a3683be69363f1fc13d54cacfef
2013-03-22More on reducing use of ScDocument::PutCell().Kohei Yoshida1-7/+12
Change-Id: I7a911f13cddea829884aa9558d3be6a5e281c144
2013-03-19Remove use of ScBaseCell and its derivatives outside ScDocument.Kohei Yoshida1-2/+8
This is still work in progress. Change-Id: Ifcdbefbdd307a2a8819b073d896e90a16980781e
2013-03-15initial work on an odc exportMarkus Mohrhard1-1/+1
We can now export a chart to odc when we are in chart edit mode from Calc. I need to add support for it to Writer and Impress as well. We can already open these files but copy&paste from the opened file fails. The next step is then to add a new menu entry Insert->Object->Chart from file Change-Id: I14d1702e79517e7319a1929de2be5501d375885d
2013-01-30Let's stick with just one variant of ScDocument::GetString()...Kohei Yoshida1-2/+1
Instead of having 3 of them. Change-Id: I2de9b63c33b7362162a56ea391f8b68a468163fa
2013-01-08Let's not have two variants of this getter. One is enough.Kohei Yoshida1-2/+1
And let's stick with the one that returns the data pointer. Change-Id: I931be0d73adcf6f3888d05ef58bc0f905f5a6958
2012-12-04re-base on ALv2 code. Includes:Michael Meeks1-23/+14
Patches contributed by Herbert Duerr i#118735 prevent endless loop if vlookup/hlookup doesn't find anything http://svn.apache.org/viewvc?view=revision&revision=1239673 Patches contributed by Andre Fischer remove lp_solver http://svn.apache.org/viewvc?view=revision&revision=1199180 i#118160: Added external CoinMP library. http://svn.apache.org/viewvc?view=revision&revision=1233909 Patches contributed by Armin Le-Grand i#118485 - Styles for OLEs are not saved. http://svn.apache.org/viewvc?view=revision&revision=1182166 i#118524: apply patch, followup fixes to 118485 http://svn.apache.org/viewvc?view=revision&revision=1186077 Patches contributed by lihuiibm i#108860 - Fix range validation. http://svn.apache.org/viewvc?view=revision&revision=1242846 i#118954 Chart data will lost after copy to different file http://svn.apache.org/viewvc?view=revision&revision=1301345 Patches contributed by Ariel Constenla-Haile Fix Linux build breaker: extra qualification on member http://svn.apache.org/viewvc?view=revision&revision=1301591 i#118696 - i#118697 - Fix some Sheet Tab Color API issues http://svn.apache.org/viewvc?view=revision&revision=1225428 i#118697 - Fix uninitialized variable http://svn.apache.org/viewvc?view=revision&revision=1225859 i#118771 - ScUndoImportTab should preserve tab background color http://svn.apache.org/viewvc?view=revision&revision=1230356 i#118921 - Repaint linked sheet tab background color after updating link http://svn.apache.org/viewvc?view=revision&revision=1245177 i#118927 - Undo/Redo "Update Link" does not reset sheet tab color http://svn.apache.org/viewvc?view=revision&revision=1245241 i#118747 - Copy tab color when transferring sheets across documents http://svn.apache.org/viewvc?view=revision&revision=1230355 Patch contributed by Oliver Rainer-Wittman i#118012 - methods <ScBroadcastAreaSlot::AreaBroadcast(..)> and <ScBroadcastAreaSlot::AreaBroadcastInRange(..)> adapt stl-container iteration in order to avoid destroyed iterators during iteration. http://svn.apache.org/viewvc?view=revision&revision=1297916 Patches contributed by Mathias Bauer gnumake4 work variously http://svn.apache.org/viewvc?view=revision&revision=1394707 http://svn.apache.org/viewvc?view=revision&revision=1394326 http://svn.apache.org/viewvc?view=revision&revision=1396797 http://svn.apache.org/viewvc?view=revision&revision=1397315 Patch contributed by Daniel Rentz calc69: #i116936# fix VBA symbol Cells http://svn.apache.org/viewvc?view=revision&revision=1172135 Patches contributed by leiw: i#118546 CPU 100% on switched off AutoCalculate with Conditional Formatting on date values http://svn.apache.org/viewvc?view=revision&revision=1301380 Re-add new function documentation. Many various cleanups. Add missing calc66: #o11817313# also look at formula result number format, remove redundant binaries.
2012-07-28Use memset and memcmp insteadof rtl_zeroMemory and rtl_compareMemory in scArnaud Versini1-1/+1
Change-Id: Ia40c0af6844f736f0aad2566aec3c71f5016123e
2012-07-26Unused local variable.Kohei Yoshida1-1/+0
Change-Id: I27b653dd4c3f84342f0cdb90b6aa4989aa6ce016
2012-07-26Actually this method is totally redundant. Remove it.Kohei Yoshida1-1/+1
There is already an existing method that does the same thing. Change-Id: I627fa73cca8da35d703000bd27d33168612b4126
2012-07-26Try to encapsulate the row flag array.Kohei Yoshida1-5/+2
Eventually this flag array will go. The manual row height flag is the last one standing... Change-Id: I3f6be511eba50836d785ddf20ef08878797f6fe0
2012-06-09Remove superfluous include commentsThomas Arnhold1-5/+0
Change-Id: Ie5792855761b9be209bf3fa2cba9e6998523c982
2012-03-18some sal_Bool to bool in transobj.cxxMarkus Mohrhard1-13/+13
2012-03-18also shrink used area for HTML in some cases, fdo#46230, n#677811Markus Mohrhard1-1/+14
Hopefully this will allow pasting to external applications with whole column/row selected while not affecting calc itself.
2012-03-13only shrink to used area in text export, fdo#46230, related n#677811Markus Mohrhard1-3/+0
2012-02-27merge GetString variantsCaolán McNamara1-2/+1
2011-12-23fix copy/paste with whole column/rowMarkus Mohrhard1-0/+4
this fix should restore the old copy/paste behavior in calc and still only paste relevant entries to external programs
2011-11-27remove include of pch header from scNorbert Thiebaud1-2/+0
2011-08-29Hide ScDragData and ScClipData from scmod.hxx, clean up ScModule a bit.Kohei Yoshida1-0/+2
2011-08-26String to rtl::OUString.Kohei Yoshida1-1/+1
2011-06-07Merge branch 'feature/unlimited-number-of-sheets'Markus Mohrhard1-3/+3
Conflicts: sc/source/core/data/dociter.cxx sc/source/core/data/table1.cxx sc/source/ui/view/preview.cxx
2011-06-01use tunnel id pattern hereCaolán McNamara1-9/+7
2011-05-27Replace DBG_* with OSL_* in sc/source/uiJacek Wolszczak1-3/+3
2011-05-25Paste link from another calc doc as external reference instead of DDE.Kohei Yoshida1-2/+2
DDE is deprecated, and it relies on platform dependent file paths which are non-portable. Better use external references for paste link operations.
2011-05-19fix some bugs introduced with the last patches and rework some partsMarkus Mohrhard1-3/+3
2011-03-10Merge commit 'ooo/DEV300_m101' into integration/dev300_m101Kohei Yoshida1-39/+45
2011-03-02Move DBG_ERROR to OSL_FAILThomas Arnhold1-6/+6
2011-03-01Remove bogus comments.Guillaume Poussel1-2/+2
2011-02-11Cleaned up RowHidden() and ColHidden() calls.Kohei Yoshida1-4/+3
There were two versions of each; let's just keep one and remove the other.
2011-01-18Remove dead code: "//static" and "//virtual"Thomas Arnhold1-5/+0
2011-01-17removetooltypes01: #i112600# remove tooltypes from scMikhail Voytenko1-37/+37
2010-12-14Fixed unformatted text paste. (fdo#32213)Kohei Yoshida1-1/+8
* Changed default option settings for CSV import options to something sensible. * Set explicit multi-line cell handling policy during unformatted text pasting.