86 Commits
Author SHA1 Message Date
Laurent Godard 536c259cb9 tdf#67770 store sidebar elements states
deck & panel states at user registry level
when disposing a sidebar

if a shared deck (with "any" context application) is modified,
it apply to all applications (eg. Gallery between calc and writer); TODO ?

clean ResourceManager Get/Set const/non-const

add panels when deck is created & refactoring

* macro example

Sub Main

controller = thisComponent.currentcontroller
sidebar = thisComponent.currentcontroller.getSidebar()

sidebar.setVisible(true)

decks = sidebar.getdecks()
deck = decks.getByName("PropertyDeck")

deck.activate(true)
deck.setTitle("new deck title")
deck.moveLast()

panels = deck.getPanels()
panel = panels.getByName("TextPropertyPanel")

panel.setTitle("new panel title")
panel.expand(true) ' expand and collapse other
panel.moveLast()

End Sub

Change-Id: I2552000af92a366ebb51a479962a094b72e400b6
Reviewed-on: https://gerrit.libreoffice.org/17992
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Tested-by: Katarina Behrens <Katarina.Behrens@cib.de>
2015-11-20 13:33:29 +00:00
Laurent Godard ddb4526159 tdf#94617 allow to store nStart information greater than sal_Int16 limit
- preserve backward compatibility
- nDebugFlag is stored but not used when loaded
- Flag nDebugFlag set the top bit to 1
- stores the multiplier of sal_Int16 limit to reach nStart
- in load, test this flag bit
- rebuild correct nStart
- new B_CURVERSION file format for binary storage macro
- unit test for big modules

Reviewed-on: https://gerrit.libreoffice.org/18926
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
(cherry picked from commit db17079fcff6f9a068c499b17f2501cc4c82d10b)

Change-Id: Iaa037982d828fef7195615e6eda546b7199a4fe8
2015-10-01 16:36:05 +01:00
Laurent Godard d38e743e8e Rename Sidebar.xcu node names to be meaningful
+ prefixe with Sd, Sw, Sc if only one application context, no prefix otherwise
+ uniformize implicit convention nodeName = Id
+ unit test
  + check nodeName/Id
  + panels are bound to existing deck

Change-Id: I4ccc39008ebf5b5820d09472abfd45d2813e8c96
Reviewed-on: https://gerrit.libreoffice.org/18570
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-09-15 16:09:42 +00:00
Laurent Godard c94a1fdc44 sideber uno api test less dependant to panels order
Change-Id: I3a4ef006becbce70897505a6f3367c4b004e13b0
Reviewed-on: https://gerrit.libreoffice.org/18239
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2015-09-02 08:25:18 +00:00
Laurent Godard 8a7b7b7b72 New identifier for save/open macro with user defined types
no version bump but B_USERTYPE defined

fix test from commit de26ef85 that should be nMaxRecords

tested full round trip on password protected document (ie. use binary storage)
master --(0)--> master --(1)--> libreoffice 4.4 --(2)--> master --(3)--> master

(0) in master, User type supported, big module supported
(1) in libreoffice 4.4, user type not supported, big module supported, no loss of code
(2) in master, user type not supported, big module not found, no loss of code
    it is OK as libreoffice 4.4 saves to LegacyVersion
(3) in master, User type supported, big module supported (all is restored)
    it is OK as module was saved with CURRENT_VERSION (see sbxmod.cxx)

Change-Id: I237cf7de70adf1a755be1bc30987b21c43b6ab35
Reviewed-on: https://gerrit.libreoffice.org/17871
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-08-31 10:14:12 +00:00
Laurent Godard c609b30b12 sidebar uno api corrections
Change-Id: I1bd1040cc80c0450a5e029c37f0737c0692c056a
Reviewed-on: https://gerrit.libreoffice.org/17952
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
2015-08-25 12:08:57 +00:00
Laurent Godard 47d1cb09e6 avoid autocorrection misreplacing
takes the last token in case of chained "." instead of the first one

to avoid

aa.b.
autocorrects (wrongly) to
aaaa.

