⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 generator_djvu.h.svn-base

📁 okular
💻 SVN-BASE
字号:
/*************************************************************************** *   Copyright (C) 2006 by Pino Toscano <toscano.pino@tiscali.it>          * *                                                                         * *   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 _DJVU_GENERATOR_H_#define _DJVU_GENERATOR_H_#include "core/generator.h"#include <qvector.h>class KDjVu;class DjVuGenerator : public Generator{    Q_OBJECT    public:        DjVuGenerator( KPDFDocument * doc );        bool loadDocument( const QString & fileName, QVector<KPDFPage*> & pagesVector );        bool closeDocument();        // pixmap generation        bool canGeneratePixmap( bool async );        void generatePixmap( PixmapRequest * request );        // document information        const DocumentInfo * generateDocumentInfo();        const DocumentSynopsis * generateDocumentSynopsis();        // rotation handling        bool supportsRotation() { return true; };        void setOrientation( QVector<KPDFPage*> & pagesVector, int orientation );    private slots:        void djvuPixmapGenerated( int page, const QPixmap & pix );    private:        void loadPages( QVector<KPDFPage*> & pagesVector, int rotation );        KDjVu *m_djvu;        DocumentInfo *m_docInfo;        DocumentSynopsis *m_docSyn;        bool ready;        PixmapRequest *m_request;};#endif

⌨️ 快捷键说明

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