mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-08-22 00:04:14 +02:00
fix
This commit is contained in:
+17
-12
@@ -66,20 +66,25 @@ namespace PdfLinks {
|
||||
const QMap<Diagram *, int> &pageMap,
|
||||
const QString &outputFileName);
|
||||
|
||||
/**
|
||||
Post-process a Qt-generated PDF file: rewrite every "/S /URI" link
|
||||
annotation into a native internal "/S /GoTo" action (page + /FitR or
|
||||
/Fit destination) and rebuild the xref table. No-op if the file has no
|
||||
such annotations.
|
||||
*/
|
||||
void convertUriToGoTo(const QString &pdfPath);
|
||||
/**
|
||||
Post-process a Qt-generated PDF file: rewrite every "/S /URI" link
|
||||
annotation into a native internal "/S /GoTo" action (page + /FitR or
|
||||
/Fit destination) and rebuild the xref table. No-op if the file has no
|
||||
such annotations.
|
||||
*/
|
||||
void convertUriToGoTo(const QString &pdfPath);
|
||||
|
||||
struct ComponentInfo {
|
||||
QString contents;
|
||||
};
|
||||
struct ComponentInfo {
|
||||
QString contents;
|
||||
};
|
||||
|
||||
void convertComponentInfoAnnotations(const QString &pdfPath,
|
||||
const QList<ComponentInfo> &annotations);
|
||||
/**
|
||||
Post-process a Qt-generated PDF file: convert component-info placeholder
|
||||
link annotations (http://componentinfo.local/<N>) into invisible text
|
||||
annotations with the actual component info as /Contents.
|
||||
*/
|
||||
void convertComponentInfoAnnotations(const QString &pdfPath,
|
||||
const QList<ComponentInfo> &annotations);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user