/* libpict * Copyright (C) 2011 Fridrich Strba (fridrich.strba@bluewin.ch) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Library General Public License for more details. * * You should have received a copy of the GNU Library General Public * License along with this library; if not, write to the * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02111-1301 USA * */ #ifndef __PICT1PARSER_H__ #define __PICT1PARSER_H__ #include "PictXParser.h" #include "PictBitmap.h" #include #include class Pict1Parser : public PictXParser { public: Pict1Parser(librevenge::RVNGInputStream *input, librevenge::RVNGDrawingInterface *painter); bool parse(); private: void handleNOP(); void handleClipRgn(); void handleBkPat(); void handleTxFont(); void handleTxFace(); void handleTxMode(); void handleSpExtra(); void handlePnSize(); void handlePnMode(); void handlePnPat(); void handleThePat(); void handleOwSize(); void handleOrigin(); void handleTxSize(); void handleFgColor(); void handleBkColor(); void handleTxRatio(); void handlePicVersion(); void handleLine(); void handleLineFrom(); void handleShortLine(); void handleShortLineFrom(); void handleLongText(); void handleDHText(); void handleDVText(); void handleDHDVText(); void handleFrameRect(); void handlePaintRect(); void handleEraseRect(); void handleInvertRect(); void handleFillRect(); void handleFrameSameRect(); void handlePaintSameRect(); void handleEraseSameRect(); void handleInvertSameRect(); void handleFillSameRect(); void handleFrameRRect(); void handlePaintRRect(); void handleEraseRRect(); void handleInvertRRect(); void handleFillRRect(); void handleFrameSameRRect(); void handlePaintSameRRect(); void handleEraseSameRRect(); void handleInvertSameRRect(); void handleFillSameRRect(); void handleFrameOval(); void handlePaintOval(); void handleEraseOval(); void handleInsertOval(); void handleFillOval(); void handleFrameSameOval(); void handlePaintSameOval(); void handleEraseSameOval(); void handleInsertSameOval(); void handleFillSameOval(); void handleFrameArc(); void handlePaintArc(); void handleEraseArc(); void handleInsertArc(); void handleFillArc(); void handleFrameSameArc(); void handlePaintSameArc(); void handleEraseSameArc(); void handleInsertSameArc(); void handleFillSameArc(); void handleFramePoly(); void handlePaintPoly(); void handleErasePoly(); void handleInvertPoly(); void handleFillPoly(); void handleFrameSamePoly(); void handlePaintSamePoly(); void handleEraseSamePoly(); void handleInvertSamePoly(); void handleFillSamePoly(); void handleFrameRgn(); void handlePaintRgn(); void handleEraseRgn(); void handleInvertRgn(); void handleFillRgn(); void handleFrameSameRgn(); void handlePaintSameRgn(); void handleEraseSameRgn(); void handleInvertSameRgn(); void handleFillSameRgn(); void handleBitsRect(); void handleBitsRgn(); void handlePackBitsRect(); void handlePackBitsRgn(); void handleShortComment(); void handleLongComment(); void handleEndOfPicture(); void _handlePackBitsData(); void _handlePictureComment(); int m_recordSize; }; #endif // __PICT1PARSER_H__