244 aSuffix =
" " + aSuffix;
294 OUString aPrefix, aSuffix,aNegPrefix,aNegSuffix;
317 aNegPrefix = aPrefix;
318 aNegSuffix = aSuffix;
319 aNegativeColor = aColor;
373 sal_uInt16 nLen = sCode.getLength();
376 std::unique_ptr<sal_Unicode[]> pBuff(
new sal_Unicode[sCode.getLength()] );
378 for (
i=0;
i< sCode.getLength() - 1;
i++)
380 if ( (pString[
i] == 0x00a1) && (pString[
i+1] == 0x00ea))
385 pBuff[
i] = pString[
i];
390 for (sal_Int32 j=
i+1; j < sCode.getLength() - 1; ++j)
392 pBuff[j] = pString[j+1];
394 OUString sRet(pBuff.get(), nLen - 1);
void Read(LwpObjectStream *pStrm)
@descr read atomholder from object stream the default encoding used in Word Pro is 1252
lwpcolor class (red, green, blue, extra)
sal_uInt16 GetGreen() const
void Read(LwpObjectStream *pStrm)
@descr read color and then resolve the RGB values
sal_uInt16 GetBlue() const
sal_uInt16 GetRed() const
bool IsSymbolPost(sal_uInt16 nFormat)
std::map< sal_uInt16, LwpCurrencyInfo > m_aCurrencyInfo
bool IsShowSpace(sal_uInt16 nFormat)
OUString GetCurrencySymbol(sal_uInt16 nFormat)
LwpNumericFormat cNumerics
virtual void Read() override
@descr Read LwpDLVList data from object stream
stream class for LwpObject body data provide stream like interface to read object data
sal_uInt16 QuickReaduInt16(bool *pFailure=nullptr)
@descr Quick read sal_uInt32
void SkipExtra()
@descr skip extra bytes
std::unique_ptr< LwpObjectStream > m_pObjStrm
virtual void Read() override
@descr Read LwpDLVList data from object stream
void SetDecimalDigits(sal_Int32 decimal)
void SetPrefix(const OUString &prefix)
void SetSurfix(const OUString &surfix)
void SetNegativeStyle(const OUString &prefix, const OUString &suffix, const XFColor &color)
void SetNumberType(enumXFNumberType type)
void SetColor(const XFColor &color)
implements ixfstyle interface.
For LWP filter architecture prototype - table object.