Test correct quoting of sheet names.

Change-Id: I4e0c55b286a476aff5cf9198b2527ec068003a8c
Handle global range names and use CreateString() during xlsx import.

This makes the load speed slightly faster.

Change-Id: I64e4d4b8c42a68577350539f3812cafdc0433f96
Make FormulaCompiler explicitly non-copyable.

Change-Id: Ie0618c7e6e3854d54f117c3fe957925f3f81ac46
Have makeRefStr() accept a context object rather than individual params.

Change-Id: Id52e02aa29d85d207420c80a95ada2f8487f165f
We don't need this any more.

This was used when external references used hidden sheets as a cheesy
workaround.

Change-Id: I7e4bf3a2235a0c2e80d0aa71a81f22a10b8d0fd5
Pre-quote sheet names to avoid doing it every single time.

Change-Id: Ib103ca22bf59c334945c0462588610899a0acfaa
Handle named database ranges in CreateString().

Change-Id: I6904b9de0f7d711252797bb2e33ba4c462476b2d
Handle sheet-local range names too.

Change-Id: Ib1503c3b69d77946b4437bdc0e1bfa5ebacbb602
Let's have makeRefStr() take individual parameters again.

And remove use of TokenStringContext from ScCompiler.

Change-Id: Ib0636e2437a64edd372623a7176dab462eed831b
Handle external functions (add-ins).

Unfortunately we can't test this piece easily just yet.  Enabling add-in
functions would mess up the function list which is unit-tested and thus
fail if we enable add-ins in unit test.

Change-Id: Ieda5e5560d4c7e68d7c6272c5d85f2ac63bd4ee4
Fix indentation.

Change-Id: I260649aca445e03c52423d8f0a63eb4681d2a876
Handle matrix.

Change-Id: I084b2348b5c52151b0d0ea36d082ec2f2603e0d4
EncodeUrlMode always set to "by grammer". Remove it.

Change-Id: I7de308bbdaacc1fc60a142497acc2301c080e5dc
Try not to pass ScCompiler as a parameter.

Change-Id: I7ef58f0455f11a3eb2ac88ec76e9436fb48a74e2
Don't forget to generate RPN tokens here.

Change-Id: I03a0e0d9f82e9c8881b0ff225ba0b476a693afb1
Avoid passing the external ref manager pointer to make it re-entrant.

Change-Id: I67a0df1dcd0635ea82bfc397041a9c43dedbe75d
Handle external reference bits too. This is the last missing piece.

Change-Id: Ib1dd18bb5a8d70c53722ac91e2340d05bbc7798a