添加链接
link之家
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
QPDF inpdfa; inpdfa.processFile( " D:\\aaaa.tmp " ); std::vector <QPDFObjectHandle> apages= inpdfa.getAllPages(); for (std::vector<QPDFObjectHandle>::iterator iter = apages.begin(); iter != apages.end(); ++ iter) outpdf.addPage( *iter, false ); QPDF inpdfb; inpdfb.processFile( " D:\\bbbb.tmp " ); std::vector <QPDFObjectHandle> bpages = inpdfb.getAllPages(); for (std::vector<QPDFObjectHandle>::iterator iter = bpages.begin(); iter != bpages.end(); ++ iter) outpdf.addPage( *iter, false ); QPDFWriter outpdfw(outpdf, " D:\\cccc.pdf " ); outpdfw.write();