summaryrefslogtreecommitdiff
path: root/sc/source/ui/docshell/docsh.cxx
AgeCommit message (Collapse)Author
2014-01-06Try not to use ScDocument as a "anything can go in" storage place.Kohei Yoshida
There are things that shouldn't be stored in ScDocument believe it or not. Change-Id: I6a06327549851fae0fdc0defbc716285d8456aa2
2013-12-19Properly import data stream data from ods.Kohei Yoshida
Change-Id: Iedae2226ba08c614f1b700a5444715a990899d38
2013-12-11Let's use a status indicator while exporting to xlsx.Kohei Yoshida
And reduce header dependency on docsh.hxx which a lot of files include directly or indirectly... Change-Id: I2de25380f8b634456e0add940fbb775ac11414cd
2013-12-02Integrate branch of IAccessible2Steve Yin
Conflicts: everything Change-Id: I3d8cf956f511a0d953a1cefe83b6ef987806da25
2013-11-27Clear column data array cache when the document content changes.Kohei Yoshida
Change-Id: I09ffa455e79199e37ca6168753ec9ef4d5aa33dc
2013-11-20remove unnecessary RTL_CONSTASCII_STRINGPARAM in appendAscii callsNoel Grandin
Convert code like: aStrBuf.appendAscii( RTL_CONSTASCII_STRINGPARAM( "ln(x)" )); to: aStrBuf.append( "ln(x)" ); which compiles down to the same code. Change-Id: I24c7cb45ceb32fd7cd6ec7ed203c2a5d746f1c5c
2013-11-14remove unnecessary sal_Unicode casts in SC moduleNoel Grandin
Change-Id: Iee7688ea60b4d45d3e6725afd46e9cbb5ebe26c5
2013-11-11remove unnecessary use of OUString constructor in SC moduleNoel Grandin
Change-Id: I2d40c589eb3b5c99300f36cd705c32cf824b2a98
2013-10-23Re-implement cell note storage using mdds::multi_type_vector.Laurent Godard
Change-Id: I34ea91e360e2a6b85d65f970c6e43db687d213ca
2013-10-23convert code to use OUString::endsWithNoel Grandin
Convert places that call aStr[aStr.getLength()-1] == 'x' to use the shorter form aStr.endsWith("x") Change-Id: I1b3a19c0e89b8989cdbeed440f95fc76f9a4b6b6
2013-10-22Bin comments that claim to say why some header is includedTor Lillqvist
They are practically always useless, often misleading or obsolete. Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
2013-10-21drop CharSet typedefCaolán McNamara
Change-Id: Ia160d7cbaa2ee71773483c3f91306f89cdad5947
2013-10-11Formula tokens, formula cells and formula interpreters to use shared strings.Kohei Yoshida
Change-Id: I5da99869fc7f61ce698180fa5daa9be9db9ac132
2013-10-08Store svl::SharedString in document cell storage instead of OUString.Kohei Yoshida
With this, both ScColumn and ScMatrix store svl::SharedString as their string values, instead of OUString. Change-Id: I3faece94d98f774881fd72b3ed5f6143504cd350
2013-10-08convert sc/source/ui/docshell/*.cxx from String to OUStringNoel Grandin
Change-Id: I0f2cada87bfa7b59cfcfdd8cf9bc876dd1395654
2013-10-07Related: fdo#38838 remove UniString::SearchAndReplaceAsciiCaolán McNamara
Change-Id: I86019d7ab248679cd8518a621fe8e3721b44aeb0
2013-10-04convert sc/source/ui/inc/d*.hxx from String to OUStringNoel Grandin
Change-Id: Ie463ca66bb77c251742bacee94f26adc2a697c6e
2013-08-29convert include/sfx2/objsh.hxx from String to OUStringNoel Grandin
Change-Id: I9587190cea24da93ec0496f2eccf0d32d98980ee
2013-08-22convert include/svtools/htmlout.hxx from String to OUStringNoel Grandin
Change-Id: I2fcc3335945202672a5f8ab36ae6bdb395e83476
2013-08-10sal_Bool to boolEike Rathke
Change-Id: If15bc8ae32674a7282861663ab4f91a958320a3c
2013-07-25resolved fdo#67249 use ScFieldEditEngine to resolve field contentEike Rathke
ScEditUtil::GetString() iterated over the paragraphs of an EditTextObject where GetText() does not resolve field content but returns the embedded field markers. To resolve field content an ScFieldEditEngine is needed. This makes it necessary to pass an ScDocument* to obtain the ScFieldEditEngine from, or for cases where there is no ScDocument in the context use a static ScFieldEditEngine which unfortunately is not capable of resolving document specific fields of course, such as DOCINFO_TITLE and TABLE. Also added unit test. Change-Id: Ife3c23b2fec2514b32303239d276c49869786eb5
2013-07-19fdo#63690 - replace RTL_CONTEXT_ macros with SAL_INFOJelle van der Waa
Change-Id: I8ab8f69413561c5e5a198bb11f07920720c48d25 Reviewed-on: https://gerrit.libreoffice.org/4886 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-06-28fdo#43460 sc: use isEmpty()Jelle van der Waa
Change-Id: I062570091ebea0ad30f09b0358ab664a3ff949ef Reviewed-on: https://gerrit.libreoffice.org/4316 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-06-13Resolves: #i121504# Support for alpha channel in clipboard for all systemsArmin Le Grand
(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-05-28fdo#46808, Convert ui:*AcceleratorConfiguration to new styleNoel Grandin
The services already existed, they just needed IDL files. API CHANGE: The return type of XUIConfigurationManager#getShortcutManager() is now XAcceleratorConfiguration instead of XInterface. This should not be a problem because XUIConfigurationManager is unpublished and the client code was relying on the service returning that type. Change-Id: I399fe35de3394b02a4166b75eb7ff93b28be8bef
2013-05-21fdo#46808, Convert some XMultiServiceFactory to XComponentContextNoel Grandin
and remove unnecessarily storing the global XComponentContext Change-Id: Ifb230b88661fea38d96a9d7f0994f92b9632ef79
2013-05-09ScHint doesn't need to store broadcaster pointer. Let's not.Kohei Yoshida
Change-Id: I86f9b44c87f3a730902d12505252e4b7e0a24fe4
2013-05-09Remove broadcaster from ScBaseCell, remove ScNoteCell and CELLTYPE_NOTE...Kohei Yoshida
and Calc is now officially broken. Let's start fixing this bit by bit... Change-Id: I383c88245fe1e573666da636c6a8ca8815352ce7
2013-05-09Remove unnecessary inclusion of column.hxx.Kohei Yoshida
Change-Id: I93c4e017790b1b1de611ad9f440aa6aa9caaa2df
2013-05-09fdo#63154: Remove _CL and _LF from solar.hMarcos Paulo de Souza
And use RTL_CHAR_{CR,LF} from rtl/string.h Conflicts: vcl/source/app/dbggui.cxx Change-Id: I05b0325006845e48eb5483485a9042aa7b0cd22a Reviewed-on: https://gerrit.libreoffice.org/3740 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
2013-05-06remove usage of RTL_CONSTASCII_USTRINGPARAMLuboš Luňák
Mechanical removal of usage together with OUString ctor, done by compiler plugin. Change-Id: I554227f76df0dac620b1b46fca32516f78b462c5
2013-04-20Remove pass-through header file sot/inc/sot/clsids.hxxMichael Dunphy
Change-Id: I122669d4ffaf72fb1d5f6fccc98e8a648f31aa23 Reviewed-on: https://gerrit.libreoffice.org/3490 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-13Show progress indicator during document import via orcus.Kohei Yoshida
Change-Id: I74e2b8299455753d4663f344506912302317b681
2013-04-13Manage to use orcus to import ods, xlsx, and csv.Kohei Yoshida
But this occasionally crashes. Change-Id: I0a18d0e210639b43b89b966a54de541b9a43e329
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák
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 Yoshida
Change-Id: I65f2cb12c06784b5bcf6c6a2fad773825b6c409c
2013-03-28Reduce calls to ScDocument::GetCell().Kohei Yoshida
Change-Id: I39196eced68d25b6b2ae1378f712564badfc4572
2013-03-28More on killing direct use of ScEditCell (and some of ScBaseCell).Kohei Yoshida
Change-Id: I65d530333213f8b3db38a269e74a0beabcd1ff89
2013-03-27Use <config_features.h> instead of -DLIBO_FEATURE_*Tor Lillqvist
Change-Id: Idc198beb6d759dbe3bad6ea58d896c1555b4cc0f
2013-03-27GetInputString() now takes ScRefCellValue instead of ScBaseCell.Kohei Yoshida
Change-Id: Ibf746351eb111a03be4f00ec719a4428c5fe47a4
2013-03-26Check feature test macros instead of ANDROID and/or IOSTor Lillqvist
Pass -DLIBO_FEATURE_FOO to compiler for some elements in BUILD_TYPE. BUILD_TYPE has at least two kinds of elements: Those that indicate building a bundled copy of some 3rd-party library, and those that indicate some specific feature of the LibreOffice platform or build-time configuration choice. This is for the latter kind. Change many of the checks for Android and/or iOS in the source code to check LIBO_FEATURE_DESKTOP, LIBO_FEATURE_HELP or DISABLE_EXTENSIONS instead, in cases where that is what is meant, not Android or iOS specifically. Change-Id: I2cd3f3bb99e953c7754dcea76a426f8f9d61e4db
2013-03-26Shared documents make no sense for Android and iOSTor Lillqvist
(When I say documents, I mean spreadsheets. Only Calc has code for this.) Change-Id: I05fd19885633f9e250940678d33e2e4c82c31a9d
2013-03-22More on reducing the ScBaseCell usage. That's it for today.Kohei Yoshida
Change-Id: Ie35681e62a4ebcd792fd2f4dd62b5c4b8e4db49c
2013-03-20use #if instead of #ifdef for testing config_xxx.hxx macrosLuboš Luňák
http://lists.freedesktop.org/archives/libreoffice/2013-March/047769.html Change-Id: I81ed4500878ff3193e028410a1f0205e28d17fc3
2013-03-19automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold
Done with a perl regex: s/OUString\s*\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/OUString\($1\)/gms Change-Id: Idf28320817cdcbea6d0f7ec06a9bf51bd2c3b3ec Reviewed-on: https://gerrit.libreoffice.org/2832 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-15initial work on an odc exportMarkus Mohrhard
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-03-14Reverse the logic of enable / disable idle flag...Kohei Yoshida
so that true -> enabled and false -> disabled. This is much easier for human brain to process. Change-Id: I51059ee9090610ad8455a072b165860527cd9d50
2013-03-05fdo#38838, replacement of String with OUStringÁdám Csaba Király
Replaced String with OUString in mediawindow.cxx, basdoc.cxx, basdoc.hxx and bastype3.cxx. In other files I only replaced, what was necessary for the changes in basdoc to work. Change-Id: I1ad0e7e262f8becdf57f182853aaa914a88895a4 Reviewed-on: https://gerrit.libreoffice.org/2554 Reviewed-by: Muthu Subramanian K <muthusuba@gmail.com> Tested-by: Muthu Subramanian K <muthusuba@gmail.com>
2013-02-25loplugin: unused variablesThomas Arnhold
Change-Id: I07b82471f0f32e9e894d4eb392beedeafc6be0c7
2013-02-22fix sc buildCaolán McNamara
Change-Id: I2c5ad65863a516516f8a944fb1344753e08d6c9e