diff --git a/PDFNetPHP/PDFNetPHP.i b/PDFNetPHP/PDFNetPHP.i index 2239b9d3..920ac79f 100644 --- a/PDFNetPHP/PDFNetPHP.i +++ b/PDFNetPHP/PDFNetPHP.i @@ -123,6 +123,10 @@ // header files in /PDFNetC/Headers/PDF/PDFA #include "PDF/PDFA/PDFACompliance.h" #include "PDF/PDFA/PDFAOptions.h" + + // header files in /PDFNetC/Headers/PDF/PDFUA + #include "PDF/PDFUA/PDFUAConformance.h" + #include "PDF/PDFUA/PDFUAOptions.h" // header files in /PDFNetC/Headers/PDF/Struct #include "PDF/Struct/AttrObj.h" @@ -266,6 +270,7 @@ namespace std { %template(VectorUChar) vector; %template(VectorChar) vector; %template(VectorInt) vector; + %template(VectorUInt) vector; //%template(VectorString) vector; %template(VectorRedaction) vector; %template(VectorQuadPoint) vector; @@ -277,6 +282,13 @@ namespace std { %template(VectorX509Certificate) vector; %template(VectorByteRange) vector; %template(VectorVectorX509Certificate) vector >; + +// Update: we obviously can't use PyInt_Check etc functions. TODO: find/write replacements in each language +// // note that the c-style cast (to ValidationError) is pretty hax, +// // only works because the lexicographical replacement works out in SWIG's generator impl. +// // I'm not actually sure what the best way is to do more complex logic, declare a function? +// specialize_std_vector(pdftron::PDF::PDFUA::PDFUAConformance::ValidationError, PyInt_Check, (pdftron::PDF::PDFUA::PDFUAConformance::ValidationError)PyInt_AsLong, PyInt_FromLong); + %template(VectorValidationError) vector; }; /** @@ -1018,6 +1030,8 @@ namespace pdftron { %include "PDF/OCG/OCMD.h" %include "PDF/PDFA/PDFAOptions.h" %include "PDF/PDFA/PDFACompliance.h" +%include "PDF/PDFUA/PDFUAConformance.h" +%include "PDF/PDFUA/PDFUAOptions.h" %include "PDF/Struct/AttrObj.h" %include "PDF/Struct/ClassMap.h" %include "PDF/Struct/ContentItem.h" diff --git a/PDFNetPython/PDFNetPython.i b/PDFNetPython/PDFNetPython.i index 63a89f38..a0b3ace8 100644 --- a/PDFNetPython/PDFNetPython.i +++ b/PDFNetPython/PDFNetPython.i @@ -116,6 +116,10 @@ // header files in /PDFNetC/Headers/PDF/PDFA #include "PDF/PDFA/PDFACompliance.h" #include "PDF/PDFA/PDFAOptions.h" + + // header files in /PDFNetC/Headers/PDF/PDFUA + #include "PDF/PDFUA/PDFUAConformance.h" + #include "PDF/PDFUA/PDFUAOptions.h" // header files in /PDFNetC/Headers/PDF/Struct #include "PDF/Struct/AttrObj.h" @@ -262,6 +266,7 @@ namespace std { %template(VectorUChar) vector; %template(VectorChar) vector; %template(VectorInt) vector; + %template(VectorUInt) vector; %template(VectorString) vector; %template(VectorRedaction) vector; %template(VectorQuadPoint) vector; @@ -273,6 +278,12 @@ namespace std { %template(VectorX501AttributeTypeAndValue) vector; %template(VectorByteRange) vector; %template(VectorVectorX509Certificate) vector >; + + // note that the c-style cast (to ValidationError) is pretty hax, + // only works because the lexicographical replacement works out in SWIG's generator impl. + // I'm not actually sure what the best way is to do more complex logic, declare a function? + specialize_std_vector(pdftron::PDF::PDFUA::PDFUAConformance::ValidationError, PyInt_Check, (pdftron::PDF::PDFUA::PDFUAConformance::ValidationError)PyInt_AsLong, PyInt_FromLong); + %template(VectorValidationError) vector; }; /** @@ -867,6 +878,8 @@ namespace pdftron { %include "PDF/OCG/OCMD.h" %include "PDF/PDFA/PDFAOptions.h" %include "PDF/PDFA/PDFACompliance.h" +%include "PDF/PDFUA/PDFUAConformance.h" +%include "PDF/PDFUA/PDFUAOptions.h" %include "PDF/Struct/AttrObj.h" %include "PDF/Struct/ClassMap.h" %include "PDF/Struct/ContentItem.h" diff --git a/PDFNetRuby/PDFNetRuby.i b/PDFNetRuby/PDFNetRuby.i index b1c53668..c228eef4 100644 --- a/PDFNetRuby/PDFNetRuby.i +++ b/PDFNetRuby/PDFNetRuby.i @@ -104,9 +104,13 @@ #include "PDF/OCG/Group.h" #include "PDF/OCG/OCMD.h" - // header files in /PDFNetC/Headers/PDF/PDfA + // header files in /PDFNetC/Headers/PDF/PDFA #include "PDF/PDFA/PDFACompliance.h" #include "PDF/PDFA/PDFAOptions.h" + + // header files in /PDFNetC/Headers/PDF/PDFUA + #include "PDF/PDFUA/PDFUAConformance.h" + #include "PDF/PDFUA/PDFUAOptions.h" // header files in /PDFNetC/Headers/PDF/Struct #include "PDF/Struct/AttrObj.h" @@ -248,6 +252,7 @@ namespace std { %template(VectorUChar) vector; %template(VectorChar) vector; %template(VectorInt) vector; + %template(VectorUInt) vector; %template(VectorString) vector; %template(VectorRedaction) vector; %template(VectorQuadPoint) vector; @@ -259,6 +264,13 @@ namespace std { %template(VectorX509Certificate) vector; %template(VectorByteRange) vector; %template(VectorVectorX509Certificate) vector >; + +// Update: we obviously can't use PyInt_Check etc functions. TODO: find/write replacements in each language +// // note that the c-style cast (to ValidationError) is pretty hax, +// // only works because the lexicographical replacement works out in SWIG's generator impl. +// // I'm not actually sure what the best way is to do more complex logic, declare a function? +// specialize_std_vector(pdftron::PDF::PDFUA::PDFUAConformance::ValidationError, PyInt_Check, (pdftron::PDF::PDFUA::PDFUAConformance::ValidationError)PyInt_AsLong, PyInt_FromLong); + %template(VectorValidationError) vector; }; /** @@ -802,6 +814,8 @@ namespace pdftron { %include "PDF/OCG/OCMD.h" %include "PDF/PDFA/PDFAOptions.h" %include "PDF/PDFA/PDFACompliance.h" +%include "PDF/PDFUA/PDFUAConformance.h" +%include "PDF/PDFUA/PDFUAOptions.h" %include "PDF/Struct/AttrObj.h" %include "PDF/Struct/ClassMap.h" %include "PDF/Struct/ContentItem.h" diff --git a/PDFTronGo/pdftron.i b/PDFTronGo/pdftron.i index 1c0c8352..7815ce85 100644 --- a/PDFTronGo/pdftron.i +++ b/PDFTronGo/pdftron.i @@ -79,6 +79,10 @@ // header files in /PDFNetC/Headers/PDF/PDFA #include "PDF/PDFA/PDFACompliance.h" #include "PDF/PDFA/PDFAOptions.h" + + // header files in /PDFNetC/Headers/PDF/PDFUA + #include "PDF/PDFUA/PDFUAConformance.h" + #include "PDF/PDFUA/PDFUAOptions.h" // header files in /PDFNetC/Headers/PDF/Struct #include "PDF/Struct/AttrObj.h" @@ -236,6 +240,7 @@ namespace std { %template(VectorUChar) vector; %template(VectorChar) vector; %template(VectorInt) vector; + %template(VectorUInt) vector; %template(VectorString) vector; %template(VectorRedaction) vector; %template(VectorQuadPoint) vector; @@ -247,6 +252,13 @@ namespace std { %template(VectorX501AttributeTypeAndValue) vector; %template(VectorByteRange) vector; %template(VectorVectorX509Certificate) vector >; + +// Update: we obviously can't use PyInt_Check etc functions. TODO: find/write replacements in each language +// // note that the c-style cast (to ValidationError) is pretty hax, +// // only works because the lexicographical replacement works out in SWIG's generator impl. +// // I'm not actually sure what the best way is to do more complex logic, declare a function? +// specialize_std_vector(pdftron::PDF::PDFUA::PDFUAConformance::ValidationError, PyInt_Check, (pdftron::PDF::PDFUA::PDFUAConformance::ValidationError)PyInt_AsLong, PyInt_FromLong); + %template(VectorValidationError) vector; }; /** @@ -430,6 +442,8 @@ namespace pdftron { %include "PDF/OCG/OCMD.h" %include "PDF/PDFA/PDFAOptions.h" %include "PDF/PDFA/PDFACompliance.h" +%include "PDF/PDFUA/PDFUAConformance.h" +%include "PDF/PDFUA/PDFUAOptions.h" %include "PDF/Struct/AttrObj.h" %include "PDF/Struct/ClassMap.h" %include "PDF/Struct/ContentItem.h" diff --git a/jenkinsfiles/build_win_go.groovy b/jenkinsfiles/build_win_go.groovy index 45559c05..c32d5fc8 100644 --- a/jenkinsfiles/build_win_go.groovy +++ b/jenkinsfiles/build_win_go.groovy @@ -14,8 +14,6 @@ pipeline { GOCACHE = "/tmp/.cache" } - triggers { cron(cron_string) } - parameters { string(name: "FORCE_BRANCH_VERSION", defaultValue: "" , description: "Set to a version if you wish to change the core SDK version used.")