Lines Matching refs:rContent
172 void AddEmbeddedElement( sal_Int32 nFormatPos, const rtl::OUString& rContent );
827 void lcl_EnquoteIfNecessary( rtl::OUStringBuffer& rContent, const SvXMLNumFormatContext& rParent ) in lcl_EnquoteIfNecessary() argument
830 sal_Int32 nLength = rContent.getLength(); in lcl_EnquoteIfNecessary()
833 lcl_ValidChar( rContent.charAt(0), rParent ) ) || in lcl_EnquoteIfNecessary()
835 lcl_ValidChar( rContent.charAt(0), rParent ) && in lcl_EnquoteIfNecessary()
836 rContent.charAt(1) == ' ' ) ) in lcl_EnquoteIfNecessary()
847 rtl::OUString aString( rContent.getStr() ); in lcl_EnquoteIfNecessary()
853 if ( nPos + 2 == nLength && lcl_ValidChar( rContent.charAt(nPos + 1), rParent ) ) in lcl_EnquoteIfNecessary()
860 rContent.insert( nPos + 1, (sal_Unicode) '"' ); in lcl_EnquoteIfNecessary()
861 rContent.append( (sal_Unicode) '"' ); in lcl_EnquoteIfNecessary()
866 if ( nPos == 1 && lcl_ValidChar( rContent.charAt(0), rParent ) ) in lcl_EnquoteIfNecessary()
873 rContent.insert( nPos, (sal_Unicode) '"' ); in lcl_EnquoteIfNecessary()
874 rContent.insert( 0, (sal_Unicode) '"' ); in lcl_EnquoteIfNecessary()
885 rtl::OUString aString( rContent.getStr() ); in lcl_EnquoteIfNecessary()
894 while ( nPos < rContent.getLength() ) in lcl_EnquoteIfNecessary()
896 if ( rContent.charAt( nPos ) == (sal_Unicode) '"' ) in lcl_EnquoteIfNecessary()
898 rContent.insert( nPos, aInsert ); in lcl_EnquoteIfNecessary()
906 rContent.insert( 0, (sal_Unicode) '"' ); in lcl_EnquoteIfNecessary()
907 rContent.append( (sal_Unicode) '"' ); in lcl_EnquoteIfNecessary()
912 if ( rContent.getLength() > 2 && in lcl_EnquoteIfNecessary()
913 rContent.charAt(0) == (sal_Unicode) '"' && in lcl_EnquoteIfNecessary()
914 rContent.charAt(1) == (sal_Unicode) '"' ) in lcl_EnquoteIfNecessary()
916 String aTrimmed( rContent.makeStringAndClear().copy(2) ); in lcl_EnquoteIfNecessary()
917 rContent = rtl::OUStringBuffer( aTrimmed ); in lcl_EnquoteIfNecessary()
920 sal_Int32 nLen = rContent.getLength(); in lcl_EnquoteIfNecessary()
922 rContent.charAt(nLen-1) == (sal_Unicode) '"' && in lcl_EnquoteIfNecessary()
923 rContent.charAt(nLen-2) == (sal_Unicode) '"' ) in lcl_EnquoteIfNecessary()
925 String aTrimmed( rContent.makeStringAndClear().copy( 0, nLen - 2 ) ); in lcl_EnquoteIfNecessary()
926 rContent = rtl::OUStringBuffer( aTrimmed ); in lcl_EnquoteIfNecessary()
1052 …vXMLNumFmtElementContext::AddEmbeddedElement( sal_Int32 nFormatPos, const rtl::OUString& rContent ) in AddEmbeddedElement() argument
1054 if ( rContent.getLength() ) in AddEmbeddedElement()
1056 SvXMLEmbeddedElement* pObj = new SvXMLEmbeddedElement( nFormatPos, rContent ); in AddEmbeddedElement()
1068 pObj->aText += rContent; in AddEmbeddedElement()
2008 void SvXMLNumFormatContext::AddCurrency( const rtl::OUString& rContent, LanguageType nLang ) in AddCurrency() argument
2011 OUString aSymbol = rContent; in AddCurrency()