Change-Id: Ibca68850282a0d3aec67ca518bdcbf1da676e155
Reviewed-on: https://gerrit.libreoffice.org/17858
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-08-20 09:24:15 +00:00
Laurent Godard 6e40334663 null pointer guard if no user defined types declared at the module level
Change-Id: I368a168c636e4029e9cd9bbe4a4df5d9b846c923
Reviewed-on: https://gerrit.libreoffice.org/17834
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-08-18 12:16:29 +00:00
Laurent Godard ba5fd0cc77 correct wrong comments
Change-Id: I6682248873bcd6302b1d8d041bbc2e19a8e0ba7b
Reviewed-on: https://gerrit.libreoffice.org/17831
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-08-18 11:40:26 +00:00
Laurent Godard 0405975042 tdf#75973 : User Defined Types in password encrypted macros
save/load basic script so that when executing password protected
the user defined types can be rebuilt

supports array and nested types

a unit test in sc macros-test.cxx

Change-Id: Ie127ea7ad9aea3353741048c00f1b3910c5517a4
Reviewed-on: https://gerrit.libreoffice.org/17815
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-08-18 09:50:53 +00:00
Laurent Godard ddb43837ca avoid basic ide crash in code autocompletion
due to code completion and user defined types

type MyType
  a as string
  b as string
end type

dim aa as MyType

typing
aa.b.
the last point led to crash

remaining problem
code autocorrection now shows wrong behaviour as
aa.b.
autocorrects (wrongly) to
aaaa.

Change-Id: I3e05680cd9d82f7dc124c5923f9858e22961896e
Reviewed-on: https://gerrit.libreoffice.org/17824
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-08-18 09:27:18 +00:00
Laurent Godard ebdc15f935 init maTabData to the correct tab size tdf#92629
Change-Id: I6b226f8e992b3a2b6bcebc44b36ca1f2f06a128e
Reviewed-on: https://gerrit.libreoffice.org/16894
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2015-07-09 22:45:49 +00:00
Laurent Godard 187445b2d2 Uno api sidebar unit test tdf#91806
- python test subsequentcheck
- correct deck setTitle APi (UI update)
- enhance UnoInProcess for flexiility in loading parameter

Change-Id: Id04cb78c6162ac84fb3bfd8577f84763109d993e
Reviewed-on: https://gerrit.libreoffice.org/16180
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2015-06-23 06:38:56 +00:00
Laurent Godard a64999511a new uno sidebar api tdf#91806
the entry point is SfxBaseController::getSidebar()

the Decks and panels are now per SidebarController and not global anymore

' macro example
Sub testSidebarApi

	controller =  thisComponent.currentcontroller
	frameIni =  thisComponent.currentcontroller.frame
	sidebar =  thisComponent.currentcontroller.getSidebar()

	sidebar.setVisible(true)

	frame = sidebar.getFrame()

	decks = sidebar.getdecks()

	c = decks.count

	h = decks.hasElements()

	e = decks.getElementNames()

	a =  decks.hasByName("MyDeck")

	deck = decks.getByName("MyDeck")
	deck.activate(true)

	t = deck.getTitle()
	deck.setTitle("new deck title")

        deck.moveFirst()
        deck.moveLast()
        deck.moveUp()
        deck.moveDown()

        index = deck.getOrderIndex()

	panels = deck.getPanels()
	ep = panels.getElementnames()

	ap = panels.hasByName("aPanelName")

	panel = panels.getByName("aPanelName")
	panel.setTitle("new panel title")

	panel.collapse()

	panel.expand(true) ' expand and collapse other

        index = panel.getOrderIndex()

        panel.moveLast()
        panel.moveFirst()
        panel.moveDown()
        panel.moveUp()

End Sub

Change-Id: I7a4b953f2277dea483bb296ba6ead35de7205ace
Reviewed-on: https://gerrit.libreoffice.org/15856
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2015-06-22 04:59:07 +00:00
Laurent Godard fb8377fe40 unit test for tdf#91095
and ready for any docbook export tests

Change-Id: Ia1c7a5066fc72c502c3b0ebb5811910797943742
Reviewed-on: https://gerrit.libreoffice.org/15653
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2015-05-21 15:11:17 +00:00
Laurent Godard 2d1abfff01 draw Note mark before text for correct ZOrder tdf#89182
the cell content is now drawn over the cell note rectangle

