Qt pdf文件操作

qt对于pdf文件操作,包括pdf文件合并;pdf里面页面重组新的pdf;pdf信息获取;接口如下所示:

#pragma once

#include <QObject>

#include "filetransformhandle_global.h"

class FILETRANSFORMHANDLE_EXPORT PdfFileOperatorHandle : public QObject

{

Q_OBJECT

public:

PdfFileOperatorHandle();

~PdfFileOperatorHandle();

// 指定目录所有pdf合并

bool pdfAllMerge(const QString& strSourceDir, const QString& strDesFilePath);

// 多个pdf合并

bool pdfMerge(QStringList lstFilePath, const QString& strDesFilePath);

// pdf取指定页面 例如1 2 3 重新组合成新的文件

bool pdfExtractAppointPages(const QString& strSourcePath, const QString& strDesFilePath, QStringList lstPages);

// pdf取指定页面 例如5-到末页 重新组合成新的文件

bool pdfExtractAppointToEndPages(const QString& strSourcePath, const QString& strDesFilePath, QStringList lstPages);

// pdf信息

bool pdfDumpInfoToTxt(const QString& strSourcePath, const QString& strDesFilePath);

bool runCommand(const QString& strParam);

private:

void _run(const QString& strParam);

private:

QString m_strError;

};

相关推荐
xcyxiner2 小时前
DicomViewer (添加模型类)3
qt
xcyxiner20 小时前
DicomViewer (目录调整) 2
qt
xcyxiner1 天前
dcmtk vtk vtk-dicom(gdcm) 编译(debug) v2
qt
桥田智能3 天前
桥田智能 QT-650S:面向白车身焊装的 800kg 重载快换解决方案
开发语言·qt·系统架构
weixin_397574093 天前
PDF复杂表格的1:1还原引擎:跨页表格自动拼接技术实战
大数据·人工智能·pdf
Metaphor6923 天前
使用 Python 将 PDF 转换为 HTML
python·pdf·html
2601_961845153 天前
粉笔行测5000题电子版|pdf|解析
pdf·新媒体运营·github·个人开发·内容运营·规格说明书·极限编程
森G3 天前
75、服务器源码解析---------云视频服务项目
linux·服务器·网络·c++·qt
Sour3 天前
PDF翻译卡住不动怎么办?扫描件、OCR 和大文件排查清单
前端·pdf·ocr
森G3 天前
77、线程池原理和实现------服务器源码解析----云视频服务项目
服务器·c++·qt