Lines Matching refs:aCacheFile
149 SvFileStream aCacheFile( aCacheFileName, STREAM_READ ); in ImplFontAttrCache() local
150 if( !aCacheFile.IsOpen() ) in ImplFontAttrCache()
155 aCacheFile >> nCacheMagic; in ImplFontAttrCache()
164 aCacheFile.ReadByteString( aFontFileURL, RTL_TEXTENCODING_UTF8 ); in ImplFontAttrCache()
167 aCacheFile.ReadByteString( aDFA.maName, RTL_TEXTENCODING_UTF8 ); in ImplFontAttrCache()
170 aCacheFile >> n; aDFA.meWeight = static_cast<FontWeight>(n); in ImplFontAttrCache()
171 aCacheFile >> n; aDFA.meItalic = static_cast<FontItalic>(n); in ImplFontAttrCache()
172 aCacheFile >> n; aDFA.mePitch = static_cast<FontPitch>(n); in ImplFontAttrCache()
173 aCacheFile >> n; aDFA.meWidthType = static_cast<FontWidth>(n); in ImplFontAttrCache()
174 aCacheFile >> n; aDFA.meFamily = static_cast<FontFamily>(n); in ImplFontAttrCache()
175 aCacheFile >> n; aDFA.mbSymbolFlag = (n != 0); in ImplFontAttrCache()
177 aCacheFile.ReadByteStringLine( aDFA.maStyleName, RTL_TEXTENCODING_UTF8 ); in ImplFontAttrCache()
187 SvFileStream aCacheFile( aCacheFileName, STREAM_WRITE|STREAM_TRUNC ); in ~ImplFontAttrCache() local
188 if ( aCacheFile.IsWritable() ) in ~ImplFontAttrCache()
191 aCacheFile << nCacheMagic; in ~ImplFontAttrCache()
199 aCacheFile.WriteByteString( rFontFileURL, RTL_TEXTENCODING_UTF8 ); in ~ImplFontAttrCache()
200 aCacheFile.WriteByteString( rDFA.maName, RTL_TEXTENCODING_UTF8 ); in ~ImplFontAttrCache()
202 aCacheFile << static_cast<short>(rDFA.meWeight); in ~ImplFontAttrCache()
203 aCacheFile << static_cast<short>(rDFA.meItalic); in ~ImplFontAttrCache()
204 aCacheFile << static_cast<short>(rDFA.mePitch); in ~ImplFontAttrCache()
205 aCacheFile << static_cast<short>(rDFA.meWidthType); in ~ImplFontAttrCache()
206 aCacheFile << static_cast<short>(rDFA.meFamily); in ~ImplFontAttrCache()
207 aCacheFile << static_cast<short>(rDFA.mbSymbolFlag != false); in ~ImplFontAttrCache()
209 aCacheFile.WriteByteStringLine( rDFA.maStyleName, RTL_TEXTENCODING_UTF8 ); in ~ImplFontAttrCache()
215 aCacheFile.WriteByteString( aEmptyStr, RTL_TEXTENCODING_UTF8 ); in ~ImplFontAttrCache()