Change-Id: Idce05497b7a9f67e5e315f5bc2f9c59e53898131
Reviewed-on: https://gerrit.libreoffice.org/15802
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2015-05-19 15:49:34 +00:00
Laurent Godard f02ef85f4a remove build warning
Change-Id: I533d603ac1f073336eda99de57892ff5e12132d4
Reviewed-on: https://gerrit.libreoffice.org/15288
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-04-14 19:57:11 +00:00
Laurent Godard c79bdd062f tdf#90042 only handle formula group if useful
Change-Id: I497a5bae4b08b46357415501ddbafc70585adfb0
Reviewed-on: https://gerrit.libreoffice.org/14920
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2015-03-27 23:33:51 +00:00
Laurent Godard f16c427d56 correct control overlapping - minor UI refactoring
the gtk-cancel button overlapped the "adding extension" label if %EXTENSION_NAME is too long.

Change-Id: Ia6a650d7ff82853155da67527a1cdc865b01148e
Reviewed-on: https://gerrit.libreoffice.org/14717
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2015-03-02 20:13:51 +00:00
Laurent Godard d60157196f calc : add UNO properties for "Record changes"
with unit testing

Change-Id: I2a0e09f699c8489f61453b4144dd6181bd9b47fd
Reviewed-on: https://gerrit.libreoffice.org/14603
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2015-02-25 00:24:18 +00:00
Laurent Godard bf5c5f359c tdf#89460 test pChangeTrack before using it
Change-Id: Ic02351c448929daa7d4c5a9a00df9842c2c5aa91
Reviewed-on: https://gerrit.libreoffice.org/14553
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2015-02-19 18:54:28 +00:00
Laurent Godard d8a9c74f41 BASIC IDE : add the current procedure name in the status bar
Change-Id: Icecef1748bcc964670b0b95263314d9d8a4555f0
Reviewed-on: https://gerrit.libreoffice.org/14367
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-02-12 10:49:39 +00:00
Laurent Godard 905bab9e46 executeDispatchRequests : cleaning outputs
- replace RTL_TEXTENCODING_UTF8 with osl_getThreadTextEncoding()
- replace printf statements with std::cerr and std::cout

Change-Id: Id374efac90f86bbfdc817f2266a5c995d72902e4
2015-01-19 15:10:57 +01:00
Laurent Godard de900ebdd4 convert-to : display error messages in console fdo#88326
- source file does not exist
- requested export filter does not exist and we use default filter (still process though)

Change-Id: I92031ea305e81927357acfc352dbe5a5da205b0d
2015-01-19 15:07:22 +01:00
Laurent Godard ad91cfdcf2 parse-perfcheck : add filename to csv results
one can find callgrind output file more easilly

Change-Id: Ic5019d5259a63ab23ed44d39baaeb7432690382e
Reviewed-on: https://gerrit.libreoffice.org/12450
Reviewed-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
Tested-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
2014-11-17 09:46:21 +00:00
Laurent Godard 4ef9e07c65 calc performance test
- a plain perfcheck test example on big file
  - searches
  - named ranges
  - sheets
- big file is approx.
  - 100 sheets
  - 60k values in a sheets
  - 5k named ranges
  - 2k formulas (calling named ranges)

Change-Id: I61970f3387d400ed6737a369ead6daf896afacdc
2014-11-13 14:47:09 +01:00
Laurent Godard 187ffc5e99 addNewFromTitles : avoid broadcasting SC_HINT_AREAS_CHANGED twice
as it is already done in subsequent calls (in ModifyRangeNames --> SetNewRangeNames)

perfchek result
before : 899399452
after :  645684676

Change-Id: I29b8add457c3177e63df29f93be7a11dacde4953
Reviewed-on: https://gerrit.libreoffice.org/12302
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-11-12 21:00:32 +00:00
Laurent Godard fa18fd06e0 calc SetNewRangeNames remove useless bool type
Change-Id: I0c8bca04c3d0e318caacfbfa306284153305d8eb
Reviewed-on: https://gerrit.libreoffice.org/12381
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-11-12 20:58:14 +00:00
Laurent Godard 8fa8bb641f Parse perfcheck results
refactoring arguments
process csv file only if newer commits
add columned output
calculate deltas & alert messages

