summaryrefslogtreecommitdiffstats
path: root/sc
Commit message (Collapse)AuthorAgeFilesLines
* No need for Android, iOS or CROSS_COMPILING conditionals for unit testsTor Lillqvist2013-04-153-13/+0
| | | | | | | | 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
* No vbahelper library if DISABLE_SCRIPTINGTor Lillqvist2013-04-151-1/+2
| | | | Change-Id: Ie5ea03493659eb467e61a6985016e3f43f450136
* Properly initialize data members.Kohei Yoshida2013-04-151-1/+2
| | | | Change-Id: Iacd91b79ea8fadcc70c2ae63f61f649f33acfbef
* bnc#813528 stub out some missing XPageSetup apiNoel Power2013-04-152-0/+31
| | | | Change-Id: I105ca73f9f99013c4472ae2d7491fbc67e435015
* adapt code to select source .uiCaolán McNamara2013-04-1512-184/+82
| | | | Change-Id: I65d3f5acbe95985269c03b3e0c57c5cc80ca30d4
* selectsource.ui widgetAlia Almusaireae2013-04-151-0/+210
| | | | | | | 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>
* adapt code to data form .ui conversionCaolán McNamara2013-04-1512-288/+223
| | | | | | | | | | | | | | | | | | 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
* dataform.ui widgetAlia Almusaireae2013-04-151-0/+151
| | | | | | | 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>
* missing string, local resource used as if globalCaolán McNamara2013-04-152-2/+4
| | | | Change-Id: I8c256668edeb4c0475136f46103002d804ee66eb
* add title and default button to sort warning dialogCaolán McNamara2013-04-151-0/+3
| | | | Change-Id: I2f6de203e2a14e36e7baf3cbc15048b8f045eac0
* Calc: converted sort warning dialog to .uiAlbert Thuswaldner2013-04-1511-94/+162
| | | | | | | 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>
* adapt code to create names .ui conversionCaolán McNamara2013-04-1511-139/+52
| | | | Change-Id: I276f354cd07480c8798951c14b565994c93750c2
* Converted Insert -> Names -> creat widget.Abdulelah Alarifi2013-04-151-0/+181
| | | | | | | 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>
* Calc Sort: Introducing new method AddKeyItem to avoid code duplicationAlbert Thuswaldner2013-04-154-17/+20
| | | | | | | 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>
* convert external data dialog to .uiCaolán McNamara2013-04-1514-273/+109
| | | | Change-Id: I2dfaf152bd473f73fdeec08a8c2ac6b007d38352
* Converted Insert -> Link to External data widget.Abdulelah Alarifi2013-04-151-0/+293
| | | | | | | 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>
* fdo#60724 correct spellingThomas Arnhold2013-04-151-1/+1
| | | | Change-Id: Ieb653adbd0cb4371ec5db57e70bcc551872f647f
* fdo#60724 correct spellingThomas Arnhold2013-04-151-1/+1
| | | | Change-Id: I7318a9f4f3410edf4dbe67bf08f31682fcb4edc7
* ScDocumentImport accessor to provide efficient means to fill document.Kohei Yoshida2013-04-1310-77/+260
| | | | | | | | 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
* resolved fdo#63421 crash in pivot table with accessibilityEike Rathke2013-04-131-27/+64
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Resolves: #i120105# Avoid MemoryLeak in ScTableSheetObj::PrintAreaUndo_ImplArmin Le Grand2013-04-131-14/+23
| | | | | | | | | | 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
* Resolves: #i121215# fix the spreadsheet font familyHerbert Dürr2013-04-131-2/+12
| | | | | | | | | | | 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
* Get cppunit in sc to link with orcus-parser.Kohei Yoshida2013-04-131-0/+1
| | | | Change-Id: I1f53a4f4b9beee501e29149ed88e3ce5d63d9a3c
* Get sc to build.Kohei Yoshida2013-04-135-0/+5
| | | | Change-Id: Ia5a73ec2acd3663a35632f268b59c0646cd356ea
* Increment progress also during post string cell insertion phase.Kohei Yoshida2013-04-131-0/+7
| | | | Change-Id: Ie8dad05f8629f8acea735c6ff71851d22b997a37
* Obviously we do support it now, albeit partially.Kohei Yoshida2013-04-131-1/+0
| | | | Change-Id: Ib7f28a27ea99e76f439673e4971706ed9bb7a488
* Show progress indicator during document import via orcus.Kohei Yoshida2013-04-136-22/+123
| | | | Change-Id: I74e2b8299455753d4663f344506912302317b681
* Parameter order is wrong.Kohei Yoshida2013-04-131-1/+1
| | | | Change-Id: I165c75693c4d4acb331e93905392fa7b6f7bc1c0
* Import null date via orcus.Kohei Yoshida2013-04-132-1/+31
| | | | Change-Id: Ifa50e460768ffff4b1096d795ab694fea62a6c29
* Centralize D_TIMEFACTOR as DATE_TIME_FACTOR.Kohei Yoshida2013-04-137-24/+19
| | | | | | It was about time. Change-Id: I87225be540c22b3031c6aee3f3fd9d26795abef8
* Properly implement date / time value import from orcus.Kohei Yoshida2013-04-132-4/+26
| | | | Change-Id: Icaf310182dcdd2a5d06c2d4bcbb98e3850fb2d80
* Implement set_date() interface method.Kohei Yoshida2013-04-132-24/+30
| | | | | | It'll simply call set_auto() for now. Change-Id: I580b2ecbd34ffe7674f64ade912877ef07a60aca
* Implement segment-based string import.Kohei Yoshida2013-04-132-2/+10
| | | | | | | With this, string cells from ODS docs get imported. For now, format runs are ignored. Change-Id: Ia9530357d3afc6cf4a0c52362bc770560debfd61
* Correctly implement add() and append() of shared strings interface.Kohei Yoshida2013-04-132-11/+34
| | | | Change-Id: I9c1d0e904464ff2489678972aa5c6b6e4246cd81
* Defer string cell import until the end when importing via orcus.Kohei Yoshida2013-04-132-30/+64
| | | | | | This is because orcus imports cells before it imports the string table. Change-Id: I1b85be2d9832b9a9a52961ece735de8cd980b893
* Try not to crash during import of xlsx and ods documents.Kohei Yoshida2013-04-132-17/+18
| | | | | | | 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
* Manage to use orcus to import ods, xlsx, and csv.Kohei Yoshida2013-04-135-5/+76
| | | | | | But this occasionally crashes. Change-Id: I0a18d0e210639b43b89b966a54de541b9a43e329
* prevent vector and sequence out of bounds access, fdo#60300Eike Rathke2013-04-111-12/+42
| | | | | | | This fixes the symptom of the crash but not the underlying cause why a subtotal count would be wrong. Change-Id: I3782b5e39f18bc65ffe510b847ffa7969a26cd37
* prevent out of bounds vector access in ooo62493-1.xls recalculationEike Rathke2013-04-111-0/+2
| | | | | | | | | | | | 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
* fdo#51828 - UI: Sort: can use more than 3 criteria once onlyAlbert Thuswaldner2013-04-111-2/+11
| | | | | | | 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>
* adapt code for delete cells dialogCaolán McNamara2013-04-1111-168/+61
| | | | Change-Id: Ibf587e1ea94765f0322a5b847bcf82d1eabc1b64
* deletecells.ui widgetAlia Almusaireae2013-04-111-0/+188
| | | | | | | 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>
* Related: #i120077# Added local var for SfxItemPool for EditEngineArmin Le Grand2013-04-111-32/+53
| | | | | | | | | | | | | | | 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
* fdo#63290 UI: Goal Seek - incorrect term "current cell"Joren De Cuyper2013-04-111-2/+2
| | | | | | | Change-Id: I0542d9918d9dbbfdc002b7fadec1bb461cbd2831 Reviewed-on: https://gerrit.libreoffice.org/3291 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
* deliver all uiconfig files by UIConfigDavid Tardon2013-04-114-70/+61
| | | | | | | Change-Id: Ie78b7ce399ba34485146ca7622c59d31f8105d02 Reviewed-on: https://gerrit.libreoffice.org/3229 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
* rename UI to UIConfigDavid Tardon2013-04-112-3/+3
| | | | | | | | | | 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>
* resolved fdo#63403 do not create matrix with 0 rows or colsEike Rathke2013-04-112-3/+26
| | | | Change-Id: Icb0000bde3723c1b37713d0f26ef8305c4a199b8
* Resolves: #i120077# Memory leak fixed in ScXMLFontAutoStylePool_ImplArmin Le Grand2013-04-103-5/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* fdo#51615: Further tweaks in the jumping to the next cell.Jan Holesovsky2013-04-103-17/+49
| | | | | | | | | | | | | | | | | | | | 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
* add the missing type information for the parsed stringMarkus Mohrhard2013-04-101-0/+3
| | | | Change-Id: I4e2567ba2a9000763c54b7d38ab4ba66a13a77f4