Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
it is now possible to add csv files to create easy filter test
|
|
String->rtl::OUString and solve problem with old patch
|
|
xlsx does not work yet because local range name export is not
implemented
|
|
|
|
Until we find a better solution, let's at least bring the values
back to the 3.4 level.
In 3.4 I have nDefFontHeight = 225 and nStdRowHeight = 256. This
change make those values the minimum values.
|
|
|
|
|
|
|
|
|
|
|
|
adds the basic concepts for xls/xlsx unit test
-build system changes
-some restructuring in the filter test
-universal-content.xls/xlsx
|
|
|
|
|
|
Implements BITAND, BITOR, BITXOR, BITLSHIFT and BITRSHIFT as specified by
OASIS OpenDocument Format 1.2 OpenFormula / ODFF.
Changes made by the committer:
* Original submission added the new functions to the Logical group, that group
has only functions though that return a logical value 1/0/true/false. ODFF
groups them under "Bit operation functions" that currently is not available
in Calc. Added the functions to the Mathematical group instead.
* Changed descriptions of functions in the Function Wizard.
* One sal_uInt64 constant instead of several identical literal 281474976710655
values.
* Replaced 'or' operators with ||
* Don't push two return values, if PushIllegalArgument() was used don't use
PushDouble() thereafter.
* Treat double values with ::rtl::math::approxFloor() to obtain integer
values.
* For BITLSHIFT and BITRSHIFT implemented a different algorithm following the
ODFF specification that allows larger shift values.
* Use our block braces style, respectively don't use block braces for one-line
if-statements.
* Fixed indentation levels.
* Adapted RTL_LOGFILE_CONTEXT_AUTHOR to say "pechlaner". Credit to whom credit
is due ;-)
|
|
This change improves import performance of Excel documents based on
the following changes.
1) Pool styles only once per call.
This removes SfxItemPoolCache instantiation and destruction which
is quite expensive. This alone cuts import almost by half with
large documents with lots of styles applied.
2) Skip removal of direct formats when setting style.
The old code was iterating through all attribute regions in order
to try to remove overlapping format attributes when applying a
style. But that's strictly not necessary (and bad for performance)
during import. This also removes the need to re-apply the direct
formats right afterward.
3) Avoid creating a duplicate ScPatternAttr instance per XF.
There is simply no need to create a clone of the style only to put
it into the styles pool and get discarded. This saves additional
few seconds.
|
|
the SC_DLLPUBLIC changes in document.hxx are only necessary until we can
link statically against sc
|
|
|
|
|
|
|
|
TODO: add a undo/redo test and debug why ScDocFunc::InsertCells does not
expand the merged area
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* The newly introduced ScRangeName::maIndexToData needs to take into
account that boost::ptr_set clones and deletes elements, hence each
collection needs its own maIndexToData setup in copy-ctor.
* Also fixed ScRangeName::erase() where a wrong index element was set to NULL.
|
|
This should speed up formula calculations considerably during xls
import since shared formulas are also stored in ScRangeName and
they are looked up by index. (bnc#715104)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The if condition is true, the method simply returns. There is no
need to have this else scope which would increase the indent level
for no good reason.
|
|
This ensures that the bottom text "Drag the fields from ..." is
visible on all platforms. Previously this text overlapped with
the data and row field windows on Windows XP.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|