Change-Id: Ib7ba87e9cb55b03ac8665db7a8dc302d2e8611a0
Reviewed-on: https://gerrit.libreoffice.org/12155
Reviewed-by: Matúš Kukan <matus.kukan@collabora.com>
Tested-by: Matúš Kukan <matus.kukan@collabora.com>
2014-11-12 09:00:30 +00:00
Laurent Godard e65790ddcf perfcheck instrument existing test : replaceAll
Change-Id: I7766aa6d69810124b27763912c3e7a8399637280
Reviewed-on: https://gerrit.libreoffice.org/12243
Reviewed-by: Matúš Kukan <matus.kukan@collabora.com>
Tested-by: Matúš Kukan <matus.kukan@collabora.com>
2014-11-12 08:59:03 +00:00
Laurent Godard fd1b1a1535 calc ScTable::ReplaceAll : avoid calling GetLastDataPos uselessly
Change-Id: Ibb6fb9ea3e524a889de96f560e308a4aa54fa2af
Reviewed-on: https://gerrit.libreoffice.org/12248
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2014-11-04 13:21:07 +00:00
Laurent Godard 99df39b520 calc ScTable::SearchAll : avoid calling GetLastDataPos uselessly
in the loop we are in the same table
refactor ScTable::Search too

perfchek result for testSheetFindAll-Search value
before : 804252982
after :  229861999

Change-Id: I907f1260472bcc5d93b2c6425c342187a5f4c787
Reviewed-on: https://gerrit.libreoffice.org/12225
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2014-11-04 13:20:56 +00:00
Laurent Godard 4f5f6d2444 perfcheck : parse callgrind.out results to build csv file
appends results on existing target file

Change-Id: Icd897b090e1d1ed896b88a2f5923e8f35e95e5d2
2014-10-29 12:00:08 +01:00
Laurent Godard 91502a72c1 fdo#83141: also optimize ScTable::HasAttribSelection
applying same strategy than 1e721077b4

Change-Id: I8c226d5d66ba8371ea1baec73e72b3e50886bb4f
Reviewed-on: https://gerrit.libreoffice.org/11877
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-10-15 19:33:53 +00:00
Laurent Godard b1e9163b59 enhance perfcheck failing message
add the expected number

Change-Id: Ib068288f7efbfebc2705c6084dc34a651def1986
Reviewed-on: https://gerrit.libreoffice.org/11948
Reviewed-by: Matúš Kukan <matus.kukan@collabora.com>
Tested-by: Matúš Kukan <matus.kukan@collabora.com>
2014-10-13 10:46:08 +00:00
Laurent Godard 4307473975 remove warning: ‘nIndex’ may be used uninitialized
Change-Id: I317c2f4409f556ab967e4f08caa99cffcfce26cc
Reviewed-on: https://gerrit.libreoffice.org/11876
Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
Tested-by: Kohei Yoshida <libreoffice@kohei.us>
2014-10-09 12:31:10 +00:00
Laurent Godard 76ef9ecdb9 -Wmaybe-uninitialized in ScTable::CopyColFiltered
apply same initialization as in ScTable::CopyRowFiltered

Change-Id: I9e8de6eaae3b3ad9453e5c06a88cfa93766becd9
Reviewed-on: https://gerrit.libreoffice.org/11263
Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
Tested-by: Kohei Yoshida <libreoffice@kohei.us>
2014-09-03 02:55:02 -05:00
Laurent Godard 1f795ad128 XStyleLoader2 : correct idl description
only implemented for calc at the moment

Change-Id: I7ac631567a69c9ad30da79caad3c50359de14437
Reviewed-on: https://gerrit.libreoffice.org/10923
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2014-08-15 01:47:27 -05:00
Laurent Godard 454ec6e791 XStyleLoader2 : enhance unit test to PageStyle
and remove duplicate code

