summaryrefslogtreecommitdiff
path: root/vcl/unx/headless
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2008-03-31 12:26:55 +0000
committerKurt Zenker <kz@openoffice.org>2008-03-31 12:26:55 +0000
commitabb0c53efc1465087e1573702450c06d41815874 (patch)
tree9a720782d5e17595cd4ff8ce2a19e16c84106192 /vcl/unx/headless
parent3b8cd58852080fe237bb5f92fcdd5d8ca021de39 (diff)
INTEGRATION: CWS pdffix02 (1.2.102); FILE MERGED
2008/03/04 10:37:44 hdu 1.2.102.3: RESYNC: (1.2-1.3); FILE MERGED 2008/01/24 16:24:19 hdu 1.2.102.2: "#i85554# minor cleanups for PDF export - avoid hardcoded use of 16bit sal_Unicode, especially in interfaces - improve const correctness for subsetting/embedding font candidates 2008/01/24 12:34:07 hdu 1.2.102.1: #i85554# code cleanup to prepare for UCS4 support in PDF export
Diffstat (limited to 'vcl/unx/headless')
-rw-r--r--vcl/unx/headless/svppspgraphics.hxx26
1 files changed, 13 insertions, 13 deletions
diff --git a/vcl/unx/headless/svppspgraphics.hxx b/vcl/unx/headless/svppspgraphics.hxx
index cd47c74fd280..2ee3b1dd7e0f 100644
--- a/vcl/unx/headless/svppspgraphics.hxx
+++ b/vcl/unx/headless/svppspgraphics.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: svppspgraphics.hxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: rt $ $Date: 2008-02-19 15:54:04 $
+ * last change: $Author: kz $ $Date: 2008-03-31 13:26:55 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -90,13 +90,13 @@ public:
sal_Int32* pWidths,
int nGlyphs,
FontSubsetInfo& rInfo );
- static const void* DoGetEmbedFontData( psp::fontID aFont, const sal_Unicode* pUnicodes, sal_Int32* pWidths, FontSubsetInfo& rInfo, long* pDataLen );
+ static const void* DoGetEmbedFontData( psp::fontID aFont, const sal_Ucs* pUnicodes, sal_Int32* pWidths, FontSubsetInfo& rInfo, long* pDataLen );
static void DoFreeEmbedFontData( const void* pData, long nLen );
- static const std::map< sal_Unicode, sal_Int32 >* DoGetFontEncodingVector( psp::fontID aFont, const std::map< sal_Unicode, rtl::OString >** pNonEncoded );
+ static const Ucs2SIntMap* DoGetFontEncodingVector( psp::fontID aFont, const Ucs2OStrMap** pNonEncoded );
static void DoGetGlyphWidths( psp::fontID aFont,
bool bVertical,
- std::vector< sal_Int32 >& rWidths,
- std::map< sal_Unicode, sal_uInt32 >& rUnicodeEnc );
+ Int32Vector& rWidths,
+ Ucs2UIntMap& rUnicodeEnc );
static ImplDevFontAttributes Info2DevFontAttributes( const psp::FastPrintFontInfo& );
static void AnnounceFonts( ImplDevFontList*, const psp::FastPrintFontInfo& );
static FontWidth ToFontWidth (psp::width::type eWidth);
@@ -133,24 +133,24 @@ public:
virtual void GetDevFontSubstList( OutputDevice* );
virtual bool AddTempDevFont( ImplDevFontList*, const String& rFileURL, const String& rFontName );
virtual BOOL CreateFontSubset( const rtl::OUString& rToFile,
- ImplFontData* pFont,
+ const ImplFontData*,
sal_Int32* pGlyphIDs,
sal_uInt8* pEncoding,
sal_Int32* pWidths,
int nGlyphs,
FontSubsetInfo& rInfo
);
- virtual const std::map< sal_Unicode, sal_Int32 >* GetFontEncodingVector( ImplFontData* pFont, const std::map< sal_Unicode, rtl::OString >** ppNonEncoded );
- virtual const void* GetEmbedFontData( ImplFontData* pFont,
- const sal_Unicode* pUnicodes,
+ virtual const Ucs2SIntMap* GetFontEncodingVector( const ImplFontData*, const Ucs2OStrMap** ppNonEncoded );
+ virtual const void* GetEmbedFontData( const ImplFontData*,
+ const sal_Ucs* pUnicodes,
sal_Int32* pWidths,
FontSubsetInfo& rInfo,
long* pDataLen );
virtual void FreeEmbedFontData( const void* pData, long nDataLen );
- virtual void GetGlyphWidths( ImplFontData* pFont,
+ virtual void GetGlyphWidths( const ImplFontData*,
bool bVertical,
- std::vector< sal_Int32 >& rWidths,
- std::map< sal_Unicode, sal_uInt32 >& rUnicodeEnc );
+ Int32Vector& rWidths,
+ Ucs2UIntMap& rUnicodeEnc );
virtual BOOL GetGlyphBoundRect( long nIndex, Rectangle& );
virtual BOOL GetGlyphOutline( long nIndex, ::basegfx::B2DPolyPolygon& );
virtual SalLayout* GetTextLayout( ImplLayoutArgs&, int nFallbackLevel );