26#include <rtl/textenc.h>
27#include <rtl/ustrbuf.hxx>
28#include <rtl/ustring.hxx>
51 OUStringBuffer aToken;
55 std::unique_ptr<SvParser_Impl<T>> pImplData;
62 rtl_TextEncoding eSrcEnc;
64 sal_uInt64 nNextChPos;
67 bool bSwitchToUCS2 : 1;
68 bool bRTF_InTextRead : 1;
81 T SkipToken(
short nCnt = -1 );
88 virtual T GetNextToken_() = 0;
96 void ClearTxtConvContext();
99 std::unique_ptr<TokenStackType[]> pTokenStack;
101 sal_uInt8 nTokenStackSize, nTokenStackPos;
110 sal_uInt32 GetLineNr()
const;
111 sal_uInt32 GetLinePos()
const;
113 sal_uInt32 IncLinePos();
114 void SetLineNr( sal_uInt32 nlNum );
115 void SetLinePos( sal_uInt32 nlPos );
117 sal_uInt32 GetNextChar();
118 void RereadLookahead();
120 bool IsParserWorking()
const;
125 void SaveState( T nToken );
131 void SetSrcEncoding( rtl_TextEncoding eSrcEnc );
132 rtl_TextEncoding GetSrcEncoding()
const;
136 void SetSwitchToUCS2(
bool bSet );
137 bool IsSwitchToUCS2()
const;
140 sal_uInt16 GetCharSize()
const;
142 T GetSaveToken()
const;
SvKeyValueIterator & operator=(const SvKeyValueIterator &)=delete
std::unique_ptr< Impl > mpImpl
virtual ~SvKeyValueIterator() override
SvKeyValueIterator(const SvKeyValueIterator &)=delete
SvKeyValue()
Construction.
SvKeyValue(OUString aKey, OUString aValue)
const OUString & GetKey() const
Operation.
OUString m_aKey
Representation.
SvKeyValue(const SvKeyValue &rOther)
SvKeyValue & operator=(SvKeyValue const &rOther)
Assignment.
const OUString & GetValue() const
#define DECL_DLLPRIVATE_LINK(Member, ArgType, RetType)
tools::SvRef< SvKeyValueIterator > SvKeyValueIteratorRef