Lines Matching refs:rtl
100 typedef ::std::pair< ::rtl::OUString, ::rtl::OUString > OUStringPair;
103 typedef ::std::vector< ::rtl::OUString > OUStringVector;
115 static ::rtl::OUString convertFileNameToUrl( const ::rtl::OUString& rFileName );
116 static sal_Int32 getFileNamePos( const ::rtl::OUString& rFileUrl );
117 static ::rtl::OUString getFileNameExtension( const ::rtl::OUString& rFileUrl );
124 const ::rtl::OUString& rFileName );
131 const ::rtl::OUString& rFileName );
142 const ::rtl::OUString& rFileName,
223 ::rtl::OUString maItemName; /// Name of the item.
224 ::rtl::OUString maListName; /// Name of a name list to be used for this item.
228 …void set( DataType eDataType, FormatType eFmtType, const ::rtl::OUString& rItemName…
229 … set( DataType eDataType, FormatType eFmtType, const ::rtl::OUString& rItemName, const ::rtl::O…
256 OUStringVector parse( const ::rtl::OUString& rFormatStr );
310 …static void appendChar( ::rtl::OUStringBuffer& rStr, sal_Unicode cChar, sal_Int32 nCount =…
311 …static void appendString( ::rtl::OUStringBuffer& rStr, const ::rtl::OUString& rData, sal_I…
315 …static void appendDec( ::rtl::OUStringBuffer& rStr, sal_uInt8 nData, sal_Int32 nWidth = 0…
316 …static void appendDec( ::rtl::OUStringBuffer& rStr, sal_Int8 nData, sal_Int32 nWidth = 0…
317 …static void appendDec( ::rtl::OUStringBuffer& rStr, sal_uInt16 nData, sal_Int32 nWidth = 0…
318 …static void appendDec( ::rtl::OUStringBuffer& rStr, sal_Int16 nData, sal_Int32 nWidth = 0…
319 …static void appendDec( ::rtl::OUStringBuffer& rStr, sal_uInt32 nData, sal_Int32 nWidth = 0…
320 …static void appendDec( ::rtl::OUStringBuffer& rStr, sal_Int32 nData, sal_Int32 nWidth = 0…
321 …static void appendDec( ::rtl::OUStringBuffer& rStr, sal_uInt64 nData, sal_Int32 nWidth = 0…
322 …static void appendDec( ::rtl::OUStringBuffer& rStr, sal_Int64 nData, sal_Int32 nWidth = 0…
323 …static void appendDec( ::rtl::OUStringBuffer& rStr, double fData, sal_Int32 nWidth = 0…
327 …static void appendHex( ::rtl::OUStringBuffer& rStr, sal_uInt8 nData, bool bPrefix = true …
328 …static void appendHex( ::rtl::OUStringBuffer& rStr, sal_Int8 nData, bool bPrefix = true …
329 …static void appendHex( ::rtl::OUStringBuffer& rStr, sal_uInt16 nData, bool bPrefix = true …
330 …static void appendHex( ::rtl::OUStringBuffer& rStr, sal_Int16 nData, bool bPrefix = true …
331 …static void appendHex( ::rtl::OUStringBuffer& rStr, sal_uInt32 nData, bool bPrefix = true …
332 …static void appendHex( ::rtl::OUStringBuffer& rStr, sal_Int32 nData, bool bPrefix = true …
333 …static void appendHex( ::rtl::OUStringBuffer& rStr, sal_uInt64 nData, bool bPrefix = true …
334 …static void appendHex( ::rtl::OUStringBuffer& rStr, sal_Int64 nData, bool bPrefix = true …
335 …static void appendHex( ::rtl::OUStringBuffer& rStr, double fData, bool bPrefix = true …
339 …static void appendShortHex( ::rtl::OUStringBuffer& rStr, sal_uInt8 nData, bool bPrefix = …
340 …static void appendShortHex( ::rtl::OUStringBuffer& rStr, sal_Int8 nData, bool bPrefix = …
341 …static void appendShortHex( ::rtl::OUStringBuffer& rStr, sal_uInt16 nData, bool bPrefix = …
342 …static void appendShortHex( ::rtl::OUStringBuffer& rStr, sal_Int16 nData, bool bPrefix = …
343 …static void appendShortHex( ::rtl::OUStringBuffer& rStr, sal_uInt32 nData, bool bPrefix = …
344 …static void appendShortHex( ::rtl::OUStringBuffer& rStr, sal_Int32 nData, bool bPrefix = …
345 …static void appendShortHex( ::rtl::OUStringBuffer& rStr, sal_uInt64 nData, bool bPrefix = …
346 …static void appendShortHex( ::rtl::OUStringBuffer& rStr, sal_Int64 nData, bool bPrefix = …
347 …static void appendShortHex( ::rtl::OUStringBuffer& rStr, double fData, bool bPrefix = …
351 … static void appendBin( ::rtl::OUStringBuffer& rStr, sal_uInt8 nData, bool bDots = true );
352 … static void appendBin( ::rtl::OUStringBuffer& rStr, sal_Int8 nData, bool bDots = true );
353 … static void appendBin( ::rtl::OUStringBuffer& rStr, sal_uInt16 nData, bool bDots = true );
354 … static void appendBin( ::rtl::OUStringBuffer& rStr, sal_Int16 nData, bool bDots = true );
355 … static void appendBin( ::rtl::OUStringBuffer& rStr, sal_uInt32 nData, bool bDots = true );
356 … static void appendBin( ::rtl::OUStringBuffer& rStr, sal_Int32 nData, bool bDots = true );
357 … static void appendBin( ::rtl::OUStringBuffer& rStr, sal_uInt64 nData, bool bDots = true );
358 … static void appendBin( ::rtl::OUStringBuffer& rStr, sal_Int64 nData, bool bDots = true );
359 … static void appendBin( ::rtl::OUStringBuffer& rStr, double fData, bool bDots = true );
364 static void appendFix( ::rtl::OUStringBuffer& rStr, Type nData, sal_Int32 nWidth = 0 );
368 static void appendBool( ::rtl::OUStringBuffer& rStr, bool bData );
370 static void appendValue( ::rtl::OUStringBuffer& rStr, Type nData, FormatType eFmtType );
374 static void appendAddrCol( ::rtl::OUStringBuffer& rStr, sal_Int32 nCol, bool bRel );
375 static void appendAddrRow( ::rtl::OUStringBuffer& rStr, sal_Int32 nRow, bool bRel );
376 …static void appendAddrName( ::rtl::OUStringBuffer& rStr, sal_Unicode cPrefix, sal_Int32 nC…
378 static void appendAddress( ::rtl::OUStringBuffer& rStr, const Address& rPos );
379 static void appendRange( ::rtl::OUStringBuffer& rStr, const Range& rRange );
380 static void appendRangeList( ::rtl::OUStringBuffer& rStr, const RangeList& rRanges );
382 …static void appendAddress( ::rtl::OUStringBuffer& rStr, const TokenAddress& rPos, bool bR1…
383 …static void appendRange( ::rtl::OUStringBuffer& rStr, const TokenRange& rRange, bool bR1C1…
387 …static void appendCChar( ::rtl::OUStringBuffer& rStr, sal_Unicode cChar, bool bPrefix = tr…
388 …static void appendEncChar( ::rtl::OUStringBuffer& rStr, sal_Unicode cChar, sal_Int32 nCoun…
389 …static void appendEncString( ::rtl::OUStringBuffer& rStr, const ::rtl::OUString& rData, bo…
393 …static void appendToken( ::rtl::OUStringBuffer& rStr, const ::rtl::OUString& rToken, sal_U…
394 …static void appendToken( ::rtl::OUStringBuffer& rStr, sal_Int64 nToken, sal_Unicode cSep =…
395 …static void prependToken( ::rtl::OUStringBuffer& rStr, const ::rtl::OUString& rToken, sal_…
396 …static void prependToken( ::rtl::OUStringBuffer& rStr, sal_Int64 nToken, sal_Unicode cSep …
398 static void appendIndex( ::rtl::OUStringBuffer& rStr, const ::rtl::OUString& rIdx );
399 static void appendIndex( ::rtl::OUStringBuffer& rStr, sal_Int64 nIdx );
400 …static void appendIndexedText( ::rtl::OUStringBuffer& rStr, const ::rtl::OUString& rData, …
401 …static void appendIndexedText( ::rtl::OUStringBuffer& rStr, const ::rtl::OUString& rData, …
403 …static ::rtl::OUString getToken( const ::rtl::OUString& rData, sal_Int32& rnPos, sal_Unicode cSep …
406 …static void enclose( ::rtl::OUStringBuffer& rStr, sal_Unicode cOpen, sal_Unicode cClose = …
410 static ::rtl::OUString trimSpaces( const ::rtl::OUString& rStr );
411 static ::rtl::OUString trimTrailingNul( const ::rtl::OUString& rStr );
413 static ::rtl::OString convertToUtf8( const ::rtl::OUString& rStr );
414 static DataType convertToDataType( const ::rtl::OUString& rStr );
415 static FormatType convertToFormatType( const ::rtl::OUString& rStr );
417 static bool convertFromDec( sal_Int64& ornData, const ::rtl::OUString& rData );
418 static bool convertFromHex( sal_Int64& ornData, const ::rtl::OUString& rData );
420 static bool convertStringToInt( sal_Int64& ornData, const ::rtl::OUString& rData );
421 static bool convertStringToDouble( double& orfData, const ::rtl::OUString& rData );
422 static bool convertStringToBool( const ::rtl::OUString& rData );
424 … static OUStringPair convertStringToPair( const ::rtl::OUString& rString, sal_Unicode cSep = '=' );
428 …static void convertStringToStringList( OUStringVector& orVec, const ::rtl::OUString& rData…
429 …static void convertStringToIntList( Int64Vector& orVec, const ::rtl::OUString& rData, bool…
435 void StringHelper::appendFix( ::rtl::OUStringBuffer& rStr, Type nData, sal_Int32 nWidth ) in appendFix()
441 void StringHelper::appendValue( ::rtl::OUStringBuffer& rStr, Type nData, FormatType eFmtType ) in appendValue()
457 class String : public ::rtl::OUString
461 inline /*implicit*/ String( const ::rtl::OUString& rStr ) : ::rtl::OUString( rStr ) {} in String()
462 …inline /*implicit*/ String( const sal_Char* pcStr ) : ::rtl::OUString( ::rtl::OUString::createFrom… in String()
463 inline /*implicit*/ String( sal_Unicode cChar ) : ::rtl::OUString( cChar ) {} in String()
466 …inline ::rtl::OUString operator()( const sal_Char* pcDefault ) const { if( has() ) return *this; r… in operator ()()
480 inline const ::rtl::OUString& getFormulaString() const { return getString( maFmlaStack ); } in getFormulaString()
481 inline const ::rtl::OUString& getClassesString() const { return getString( maClassStack ); } in getClassesString()
483 void pushOperand( const String& rOp, const ::rtl::OUString& rTokClass );
487 …void pushFuncOp( const String& rFunc, const ::rtl::OUString& rTokClass, sal_uInt8 n…
490 void replaceOnTop( const ::rtl::OUString& rOld, const ::rtl::OUString& rNew );
493 typedef ::std::stack< ::rtl::OUString > StringStack;
497 const ::rtl::OUString& getString( const StringStack& rStack ) const;
498 …void pushUnaryOp( StringStack& rStack, const ::rtl::OUString& rLOp, const ::rtl::OU…
499 void pushBinaryOp( StringStack& rStack, const ::rtl::OUString& rOp );
500 …void pushFuncOp( StringStack& rStack, const ::rtl::OUString& rOp, sal_uInt8 nParamC…
591 const ::rtl::OUString& rKey,
592 const ::rtl::OUString& rData );
597 const ::rtl::OUString& rData );
607 ::rtl::OUString& orKey,
608 ::rtl::OUString& orData ) const;
615 const ::rtl::OUString& rKey,
616 const ::rtl::OUString& rData );
638 typedef ::std::map< sal_Int64, ::rtl::OUString > OUStringMap;
657 inline ::rtl::OUString getName( const Config& rCfg, Type nKey ) const in getName()
661 inline ::rtl::OUString getName( const Config& rCfg, double fValue ) const in getName()
676 const ::rtl::OUString& rKey,
677 const ::rtl::OUString& rData );
682 const ::rtl::OUString& rData );
685 virtual void implSetName( sal_Int64 nKey, const ::rtl::OUString& rName ) = 0;
687 virtual ::rtl::OUString implGetName( const Config& rCfg, sal_Int64 nKey ) const = 0;
689 virtual ::rtl::OUString implGetNameDbl( const Config& rCfg, double fValue ) const = 0;
694 void insertRawName( sal_Int64 nKey, const ::rtl::OUString& rName );
696 const ::rtl::OUString* findRawName( sal_Int64 nKey ) const;
700 void include( const ::rtl::OUString& rListKeys );
702 void exclude( const ::rtl::OUString& rKeys );
724 const ::rtl::OUString& rKey,
725 const ::rtl::OUString& rData );
728 virtual void implSetName( sal_Int64 nKey, const ::rtl::OUString& rName );
730 virtual ::rtl::OUString implGetName( const Config& rCfg, sal_Int64 nKey ) const;
732 virtual ::rtl::OUString implGetNameDbl( const Config& rCfg, double fValue ) const;
737 ::rtl::OUString maDefName;
753 const ::rtl::OUString& rKey,
754 const ::rtl::OUString& rData );
756 virtual void implSetName( sal_Int64 nKey, const ::rtl::OUString& rName );
759 void insertNames( sal_Int64 nStartKey, const ::rtl::OUString& rData );
780 const ::rtl::OUString& rKey,
781 const ::rtl::OUString& rData );
784 virtual void implSetName( sal_Int64 nKey, const ::rtl::OUString& rName );
786 virtual ::rtl::OUString implGetName( const Config& rCfg, sal_Int64 nKey ) const;
788 virtual ::rtl::OUString implGetNameDbl( const Config& rCfg, double fValue ) const;
805 virtual void implSetName( sal_Int64 nKey, const ::rtl::OUString& rName );
807 virtual ::rtl::OUString implGetName( const Config& rCfg, sal_Int64 nKey ) const;
841 virtual void implSetName( sal_Int64 nKey, const ::rtl::OUString& rName );
843 virtual ::rtl::OUString implGetName( const Config& rCfg, sal_Int64 nKey ) const;
845 virtual ::rtl::OUString implGetNameDbl( const Config& rCfg, double fValue ) const;
850 ::rtl::OUString maUnitName;
860 inline /*implicit*/ NameListWrapper( const ::rtl::OUString& rListName ) : maName( rListName ) {} in NameListWrapper()
892 const ::rtl::OUString& rFileName,
895 const ::rtl::OUString& rSysFileName,
902 inline const ::rtl::OUString& getSysFileName() const { return maSysFileName; } in getSysFileName()
904 void setOption( const ::rtl::OUString& rKey, const ::rtl::OUString& rData );
905 const ::rtl::OUString* getOption( const ::rtl::OUString& rKey ) const;
908 ::boost::shared_ptr< ListType > createNameList( const ::rtl::OUString& rListName );
909 void setNameList( const ::rtl::OUString& rListName, const NameListRef& rxList );
910 void eraseNameList( const ::rtl::OUString& rListName );
911 NameListRef getNameList( const ::rtl::OUString& rListName ) const;
920 const ::rtl::OUString& rKey,
921 const ::rtl::OUString& rData );
924 bool readConfigFile( const ::rtl::OUString& rFileUrl );
926 void readNameList( TextInputStream& rStrm, const ::rtl::OUString& rListName );
927 void createShortList( const ::rtl::OUString& rData );
928 void createUnitConverter( const ::rtl::OUString& rData );
931 typedef ::std::set< ::rtl::OUString > ConfigFileSet;
932 typedef ::std::map< ::rtl::OUString, ::rtl::OUString > ConfigDataMap;
933 typedef ::std::map< ::rtl::OUString, NameListRef > NameListMap;
937 ::rtl::OUString maSysFileName;
942 ::rtl::OUString maConfigPath;
950 ::boost::shared_ptr< ListType > SharedConfigData::createNameList( const ::rtl::OUString& rListName ) in createNameList()
962 void SharedConfigData::readNameList( TextInputStream& rStrm, const ::rtl::OUString& rListName ) in readNameList()
982 const ::rtl::OUString& rSysFileName,
989 inline const ::rtl::OUString& getSysFileName() const { return mxCfgData->getSysFileName(); } in getSysFileName()
993 …const ::rtl::OUString& getStringOption( const String& rKey, const ::rtl::OUString& rDefault ) cons…
1009 ::rtl::OUString getName( const NameListWrapper& rListWrp, Type nKey ) const;
1027 const ::rtl::OUString& rSysFileName,
1031 virtual const ::rtl::OUString* implGetOption( const ::rtl::OUString& rKey ) const;
1032 virtual NameListRef implGetNameList( const ::rtl::OUString& rListName ) const;
1047 const ::rtl::OUString* pData = implGetOption( rKey ); in getIntOption()
1059 ::rtl::OUString Config::getName( const NameListWrapper& rListWrp, Type nKey ) const in getName()
1080 const ::rtl::OUString& rFileName );
1086 inline ::rtl::OUStringBuffer& getLine() { return maLine; } in getLine()
1105 inline const ::rtl::OUString& getLastItemValue() const { return maLastItem; } in getLastItemValue()
1114 void writeString( const ::rtl::OUString& rStr );
1161 ::rtl::OUString maIndent;
1162 ::rtl::OUStringBuffer maLine;
1163 ::rtl::OUString maLastItem;
1256 ::rtl::OUString getName() const;
1314 …void construct( const ObjectBase& rParent, const StorageRef& rxStrg, const ::rtl::O…
1322 const ::rtl::OUString& rStrgPath,
1323 const ::rtl::OUString& rStrmName,
1324 const ::rtl::OUString& rSysFileName );
1328 const ::rtl::OUString& rStrgPath,
1329 const ::rtl::OUString& rSysPath );
1333 const ::rtl::OUString& rSysFileName );
1339 ::rtl::OUString getSysFileName(
1340 const ::rtl::OUString& rStrmName,
1341 const ::rtl::OUString& rSysOutPath );
1345 const ::rtl::OUString& rStrgPath,
1346 const ::rtl::OUString& rStrmName,
1347 const ::rtl::OUString& rSysFileName );
1350 const ::rtl::OUString& rStrgPath,
1351 const ::rtl::OUString& rSysPath );
1355 const ::rtl::OUString& rStrgPath,
1356 const ::rtl::OUString& rItemName,
1357 const ::rtl::OUString& rSysPath,
1363 ::rtl::OUString maName;
1366 inline explicit PreferredItem( const ::rtl::OUString rName, bool bStorage ) : in PreferredItem()
1372 ::rtl::OUString maSysPath;
1391 void construct( const ObjectBase& rParent, const ::rtl::OUString& rSysFileName );
1401 void writeStringItem( const String& rName, const ::rtl::OUString& rData );
1407 void writeGuidItem( const String& rName, const ::rtl::OUString& rGuid );
1416 …void writeTokenAddress3dItem( const String& rName, const ::rtl::OUString& rRef, con…
1418 …void writeTokenRange3dItem( const String& rName, const ::rtl::OUString& rRef, const…
1450 ::rtl::OUString maSysFileName;
1540 ::rtl::OString aNameUtf8 = StringHelper::convertToUtf8( rItemFmt.maItemName ); in writeValueItem()
1575 …ct( const ObjectBase& rParent, const BinaryInputStreamRef& rxStrm, const ::rtl::OUString& rSysFile…
1603 …::rtl::OUString dumpCharArray( const String& rName, sal_Int32 nLen, rtl_TextEncoding eTextEnc,…
1604 …::rtl::OUString dumpUnicodeArray( const String& rName, sal_Int32 nLen, bool bHideTrailingNul =…
1606 ::rtl::OUString dumpNullCharArray( const String& rName, rtl_TextEncoding eTextEnc );
1607 ::rtl::OUString dumpNullUnicodeArray( const String& rName );
1612 ::rtl::OUString dumpGuid( const String& rName = EMPTY_STRING );
1789 const ::rtl::OUString& rSysFileName );
1814 const ::rtl::OUString& rSysFileName );
1844 const ::rtl::OUString& rSysFileName );
1853 virtual void implDumpLine( const ::rtl::OUString& rLine, sal_uInt32 nLine );
1864 const ::rtl::OUString& rSysFileName );
1886 const ::rtl::OUString& rSysFileName,
1944 const ::rtl::OUString& rSysFileName,