Change-Id: Ib9e3568c860fe5cd3f11374a1c61dff101e33a18
Reviewed-on: https://gerrit.libreoffice.org/10832
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2014-08-11 06:37:02 +00:00
Laurent Godard 949279c801 XStyleLoader2 loadStylesFromDocument - unit tests
Change-Id: Id143689f573e6f8585db9bc48a252e311ff0e721
2014-08-08 00:38:10 +02:00
Laurent Godard fe6311fce7 add UNO API loadStylesFromDocument
avoid opening again a document that is already available
apply to calc - refactoring ScStyleFamiliesObj::loadStylesFromURL

Change-Id: I6b26c91265dcafa73b472bc68ee684ba0733b0ac
Reviewed-on: https://gerrit.libreoffice.org/10214
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-07-11 08:26:31 +00:00
Laurent Godard 902b7e9f19 draw white border around note marks for fdo#81032
also translate the mark to make cell border visible

Change-Id: Ifa9f3befd1e25a66cc3443a3f33255603feea6a6
Reviewed-on: https://gerrit.libreoffice.org/10135
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-07-08 11:05:57 +00:00
Laurent Godard c103775cd1 correct XSheetAnnotations GetByIndex test for #fdo#80551
the previous testGetCount test already added a note on sheet 2
testGetByIndex now works on sheet 3

Change-Id: I2cd49aa2bbf5c1b707287518e0f15088f3ee5ec0
Reviewed-on: https://gerrit.libreoffice.org/9938
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-07-02 13:02:20 +00:00
Laurent Godard d528eb158c call the correct GetNotePosition method #fdo80551
unit test is ok on Sheet but fails on Col

Change-Id: I28084118e088838b47b77537b981ebe7422ab722
Reviewed-on: https://gerrit.libreoffice.org/9934
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-07-02 12:58:16 +00:00
Laurent Godard 17d0d12b8d unit test XSheetAnnotations GetByIndex for #fdo80551
Change-Id: I89ebc3d5ac257f3c754a050caf3776959b81d8b3
Reviewed-on: https://gerrit.libreoffice.org/9933
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-07-02 12:21:34 +00:00
Laurent Godard 20ecc5b59d correct loops in UpdateNoteCaptions for notes
Change-Id: Icec072eea61a194d72ce00c58dfbd85b1ec85abb
Reviewed-on: https://gerrit.libreoffice.org/7390
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-01-11 16:07:56 +00:00
Laurent Godard f992400f6f count notes - GetNotesInRange now include last tab
- refactor tests
- add unit test on counting notes on a sheet

Change-Id: I6762a0e791a745b828800645effdfc044ac33710
Reviewed-on: https://gerrit.libreoffice.org/6954
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2013-12-06 05:46:16 -06:00
Laurent Godard b561d6ef7d counting notes is per table, not on the whole document
Change-Id: Id4afa4eee961f159f8ea8caeac620d101cfb103e
Reviewed-on: https://gerrit.libreoffice.org/6941
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2013-12-05 07:53:05 -06:00
Laurent Godard 55d4d0a749 avoid localization issue
use the sheet name to build the expected strings

