Skip to content

Commit

Permalink
Updated for 2.1.0 (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ramzi authored May 10, 2023
1 parent cc4fafd commit af22de7
Show file tree
Hide file tree
Showing 18 changed files with 3,045 additions and 2,795 deletions.
2 changes: 0 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
module github.com/pdftron/pdftron-go/v2

go 1.15

require golang.org/x/text v0.8.0
1,455 changes: 759 additions & 696 deletions pdftron_darwin_arm64.go

Large diffs are not rendered by default.

1,455 changes: 759 additions & 696 deletions pdftron_darwin_x86_64.go

Large diffs are not rendered by default.

1,455 changes: 759 additions & 696 deletions pdftron_linux.go

Large diffs are not rendered by default.

1,455 changes: 759 additions & 696 deletions pdftron_windows.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion samples/AnnotationTest/Annotation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ func CreateTestAnnots(doc PDFDoc){
line.SetContents( "Inline Caption" )
line.SetShowCaption(true)
line.SetCaptionPosition( &LineAnnotE_Inline )
line.SetLeaderLineExtensionLength( -4. )
line.SetLeaderLineExtensionLength( 4. )
line.SetLeaderLineLength( -12. )
line.SetLeaderLineOffset( 2. )
line.RefreshAppearance()
Expand Down
8 changes: 4 additions & 4 deletions samples/DataExtractionTest/DataExtraction_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ func init() {
// extract various types of data from PDF documents.
//
// The PDFTron SDK Data Extraction suite can be downloaded from
// https://www.pdftron.com/documentation/core/info/modules/
// https://docs.apryse.com/documentation/core/info/modules/
//
// Please contact us if you have any questions.
//---------------------------------------------------------------------------------------
Expand Down Expand Up @@ -73,7 +73,7 @@ func TabularDataTest() (err error) {
fmt.Println("Unable to run Data Extraction: PDFTron SDK Tabular Data module not available.")
fmt.Println("-----------------------------------------------------------------------------")
fmt.Println("The Data Extraction suite is an optional add-on, available for download")
fmt.Println("at https://www.pdftron.com/documentation/core/info/modules/. If you have already")
fmt.Println("at https://docs.apryse.com/documentation/core/info/modules/. If you have already")
fmt.Println("downloaded this module, ensure that the SDK is able to find the required files")
fmt.Println("using the PDFNetAddResourceSearchPath() function.")
fmt.Println("")
Expand Down Expand Up @@ -139,7 +139,7 @@ func DocumentStructureTest() (err error) {
fmt.Println("Unable to run Data Extraction: PDFTron SDK Structured Output module not available.")
fmt.Println("-----------------------------------------------------------------------------")
fmt.Println("The Data Extraction suite is an optional add-on, available for download")
fmt.Println("at https://www.pdftron.com/documentation/core/info/modules/. If you have already")
fmt.Println("at https://docs.apryse.com/documentation/core/info/modules/. If you have already")
fmt.Println("downloaded this module, ensure that the SDK is able to find the required files")
fmt.Println("using the PDFNetAddResourceSearchPath() function.")
fmt.Println("")
Expand Down Expand Up @@ -181,7 +181,7 @@ func FormFieldsTest() (err error) {
fmt.Println("Unable to run Data Extraction: PDFTron SDK AIFormFieldExtractor module not available.")
fmt.Println("-----------------------------------------------------------------------------")
fmt.Println("The Data Extraction suite is an optional add-on, available for download")
fmt.Println("at https://www.pdftron.com/documentation/core/info/modules/. If you have already")
fmt.Println("at https://docs.apryse.com/documentation/core/info/modules/. If you have already")
fmt.Println("downloaded this module, ensure that the SDK is able to find the required files")
fmt.Println("using the PDFNetAddResourceSearchPath() function.")
fmt.Println("")
Expand Down
Loading

0 comments on commit af22de7

Please sign in to comment.