diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-12-08 18:09:45 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-12-10 09:28:16 +0000 |
commit | d0b590fe19b45e2248adff22c6fe61a4049a7db8 (patch) | |
tree | 36ff9d9f0a7799595062d70c262395abea2400c5 /editeng/inc | |
parent | 993dae8a904b07b6db2b8854feae353f42836c5a (diff) |
callcatcher: remove unused rtf filter and associated methods
update and remove newly unused code, mostly original rtf filter
Change-Id: I2dd302851ee6fad62d79fbc81cb8a61a861396db
Diffstat (limited to 'editeng/inc')
-rw-r--r-- | editeng/inc/editeng/svxrtf.hxx | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/editeng/inc/editeng/svxrtf.hxx b/editeng/inc/editeng/svxrtf.hxx index 59336d46fb0f..84c00a28634b 100644 --- a/editeng/inc/editeng/svxrtf.hxx +++ b/editeng/inc/editeng/svxrtf.hxx @@ -99,44 +99,6 @@ struct SvxRTFStyleType }; -// Bitmap - Mode -typedef ::std::vector< ::std::pair< ::rtl::OUString, ::rtl::OUString > > PictPropertyNameValuePairs; -struct EDITENG_DLLPUBLIC SvxRTFPictureType -{ - // Bitmap Format - enum RTF_BMPSTYLE - { - RTF_BITMAP, // Meta data: Bitmap - WIN_METAFILE, // Meta data: Window-Metafile - MAC_QUICKDRAW, // Meta data: Mac-QuickDraw - OS2_METAFILE, // Meta data: OS2-Metafile - RTF_DI_BMP, // Meta data: Device Independent Bitmap - ENHANCED_MF, // Meta data: Enhanced-Metafile - RTF_PNG, // Meta data: PNG file - RTF_JPG // Meta data: JPG file - } eStyle; - - enum RTF_BMPMODE - { - BINARY_MODE, - HEX_MODE - } nMode; - - sal_uInt16 nType; - sal_uInt32 uPicLen; - sal_uInt16 nWidth, nHeight; - sal_uInt16 nGoalWidth, nGoalHeight; - sal_uInt16 nBitsPerPixel; - sal_uInt16 nPlanes; - sal_uInt16 nWidthBytes; - sal_uInt16 nScalX, nScalY; - short nCropT, nCropB, nCropL, nCropR; - PictPropertyNameValuePairs aPropertyPairs; - SvxRTFPictureType() { ResetValues(); } - // Reset all values to default; is called after loading the Bitmap - void ResetValues(); -}; - // Here are the IDs for all character attributes, which can be detected by // SvxParser and can be set in a SfxItemSet. The IDs are set correctly throught // the SlotIds from POOL. @@ -359,15 +321,6 @@ protected: const String& GetBaseURL() const { return sBaseURL; } - // Read the graphics data and make up for the graphics and the picture - // meta data. - // Return - sal_True: the graphic is valid - sal_Bool ReadBmpData( Graphic& rGrf, SvxRTFPictureType& rPicType ); - // Change the ASCII-HexCodes into binary characters. If invalid data is - // found (strings not 0-9 | a-f | A-F, then USHRT_MAX is returned, - // otherwise the number of the converted character. - xub_StrLen HexToBin( String& rToken ); - public: virtual SvParserState CallParser(); |