Change-Id: I5f079975921338b9449186cc33a0acde180679d5
Reviewed-on: https://gerrit.libreoffice.org/6419
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2013-10-24 14:22:45 +00:00
Laurent Godard ba88ea36d6 remove useless commented code
Change-Id: I8f26c75ac6d95f584e649fb7acf637394129ba44
Reviewed-on: https://gerrit.libreoffice.org/6414
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2013-10-24 08:51:59 +00:00
Laurent Godard d980db9a97 remove warning [-Wsign-compare]
Change-Id: I1a131294a7ea6e55a97394caf10aeea1e55e0e00
2013-10-23 10:44:29 -04:00
Laurent Godard e9ad3dfae6 remove useless include
Change-Id: I2fe9aee0d08238013dcae68cdb1ae2483d59c120
2013-10-23 10:44:25 -04:00
Laurent Godard 759bdbbc34 Re-implement cell note storage using mdds::multi_type_vector.
Change-Id: I34ea91e360e2a6b85d65f970c6e43db687d213ca
2013-10-23 10:44:20 -04:00
Laurent Godard 673881b8fb calc export test on cell values, strings & formulas
Change-Id: I5e55da683423a461638b2235e25d5556fd77221a
Reviewed-on: https://gerrit.libreoffice.org/5698
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-09-04 09:12:49 +00:00
Laurent Godard 89c2136fa0 clean no more used header declaration
Change-Id: Id4253c51d43c788310c93acd91ed49fa2fe68c4b
Reviewed-on: https://gerrit.libreoffice.org/5695
Reviewed-by: Kohei Yoshida <kohei.yoshida@suse.de>
Tested-by: Kohei Yoshida <kohei.yoshida@suse.de>
2013-08-30 17:16:41 +00:00
Laurent Godard f5bafb2955 clean obsolete parts of ScMyCell
Change-Id: Ic7775d376a6089d7795514081ca4f912e4228f73
Reviewed-on: https://gerrit.libreoffice.org/5674
Reviewed-by: Kohei Yoshida <kohei.yoshida@suse.de>
Tested-by: Kohei Yoshida <kohei.yoshida@suse.de>
2013-08-29 20:27:36 +00:00
Laurent Godard 68dd91f9e9 fdo#68381 take care of cell notes on Transpose
Change-Id: I4272b45a1c8ad34b540ee39d9ef9dd717d4f6325
Reviewed-on: https://gerrit.libreoffice.org/5572
Reviewed-by: Kohei Yoshida <kohei.yoshida@suse.de>
Tested-by: Kohei Yoshida <kohei.yoshida@suse.de>
2013-08-21 15:54:22 +00:00
Laurent Godard f807403faa import performance : do not use EditEngine anymore
Change-Id: I5849add3444cff15a201a276c8917fabc4b33262
Reviewed-on: https://gerrit.libreoffice.org/5317
Reviewed-by: Kohei Yoshida <kohei.yoshida@suse.de>
Tested-by: Kohei Yoshida <kohei.yoshida@suse.de>
2013-08-08 17:35:36 +00:00
Laurent Godard 92c7eca78e simplify AddPrintRanges calls at import time
- at import time, use directly core functions
  - honor IsUndoEnabled in uno calls

Change-Id: If1e762df0ca9cfa22fa2c0e75518fe892be602b6
Reviewed-on: https://gerrit.libreoffice.org/4656
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2013-07-01 17:11:42 +00:00
Laurent Godard 8be462fde9 the calculation of the progressbar leads to very slow saving
Change-Id: Ibba31126161b77b499561c5a74c057a56c07a4a8
Reviewed-on: https://gerrit.libreoffice.org/4647
Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2013-07-01 09:47:03 +00:00
Laurent Godard f1ec7dc619 group undo action when hiding/showing sheets
- the test if there are enough tabs before hiding is now in HideTabs
- a vector is passed to Undo
- modification of the displayed text
- minor optimization on looping over sheets (exit when condition is fullfilled)

Change-Id: I86196c6bb0f5fd6ba5b44c69efadc16b119a7f11
Reviewed-on: https://gerrit.libreoffice.org/2579
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2013-03-09 15:51:49 +00:00
Laurent Godard 30862ca42c calc : multiple tabs can be hidden at once
- enables the "Format > Sheet > Hide" menu  when mutiple tabs are selected
provided there remain one tab at least at the end
- loops over selected tabs to hide them
- does nothing if the command leads to no visible tabs.

