diff options
author | Eike Rathke <erack@redhat.com> | 2015-11-11 16:58:53 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2015-11-11 17:01:10 +0100 |
commit | 11fc639c0897a192f1da0c69d1f7ab683ff1208e (patch) | |
tree | 53783d111bf320fc51831c975fac4ddabdabeb67 | |
parent | 52e08f200e5ed525cb1ff92a13ab85d36cd7459f (diff) |
TableRef: write <table><autoFilter> content to OOXML
Change-Id: Iedd15feb7aaceebaa522b276cfa079afa1193bc1
-rw-r--r-- | sc/source/filter/excel/xedbdata.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/filter/excel/xedbdata.cxx b/sc/source/filter/excel/xedbdata.cxx index 640e306d347a..6613c37c13d9 100644 --- a/sc/source/filter/excel/xedbdata.cxx +++ b/sc/source/filter/excel/xedbdata.cxx @@ -8,6 +8,7 @@ */ #include "xedbdata.hxx" +#include "excrecds.hxx" #include "xltools.hxx" #include "dbdata.hxx" #include "document.hxx" @@ -219,9 +220,8 @@ void XclExpTables::SaveTableXml( XclExpXmlStream& rStrm, const Entry& rEntry ) * When not applied but buttons hidden, Excel writes, for example, * <filterColumn colId="0" hiddenButton="1"/> */ - pTableStrm->singleElement( XML_autoFilter, - XML_ref, XclXmlUtils::ToOString(aRange), - FSEND); + ExcAutoFilterRecs aAutoFilter( rStrm.GetRoot(), aRange.aStart.Tab(), &rData); + aAutoFilter.SaveXml( rStrm); } const std::vector< OUString >& rColNames = rData.GetTableColumnNames(); |