Move the API guard out of the worker threads onto the manager thread.

Just set this once before spawning multiple worker threads.

Change-Id: I9cb60721f633f939d4a95f1d80e2ed8e4542a8fa
Guard access to external ref manager instance.

Change-Id: Ie3208844b523463954c482d080f02d726ae749f9
Make this thread safe too.

Change-Id: Ic8508f693f8a6e9bae513d6b5b6eaaaae618194b
Guard CharacterClassificationImpl with mutex.

They are accessed from multiple threads frequently.

Change-Id: I3f9720ede076109efe0b7eaa4a05dd50f2e38102
Thread-safe way to check for presence of references in formula tokens.

Change-Id: I995668d1e183dc0dae4f354889bc13053e858723
Mutex access to the global theIndexTable.

Change-Id: I31e2cf3a479e385aa0fca4678a3a2c7fa6cc4b5f
Revert "Guard CharacterClassificationImpl with mutex."

This reverts commit fc04b55f7f96a4f70f31c145dafd44c1d9276a41.
We don't need to put this in a separate thread.

We can do this on the main thread.

Change-Id: I58a32d9e0ce2599c5822903393a5b698233599df
Revert "Guard access to external ref manager instance."

This reverts commit 7cf9ea71ad1364d00eaca95b309cc6c0f35cf6cb.
Remove mutexes from external ref manager.

Change-Id: I4857bb3a1804d4cd53c3e25a7586bd68ab95a202
Cache previous formula tokens to avoid formula re-compilations.

Change-Id: If20e0ebf5410af0b7655f36f7e4fc06f53d8b14b
Create formula cells there...

Change-Id: Idfd4081245905cdc88ad0da195b81be7e34ebf21
Store the formula cell instance in cache rather than the token array.

Change-Id: I1c4a0897c46458d6ee086e7f72ab8a03aa54c9e0
This is clearly a mistake.

Change-Id: Id87e120d80b823db9be989db7a7b2ac383304f77
Group formula cells if we can, to avoid cloning of token array instances.

Change-Id: I584e6d0c34f972c1ae5105a80d201f32dd8590d9
Add separate list of function names for OOXML import.

Change-Id: Id6bb9ed65f94a56e82c0c4a6fee241dec4eb9138
Accelerate checking for VBA macros that are not there.
Add test for importing some of those functions new in Excel 2010.

Change-Id: Ic3577b3ef0edcfa417ae0065499171bf770c2a32