Change-Id: I445eccc188f1817006cb425dc9a0e92a25350ec8
Reviewed-on: https://gerrit.libreoffice.org/2053
Reviewed-by: Kohei Yoshida <kohei.yoshida@gmail.com>
Tested-by: Kohei Yoshida <kohei.yoshida@gmail.com>
2013-02-13 16:47:23 +00:00
Laurent Godard ab3f74fbea sc test XSheetOutline
Change-Id: Iea0576e61963dbdb72c88fe332c7cfe3e8ab7ff0
Reviewed-on: https://gerrit.libreoffice.org/1794
Reviewed-by: Noel Power <noel.power@suse.com>
Tested-by: Noel Power <noel.power@suse.com>
2013-01-24 11:21:53 +00:00
Laurent Godard 654e275fc6 sc test for XSheetAnnotations
Change-Id: Ie5ceb7f8d828eb9c1f4c92996ebb02c8a83f4cac
Reviewed-on: https://gerrit.libreoffice.org/1738
Reviewed-by: Noel Power <noel.power@suse.com>
Tested-by: Noel Power <noel.power@suse.com>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2013-01-17 16:06:44 +00:00
Laurent Godard 0bf016694e sc test for XSheetAnnotation
Change-Id: I1fa77c874c6307ff71ea0aeee653acf1305f2646
Reviewed-on: https://gerrit.libreoffice.org/1736
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2013-01-17 16:05:21 +00:00
Laurent Godard 03949c8720 fdo#49704 add split cells menu entry in calc popup
Change-Id: Ia4f80cba29f30d4c684de6f78d8831513afa445c
2012-11-28 18:08:32 +01:00
Laurent Godard 0d2afe0845 change Exit menu entry to Exit %PRODUCTNAME fdo#51944
Some user do not understand that Exit is for exiting all libreoffice modules and not exiting the current window

Change-Id: If3a88a1e7f79c5c19f3011ba65dde3cda11462a4
2012-07-13 12:12:03 +01:00
Laurent Godard b773045fa0 to find the headers and (static) library of our internal openssl 2012-04-10 16:08:09 +01:00
Laurent Godard 7827856113 document queryContentCells limitation
add also a missing </p> in previous paragraph
2012-03-28 14:04:34 -04:00
Laurent Godard 51ed3a6324 sc test : refactor importSheet tests 2012-01-18 18:12:11 +01:00
Laurent Godard 916a9b63d3 sc test : update importSheet tests 2012-01-15 04:05:21 +01:00
Laurent Godard c29a7e7877 move static casts outside loops
some little perf. improvements on saving spreadsheets
2012-01-04 10:00:54 -05:00
Laurent Godard 01708ea853 sc test : enhance importSheet tests regarding namedRanges 2011-12-23 09:14:16 +01:00
Laurent Godard b7c69a1d87 c++ subsequent tests for XSpreadsheets2::importSheet
add a typo correction on xnamedranges.cxx
2011-12-17 02:12:04 +01:00
Laurent Godard d75042329e c++ subsequent tests XRangeName and XRangeNames
renaming previous test to XRangeNames
new test for XRangeName
2011-12-16 04:30:47 +01:00
Laurent Godard d4b0b023d9 sc test xrangename - code cleaning and minor bug aNr2 2011-12-16 02:13:11 +01:00
Laurent Godard 15fd1375d3 add c++ based subsequenttest for XNamedRange
one test disabled because we first need to write a patch for our
internal cppunit
2011-12-14 03:27:22 +01:00
Laurent Godard fc0f0610fe minor around python and SDK
- add Python as available language desc. in SDK homepage
- replace OpenOffice.org with LibreOffice in examples index file
- add a readme file to toolpanel example

Signed-off-by: Lionel Elie Mamane <lionel@mamane.lu>
2011-12-11 08:43:55 +01:00
Laurent Godard 07249785a7 SDK examples : add Python section and ToolPanel python example
correct minor css rendering too
2011-12-08 15:12:44 +01:00
Laurent Godard 62ec7f9e82 cells creation : do not use uno calls at loading time 2011-12-03 20:15:02 +01:00
Laurent Godard c00d6519e9 String to OUString for SetHybridString method 2011-12-01 23:14:46 +01:00
Laurent Godard eec4e1202d avoid Tabs size calculation in loops 2011-12-01 11:43:55 +01:00
Laurent Godard e0765292dc importSheet : clean idl comments according to small previous cleaning 2011-11-26 06:31:24 +01:00
Laurent Godard 2ee55872eb importSheet from an external provided document
define a new interface XSpreadsheets2
clean some String in docuno.cxx while i'm at it.
2011-11-23 15:28:36 -05:00
Laurent Godard 1833e05aeb ScRangeData aName to OUString 2011-11-10 05:20:35 +01:00
Laurent Godard eed2ac74cc change String to OUString for aUpperName in ScRangeData
improves MatchByUpperName tests avoiding type conversions
2011-11-07 10:28:52 -05:00