generator_kimgio.h

来自「okular」· C头文件 代码 · 共 44 行

H
44
字号
/*************************************************************************** *   Copyright (C) 2005 by Albert Astals Cid <tsdgeos@terra.es>            * *                                                                         * *   This program is free software; you can redistribute it and/or modify  * *   it under the terms of the GNU General Public License as published by  * *   the Free Software Foundation; either version 2 of the License, or     * *   (at your option) any later version.                                   * ***************************************************************************/#ifndef _OKULAR_GENERATOR_KIMGIO_H_#define _OKULAR_GENERATOR_KIMGIO_H_#include "core/generator.h"class KIMGIOGenerator : public Generator{    Q_OBJECT    public:        KIMGIOGenerator( KPDFDocument * document );        virtual ~KIMGIOGenerator();        // [INHERITED] load a document and fill up the pagesVector        bool loadDocument( const QString & fileName, QVector<KPDFPage*> & pagesVector );        bool closeDocument();        // [INHERITED] perform actions on document / pages        bool canGeneratePixmap( bool async );        void generatePixmap( PixmapRequest * request );//        bool hasFonts() const;        // [INHERITED] rotation capability        bool supportsRotation() { return true; };        void setOrientation(QVector<KPDFPage*> & pagesVector, int orientation);        // [INHERITED] print document using already configured kprinter        bool print( KPrinter& printer );    private:        QPixmap *m_pix;};#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?