Try to reduce the amount of repainting during streaming.

Conflicts:
	sc/source/ui/docshell/datastream.cxx

Change-Id: I8e8da0321ef3aa6d92c16580e6c7a0fb48a82768
Try to consolidate all broadcast calls into one place. Still WIP.

Conflicts:
	sc/source/ui/docshell/datastream.cxx

Change-Id: I7b75307de3ae91726facb67ea8d3fb6999e1f9c7
Put these new classes in sc namespace.

Change-Id: Id75c63521def501a4c8c55d4cd45b66a010a9580
Add sc::DocumentStreamAccess class.

To provide the DataStream class with a fast way to manipulate document
content without altering broadcaster positions or unnecessary broadcasting.

Conflicts:
	sc/source/ui/docshell/datastream.cxx

Change-Id: Ib329313b8668c9a1698ea05372de6269d089859c
Set sensible default values in the UI.

Change-Id: Ibafbeae0becaca4f0b217b6a5a78bee048fceea0
Ensure that the initial data range has only one row.

Change-Id: I97731ba02bab0ab44f19ab9cae2563ee0f71fef2
Check the parse result and handle an error case.

Change-Id: Ie61f8c274754669a15e12a6f1517dacb7645c752
Re-organize it a bit.

Change-Id: Idbd8c62a51e2de9df0396c2f18b8b25f0ad8ebf2
Only keep track of current row position, not a whole range.

Change-Id: I8ad56284b9c5422d102c7e8688e5b1e4c37ae877
Use orcus csv parser to streamd data which has much less overhead.

Also, use DocumentStreamAccess to modify ScDocument's content.

Change-Id: I516260cff1f2315267afcff05e36e620798a1aed
Detect numbers which are to be inserted as numeric cells.

Also, disable automatic scrolling.

Change-Id: I2f3facfd91b9b4e3f86b9685a546a094180bf1ee
Pass enum values around rather than OUString ones.

Ditto with the range type.

Change-Id: Iab37d50b6d58d76c60872f49f13d77ff0c918974
Disable this mode for now.

Change-Id: I3206de5e379fb7091498f5e3d83ccc5d28071ae5
Just do hard-recalc on stream refresh. That takes care of all our needs.

Change-Id: I9a454089843d1373153988a29843b95db22ee284
Fine-tune our refresh policy during streaming.

Change-Id: I9eff0bc0e4087261e2283a55211c8a9daf2a8b24
Handle "refresh on empty line" setting from the UI.

With this set, when we detect an empty line, we'll trigger refresh and
discard the line.  If not set, we'll import an empty line.

Change-Id: Ic3ccb1adbd0c7273c3affff82a2d111c378f2af3
Don't forget to set document modified afterward.

Change-Id: I5b2b9a3dad2aeee6bc5a4a4767b239c92865b2f4
We don't need these yet.

Change-Id: Iff875a690f319eb92ccfb8010853714ac60dcc9a
Hide the "Overwrite existing data" option.

With the address,value mode gone, this option makes no sense.

Change-Id: Iec4925afb03b81d0b4d9fe912c8f20b135ef74d3
Disable script source option.

Change-Id: I6cbfff1d9740e284b05d4737e13794bc2b098167