22#include <rtl/string.hxx>
23#include <rtl/ustring.hxx>
43 virtual sal_uInt16
GetNum()
const = 0;
44 virtual std::size_t
GetLen()
const = 0;
62 virtual sal_uInt16
GetNum()
const override;
63 virtual std::size_t
GetLen()
const override;
73 virtual sal_uInt16
GetNum()
const override;
91 virtual std::size_t
GetLen()
const override;
118 virtual sal_uInt16
GetNum()
const override;
119 virtual std::size_t
GetLen()
const override;
132 virtual sal_uInt16
GetNum()
const override;
133 virtual std::size_t
GetLen()
const override;
142 virtual sal_uInt16
GetNum()
const override;
143 virtual std::size_t
GetLen()
const override;
155 virtual std::size_t
GetLen()
const override;
205 virtual std::size_t
GetLen()
const override;
215 virtual std::size_t
GetLen()
const override;
225 virtual sal_uInt16
GetNum()
const override;
250 virtual sal_uInt16
GetNum()
const override;
262 virtual std::size_t
GetLen()
const override;
274 virtual std::size_t
GetLen()
const override;
341 std::unique_ptr<XclExpString>
380 sal_uInt8 nOp,
const OUString* pText,
bool bSimple =
false );
Exc1904(const ScDocument &rDoc)
virtual void SaveXml(XclExpXmlStream &rStrm) override
virtual sal_uInt16 GetNum() const override
XclExpAutofilterList::RecordRefType XclExpAutofilterRef
XclExpRecordList< XclExpAutofilter > XclExpAutofilterList
std::vector< std::tuple< ScRange, OUString, bool > > maSortCustomList
ExcAutoFilterRecs(const XclExpRoot &rRoot, SCTAB nTab, const ScDBData *pDefinedData)
XclExpAutofilter * GetByCol(SCCOL nCol)
virtual void SaveXml(XclExpXmlStream &rStrm) override
XclExpAutofilterList maFilterList
bool HasFilterMode() const
virtual void Save(XclExpStream &rStrm) override
Overwrite this method to do any operation while saving the record.
rtl::Reference< XclExpFiltermode > m_pFilterMode
rtl::Reference< XclExpAutofilterinfo > m_pFilterInfo
bool IsFiltered(SCCOL nCol)
virtual ~ExcAutoFilterRecs() override
virtual sal_uInt16 GetNum() const override
virtual std::size_t GetLen() const override
virtual void SaveCont(XclExpStream &rStrm) override
virtual sal_uInt16 GetNum() const override
virtual std::size_t GetLen() const override
virtual void SaveCont(XclExpStream &rStrm) override
virtual std::size_t GetLen() const override
virtual void SaveCont(XclExpStream &rStrm) override
virtual sal_uInt16 GetNum() const override
void UpdateStreamPos(XclExpStream &rStrm)
void SetStreamPos(sal_uInt64 const nStrPos)
ExcBundlesheet(const RootData &rRootData, SCTAB nTab)
virtual std::size_t GetLen() const override
virtual void SaveCont(XclExpStream &rStrm) override
virtual void Save(XclExpStream &rStrm) override
Writes the record header and calls WriteBody().
virtual sal_uInt16 GetNum() const override
virtual const sal_uInt8 * GetData() const =0
virtual std::size_t GetLen() const override
virtual const sal_uInt8 * GetData() const override
static const sal_uInt8 pMyData[]
static const std::size_t nMyLen
static const std::size_t nMyLen
static const sal_uInt8 pMyData[]
virtual std::size_t GetLen() const override
virtual const sal_uInt8 * GetData() const override
virtual std::size_t GetLen() const override
static const sal_uInt8 pMyData[]
virtual const sal_uInt8 * GetData() const override
static const std::size_t nMyLen
static const sal_uInt8 pMyData[]
virtual const sal_uInt8 * GetData() const override
virtual std::size_t GetLen() const override
static const std::size_t nMyLen
virtual sal_uInt16 GetNum() const override
virtual void Save(XclExpStream &rStrm) override
Writes the record header and calls WriteBody().
virtual std::size_t GetLen() const override
virtual std::size_t GetLen() const override
virtual sal_uInt16 GetNum() const override
void Save(XclExpStream &rStrm)
void SaveXml(XclExpXmlStream &rStrm)
std::size_t GetTextBytes() const
void SetCondition(sal_uInt8 nTp, sal_uInt8 nOp, const OUString *pT)
std::unique_ptr< XclExpString > pText
void SaveText(XclExpStream &rStrm)
virtual sal_uInt16 GetNum() const =0
virtual void SaveXml(XclExpXmlStream &rStrm) override
virtual void Save(XclExpStream &rStrm) override
Writes the record header and calls WriteBody().
virtual std::size_t GetLen() const =0
virtual void SaveCont(XclExpStream &rStrm)
virtual void WriteBody(XclExpStream &rStrm) override
Writes the body of the record.
virtual void SaveXml(XclExpXmlStream &rStrm) override
ExcFilterCondition aCond[2]
bool HasCondition() const
XclExpAutofilter(const XclExpRoot &rRoot, sal_uInt16 nC, bool bIsEmpty=false)
void SetButtonHidden(bool bValue)
std::vector< std::pair<::Color, bool > > maColorValues
void AddColorEntry(const ScQueryEntry &rEntry)
std::vector< std::pair< OUString, bool > > maMultiValues
bool AddCondition(ScQueryConnect eConn, sal_uInt8 nType, sal_uInt8 nOp, const OUString *pText, bool bSimple=false)
virtual void WriteBody(XclExpStream &rStrm) override
Writes the body of the record (without record header).
void AddMultiValueEntry(const ScQueryEntry &rEntry)
sal_uInt16 GetCol() const
bool AddEntry(const ScQueryEntry &rEntry)
XclExpAutofilterinfo(const ScAddress &rStartPos, SCCOL nScCol)
const ScAddress & GetStartPos() const
SCCOL GetColCount() const
Record which contains a Boolean value.
This record contains the Windows country IDs for the UI and document language.
sal_uInt16 mnDocCountry
The UI country ID.
XclExpCountry(const XclExpRoot &rRoot)
virtual void WriteBody(XclExpStream &rStrm) override
The document country ID.
rtl::Reference< ExcAutoFilterRecs > XclExpTabFilterRef
bool HasFilterMode(SCTAB nScTab)
Returns whether or not FilterMode is present.
XclExpRecordRef CreateRecord(SCTAB nScTab)
Returns a record object containing all filter records for the specified sheet.
::std::map< SCTAB, XclExpTabFilterRef > XclExpTabFilterMap
XclExpFilterManager(const XclExpRoot &rRoot)
void InitTabFilter(SCTAB nScTab)
Creates the filter records for the specified sheet.
XclExpTabFilterMap maFilterMap
XclExpPassHash(const css::uno::Sequence< sal_Int8 > &aHash)
virtual ~XclExpPassHash() override
virtual void WriteBody(XclExpStream &rStrm) override
Writes the body of the record (without record header).
XclExpProtection(bool bValue)
Base class for all Excel records.
Base class for single records with any content.
Access to global data from other classes.
XclExpRecordRef CreateRecord(sal_uInt16 nRecId) const
Returns the reference to a record (or record list) representing a root object.
XclExpSheetProtection(bool bValue, SCTAB nTab)
virtual void SaveXml(XclExpXmlStream &rStrm) override
This class is used to export Excel record streams.
A record with a single value of type Type.
const Type & GetValue() const
Returns the value of the record.
XclExpWindowProtection(bool bValue)
virtual void SaveXml(XclExpXmlStream &rStrm) override
XclExpWsbool(bool bFitToPages)
Save sheetPr element and its children for xlsx export.
XclExpFilterManager * mpManager
virtual void SaveXml(XclExpXmlStream &rStrm) override
XclExpXmlSheetPr(bool bFitToPages, SCTAB nScTab, const Color &rTabColor, XclExpFilterManager *pManager)
const sal_uInt16 EXC_AFFLAG_TOP10
const sal_uInt8 EXC_AFTYPE_NOTUSED
Each instance of this struct represents a single filtering criteria.