summaryrefslogtreecommitdiff
path: root/sc
AgeCommit message (Collapse)Author
2013-04-15basic inplace Font preview for calcNoel Power
Change-Id: Ic1e6c953852a6106ee94f0b577ed398d62aa2285
2013-04-15No need for Android, iOS or CROSS_COMPILING conditionals for unit testsTor Lillqvist
We don't run unit tests when cross-compiling anyway and since d4ea8c6b7ee32dfbe1525cae45ad44d411052c33 the corresponding .mk files aren't even read by Make. Change-Id: Icbee9ad51841d515a551e67708d9594358ce7e71
2013-04-15No vbahelper library if DISABLE_SCRIPTINGTor Lillqvist
Change-Id: Ie5ea03493659eb467e61a6985016e3f43f450136
2013-04-15Properly initialize data members.Kohei Yoshida
Change-Id: Iacd91b79ea8fadcc70c2ae63f61f649f33acfbef
2013-04-15bnc#813528 stub out some missing XPageSetup apiNoel Power
Change-Id: I105ca73f9f99013c4472ae2d7491fbc67e435015
2013-04-15adapt code to select source .uiCaolán McNamara
Change-Id: I65d3f5acbe95985269c03b3e0c57c5cc80ca30d4
2013-04-15selectsource.ui widgetAlia Almusaireae
Change-Id: I4a0028bbdbacebf8015215c7c060a686a0e784d3 Reviewed-on: https://gerrit.libreoffice.org/3387 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-04-15adapt code to data form .ui conversionCaolán McNamara
this dialog has some bizarre behaviour which is unchanged with the .ui conversion a) the scrollbar does not scroll the window beside it up and down through the rows (which map to the spreadsheet columns), but instead scrolls through the records (which map to the spreadsheet rows) b) the dialog grows to include a row for each spreadsheet column, i.e. large number of spreadsheet columns -> unusable dialog with too many rows to fit on the screen. what's indicated here is to clip the dialog to some max size and make the scrollbar then scroll through the rows of the widget, and add another scrollbar if necessary to scroll through the records. Change-Id: I9b56992fc57468eb058d2a2914c08074f958a692
2013-04-15dataform.ui widgetAlia Almusaireae
Change-Id: I43722339ed72adde46ed307e1906c34a32e7b507 Reviewed-on: https://gerrit.libreoffice.org/3386 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2013-04-15missing string, local resource used as if globalCaolán McNamara
Change-Id: I8c256668edeb4c0475136f46103002d804ee66eb
2013-04-15add title and default button to sort warning dialogCaolán McNamara
Change-Id: I2f6de203e2a14e36e7baf3cbc15048b8f045eac0
2013-04-15Calc: converted sort warning dialog to .uiAlbert Thuswaldner
Change-Id: I2bc44990efb62183507f46b22bfd8e09edf02eb6 Reviewed-on: https://gerrit.libreoffice.org/3380 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-04-15adapt code to create names .ui conversionCaolán McNamara
Change-Id: I276f354cd07480c8798951c14b565994c93750c2
2013-04-15Converted Insert -> Names -> creat widget.Abdulelah Alarifi
Change-Id: I32967859db63a064a9e46a14430c125643e2bfd5 Reviewed-on: https://gerrit.libreoffice.org/3371 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-04-15Calc Sort: Introducing new method AddKeyItem to avoid code duplicationAlbert Thuswaldner
Change-Id: Ic34b5958472a7d2c19ff686914309b6699e237c4 Reviewed-on: https://gerrit.libreoffice.org/3370 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-04-15convert external data dialog to .uiCaolán McNamara
Change-Id: I2dfaf152bd473f73fdeec08a8c2ac6b007d38352
2013-04-15Converted Insert -> Link to External data widget.Abdulelah Alarifi
Change-Id: Ife2f49853a9974010d6247ae40df9b534d044c12 Reviewed-on: https://gerrit.libreoffice.org/3381 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-04-15fdo#60724 correct spellingThomas Arnhold
Change-Id: Ieb653adbd0cb4371ec5db57e70bcc551872f647f
2013-04-15fdo#60724 correct spellingThomas Arnhold
Change-Id: I7318a9f4f3410edf4dbe67bf08f31682fcb4edc7
2013-04-13ScDocumentImport accessor to provide efficient means to fill document.Kohei Yoshida
Import filters should be using this class to populate ScDocument, instead of filling it directly to ScDocument, and do all the broadcasting etc only once at the end of each import session. Change-Id: Ifc663e3dcf6b2ec96aaa185006af7ae9b9940af3
2013-04-13resolved fdo#63421 crash in pivot table with accessibilityEike Rathke
The scenario of fdo#63421 (loading data and re-dragging the same field) is not needed, simple data is sufficient and crash happened also when dragging (removing) a field from a pane and dropping it anywhere else. Multiple errors: * getAccessibleChildCount() must return the real current count of children, not what mpFieldWindow says; AtkListener::updateChildList() uses this value to repopulate its own list; a child is added after it is added to mpFieldWindow but removed before it is removed from mpFieldWindow; * LostFocus() uses an index of -1 if the last child was already removed and the field was dropped after dragging it away from a pane, handle that but it still does not look right * RemoveField() called CommitChange() with AccessibleEventObject::NewValue set instead of OldValue, leading to AtkListener::handleChildAdded() being called instead of handleChildRemoved() Apparently this never worked since 2002. Change-Id: Idfb59d947002d2212bc67b414daecb65c55edae8
2013-04-13Resolves: #i120105# Avoid MemoryLeak in ScTableSheetObj::PrintAreaUndo_ImplArmin Le Grand
by handling created ScPrintRageSaver objects more careful. Found by: Chao Huang Patch by: Chao Huang, alg Review by: alg(cherry picked from commit 803b94a2391352ccef46a6f8fdcfa9dc748bb737) Change-Id: I0523bb870ed6a4ee301722e6e80dc9ac497a7299
2013-04-13Resolves: #i121215# fix the spreadsheet font familyHerbert Dürr
Patch-by: Tan Li <litan.test@gmail.com> Review-by: hdu@apache.org (cherry picked from commit 3258f70090ffb706d7dcfb66b16b404d86f8cfbf) Conflicts: sc/source/filter/excel/xistyle.cxx Change-Id: Id50781e163ac33d3cd1b670808824c7c9b8718d3
2013-04-13Get cppunit in sc to link with orcus-parser.Kohei Yoshida
Change-Id: I1f53a4f4b9beee501e29149ed88e3ce5d63d9a3c
2013-04-13Get sc to build.Kohei Yoshida
Change-Id: Ia5a73ec2acd3663a35632f268b59c0646cd356ea
2013-04-13Increment progress also during post string cell insertion phase.Kohei Yoshida
Change-Id: Ie8dad05f8629f8acea735c6ff71851d22b997a37
2013-04-13Obviously we do support it now, albeit partially.Kohei Yoshida
Change-Id: Ib7f28a27ea99e76f439673e4971706ed9bb7a488
2013-04-13Show progress indicator during document import via orcus.Kohei Yoshida
Change-Id: I74e2b8299455753d4663f344506912302317b681
2013-04-13Parameter order is wrong.Kohei Yoshida
Change-Id: I165c75693c4d4acb331e93905392fa7b6f7bc1c0
2013-04-13Import null date via orcus.Kohei Yoshida
Change-Id: Ifa50e460768ffff4b1096d795ab694fea62a6c29
2013-04-13Centralize D_TIMEFACTOR as DATE_TIME_FACTOR.Kohei Yoshida
It was about time. Change-Id: I87225be540c22b3031c6aee3f3fd9d26795abef8
2013-04-13Properly implement date / time value import from orcus.Kohei Yoshida
Change-Id: Icaf310182dcdd2a5d06c2d4bcbb98e3850fb2d80
2013-04-13Implement set_date() interface method.Kohei Yoshida
It'll simply call set_auto() for now. Change-Id: I580b2ecbd34ffe7674f64ade912877ef07a60aca
2013-04-13Implement segment-based string import.Kohei Yoshida
With this, string cells from ODS docs get imported. For now, format runs are ignored. Change-Id: Ia9530357d3afc6cf4a0c52362bc770560debfd61
2013-04-13Correctly implement add() and append() of shared strings interface.Kohei Yoshida
Change-Id: I9c1d0e904464ff2489678972aa5c6b6e4246cd81
2013-04-13Defer string cell import until the end when importing via orcus.Kohei Yoshida
This is because orcus imports cells before it imports the string table. Change-Id: I1b85be2d9832b9a9a52961ece735de8cd980b893
2013-04-13Try not to crash during import of xlsx and ods documents.Kohei Yoshida
Also, let's not leak memory by returning a new'ed instance from get_styles(). Orcus never manages the life cycle of objects returned from client code. Change-Id: Id92eb10dbe88c2a55b5d04e408a01fa9c25fa9a1
2013-04-13Manage to use orcus to import ods, xlsx, and csv.Kohei Yoshida
But this occasionally crashes. Change-Id: I0a18d0e210639b43b89b966a54de541b9a43e329
2013-04-11prevent vector and sequence out of bounds access, fdo#60300Eike Rathke
This fixes the symptom of the crash but not the underlying cause why a subtotal count would be wrong. Change-Id: I3782b5e39f18bc65ffe510b847ffa7969a26cd37
2013-04-11prevent out of bounds vector access in ooo62493-1.xls recalculationEike Rathke
The document https://issues.apache.org/ooo/attachment.cgi?id=34418 attached to https://issues.apache.org/ooo/show_bug.cgi?id=62493 crashes in a dbgutil build due to an invalid subtotal count that leads to an out of bounds access in a vector, in this case with offset -1 This fixes the symptom, not the cause why the subtotal count would be wrong. Change-Id: If96c2eadba8753ea3e3166db0a81441818c89b2d
2013-04-11fdo#51828 - UI: Sort: can use more than 3 criteria once onlyAlbert Thuswaldner
Change-Id: I7480e8d606e1eafde45635e36dfafa4232f529cb Reviewed-on: https://gerrit.libreoffice.org/3217 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-04-11adapt code for delete cells dialogCaolán McNamara
Change-Id: Ibf587e1ea94765f0322a5b847bcf82d1eabc1b64
2013-04-11deletecells.ui widgetAlia Almusaireae
Change-Id: I93ac358e259a1fb310dfeed75bc60910405e7d48 Reviewed-on: https://gerrit.libreoffice.org/3306 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-04-11Related: #i120077# Added local var for SfxItemPool for EditEngineArmin Le Grand
to avoid a memory leak. Found by: Chao Huang Patch by: Chao Huang, alg Review by: Chao Huang, alg (cherry picked from commit e7168710bfd30b5d682d21d81c116cd33cf22505) Conflicts: sc/source/filter/xml/xmlfonte.cxx Change-Id: I75475bb59b3a7040938826d095dcd81e19d61b46
2013-04-11fdo#63290 UI: Goal Seek - incorrect term "current cell"Joren De Cuyper
Change-Id: I0542d9918d9dbbfdc002b7fadec1bb461cbd2831 Reviewed-on: https://gerrit.libreoffice.org/3291 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-11deliver all uiconfig files by UIConfigDavid Tardon
Change-Id: Ie78b7ce399ba34485146ca7622c59d31f8105d02 Reviewed-on: https://gerrit.libreoffice.org/3229 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-11rename UI to UIConfigDavid Tardon
I plan to use it to deliver all */uiconfig files, not just .ui, as a preliminary step to get rid of postprocess/packconfig. Change-Id: Ie7b4434b2f247165e3ab69a4d0c193418720a149 Reviewed-on: https://gerrit.libreoffice.org/3225 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-11resolved fdo#63403 do not create matrix with 0 rows or colsEike Rathke
Change-Id: Icb0000bde3723c1b37713d0f26ef8305c4a199b8
2013-04-10Resolves: #i120077# Memory leak fixed in ScXMLFontAutoStylePool_ImplArmin Le Grand
also checked and fixed memory leaks caused by not deleting SfxStyleSheetIterator instances. Found by: Chao Huang Patch by: Chao Huang Review by: alg (cherry picked from commit aee8221b3fbe64d8e88aa3a1b630214807cd86f0) Conflicts: sc/source/core/data/stlsheet.cxx sc/source/filter/xml/xmlfonte.cxx sfx2/source/doc/objcont.cxx svl/source/items/style.cxx sw/source/core/unocore/unostyle.cxx Resolves: #120077# ALG: Reverted r1354011, adapted all usages of SfxStyleSheetIterator and CreateIterator to use boost::shared_ptr (cherry picked from commit ec1819f218b94bed1556653e1b2b816a65da61ef) Conflicts: sc/source/core/data/stlsheet.cxx sc/source/filter/xml/xmlfonte.cxx sfx2/source/doc/objcont.cxx svl/inc/svl/style.hxx svl/source/items/style.cxx sw/source/core/unocore/unoframe.cxx sw/source/core/unocore/unostyle.cxx 26937d4d65562b14de0aea59a7b01cc4334f73c1 Change-Id: If99bf3ee399292ec269d68b36ee78ed63f033215
2013-04-10fdo#51615: Further tweaks in the jumping to the next cell.Jan Holesovsky
Joren has improved this, but the behavior was unexpected when the user did not start in a cell that contained the string to replace. This commits changes it further that when the user hits Replace: * in a cell that does not contain the string to replace, it jumps to the cell that contains it, replaces the string, and stays there * in a cell that contains only one occurrence of the string to replace, it replaces it, and jumps to the next cell that contains such a string * in a cell that contains multiple occurrences, it replaces it, but does not move the cursor (so that the further occurences in that cell can still be replaced) This seems to be the most intuitive behavior. Change-Id: If6c10069b8dff933a035780732a7d7b6e0740383