diff options
author | Oliver Bolte <obo@openoffice.org> | 2004-03-15 11:09:35 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2004-03-15 11:09:35 +0000 |
commit | 33bd3a48a69dec55da166bf31c4481d726b85b9c (patch) | |
tree | 31985d7c960f189facdb296617f402be1416c68d /psprint/inc | |
parent | 9b350ee7a198f4b8322f0af6f2d9afcc66fbcd13 (diff) |
INTEGRATION: CWS fontconfig (1.4.40); FILE MERGED
2003/08/20 17:58:33 pl 1.4.40.1: #i8144# add fontconfig support
Diffstat (limited to 'psprint/inc')
-rw-r--r-- | psprint/inc/psprint/helper.hxx | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/psprint/inc/psprint/helper.hxx b/psprint/inc/psprint/helper.hxx index 4550f54d6083..e52da72211b4 100644 --- a/psprint/inc/psprint/helper.hxx +++ b/psprint/inc/psprint/helper.hxx @@ -2,9 +2,9 @@ * * $RCSfile: helper.hxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: hr $ $Date: 2004-02-02 18:52:52 $ + * last change: $Author: obo $ $Date: 2004-03-15 12:09:35 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -77,15 +77,21 @@ namespace osl { class File; } namespace psp { typedef int fontID; -const ::rtl::OUString& getPrinterPath(); +const rtl::OUString& getPrinterPath(); void getPrinterPathList( std::list< rtl::OUString >& rPathList, const char* pSubDir ); -const ::rtl::OUString& getFontPath(); +const rtl::OUString& getFontPath(); -bool convertPfbToPfa( ::osl::File& rInFile, ::osl::File& rOutFile ); +bool convertPfbToPfa( osl::File& rInFile, osl::File& rOutFile ); + +// normalized path (equivalent to realpath) +void normPath( rtl::OString& rPath ); + +// splits rOrgPath into dirname and basename +// rOrgPath will be subject to normPath +void splitPath( rtl::OString& rOrgPath, rtl::OString& rDir, rtl::OString& rBase ); enum whichOfficePath { NetPath, UserPath }; const rtl::OUString& getOfficePath( enum whichOfficePath ePath ); - } // namespace #endif // _PSPRINT_HELPER_HXX_ |