diff options
author | Balazs Varga <balazs.varga991@gmail.com> | 2021-01-13 16:17:30 +0100 |
---|---|---|
committer | László Németh <nemeth@numbertext.org> | 2021-01-21 11:34:53 +0100 |
commit | 0e751d0cb816197f15a2448ec36c57df17387e40 (patch) | |
tree | ab6d0f66fbd75323641f381bdd5b38d20d31c233 /offapi | |
parent | d62ad3efe3c8778cfda00799f1cd7bb3349e0b75 (diff) |
tdf#116818 sc,offapi,XLSX import: fix autofiltered date columns
by importing dateGroupItem.
Add property IsDateValue to com::sun::star::sheet::FilterFieldValue.
Note: ODS import/export and XLSX export haven't been supported, yet.
To check/show the fix manually, run the test with
$ (cd sc && make -srj8 UITest_autofilter UITEST_TEST_NAME="autofilter.AutofilterTest.test_tdf116818" SAL_USE_VCLPLUGIN=gen)
Change-Id: I033f1915c710589ff11fe97e9b39e45251976dfc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109233
Tested-by: László Németh <nemeth@numbertext.org>
Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'offapi')
-rw-r--r-- | offapi/com/sun/star/sheet/FilterFieldValue.idl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/offapi/com/sun/star/sheet/FilterFieldValue.idl b/offapi/com/sun/star/sheet/FilterFieldValue.idl index 5d1b40837476..2e3ba927dc97 100644 --- a/offapi/com/sun/star/sheet/FilterFieldValue.idl +++ b/offapi/com/sun/star/sheet/FilterFieldValue.idl @@ -29,6 +29,13 @@ struct FilterFieldValue /** specifies a string value for the condition. */ string StringValue; + + /** specifies whether the TableFilterFieldValue::StringValue + is a string value or a date value. + + @since LibreOffice 7.2 + */ + boolean IsDateValue; }; }; }; }; }; |