INTEGRATION: CWS pdffix02 (1.2.102); FILE MERGED

2008/03/04 10:37:35 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
This commit is contained in:
Kurt Zenker 2008-03-31 12:26:27 +00:00
parent 3645fd49bb
commit dec2890df3

View file

@ -4,9 +4,9 @@
*
* $RCSfile: svpgdi.hxx,v $
*
* $Revision: 1.3 $
* $Revision: 1.4 $
*
* last change: $Author: rt $ $Date: 2008-02-19 15:52:49 $
* last change: $Author: kz $ $Date: 2008-03-31 13:26:27 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@ -109,24 +109,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 );