Skip to content

Commit 8074d2e

Browse files
Merge pull request #71 from datalogics/develop
sync main with develop for Release 18.0.5PlusP1t
2 parents 51dbe22 + bbf0318 commit 8074d2e

File tree

743 files changed

+61798
-464
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

743 files changed

+61798
-464
lines changed

.gitignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -376,6 +376,9 @@ MigrationBackup/
376376
# Fody - auto-generated XML schema
377377
FodyWeavers.xsd
378378

379+
# Mac DS_Store files
380+
.DS_Store
381+
379382
# VS Code files for those working on multiple tools
380383
.vscode/*
381384
!.vscode/settings.json
@@ -396,3 +399,9 @@ FodyWeavers.xsd
396399

397400
# JetBrains Rider
398401
*.sln.iml
402+
403+
# DL Py Environment
404+
.mkenv
405+
python-env-*
406+
requirements.txt
407+
build/

All/All_DatalogicsFE_64Bit.sln

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 16
4+
VisualStudioVersion = 16.0.34407.143
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{E606CC40-638C-466D-B7B0-851F3B1910A4}"
7+
EndProject
8+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ConvertXFAToAcroForms", "..\Forms\ConvertXFAToAcroForms\ConvertXFAToAcroForms.vcxproj", "{17E5E1FD-6C0D-4E9D-9C66-D69535EB4E7E}"
9+
EndProject
10+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ExportFormsData", "..\Forms\ExportFormsData\ExportFormsData.vcxproj", "{47B7A87F-9FE6-4CBE-8B0B-E27C3DB744FD}"
11+
EndProject
12+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "FlattenForms", "..\Forms\FlattenForms\FlattenForms.vcxproj", "{50887C2C-5033-4DB4-81F5-969ED71D2FAE}"
13+
EndProject
14+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ImportFormsData", "..\Forms\ImportFormsData\ImportFormsData.vcxproj", "{97E29BC9-8182-4967-AB54-A4078AAD44E8}"
15+
EndProject
16+
Global
17+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
18+
Debug|x64 = Debug|x64
19+
Release|x64 = Release|x64
20+
EndGlobalSection
21+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
22+
{17E5E1FD-6C0D-4E9D-9C66-D69535EB4E7E}.Debug|x64.ActiveCfg = Debug|x64
23+
{17E5E1FD-6C0D-4E9D-9C66-D69535EB4E7E}.Debug|x64.Build.0 = Debug|x64
24+
{17E5E1FD-6C0D-4E9D-9C66-D69535EB4E7E}.Release|x64.ActiveCfg = Release|x64
25+
{17E5E1FD-6C0D-4E9D-9C66-D69535EB4E7E}.Release|x64.Build.0 = Release|x64
26+
{47B7A87F-9FE6-4CBE-8B0B-E27C3DB744FD}.Debug|x64.ActiveCfg = Debug|x64
27+
{47B7A87F-9FE6-4CBE-8B0B-E27C3DB744FD}.Debug|x64.Build.0 = Debug|x64
28+
{47B7A87F-9FE6-4CBE-8B0B-E27C3DB744FD}.Release|x64.ActiveCfg = Release|x64
29+
{47B7A87F-9FE6-4CBE-8B0B-E27C3DB744FD}.Release|x64.Build.0 = Release|x64
30+
{50887C2C-5033-4DB4-81F5-969ED71D2FAE}.Debug|x64.ActiveCfg = Debug|x64
31+
{50887C2C-5033-4DB4-81F5-969ED71D2FAE}.Debug|x64.Build.0 = Debug|x64
32+
{50887C2C-5033-4DB4-81F5-969ED71D2FAE}.Release|x64.ActiveCfg = Release|x64
33+
{50887C2C-5033-4DB4-81F5-969ED71D2FAE}.Release|x64.Build.0 = Release|x64
34+
{97E29BC9-8182-4967-AB54-A4078AAD44E8}.Debug|x64.ActiveCfg = Debug|x64
35+
{97E29BC9-8182-4967-AB54-A4078AAD44E8}.Debug|x64.Build.0 = Debug|x64
36+
{97E29BC9-8182-4967-AB54-A4078AAD44E8}.Release|x64.ActiveCfg = Release|x64
37+
{97E29BC9-8182-4967-AB54-A4078AAD44E8}.Release|x64.Build.0 = Release|x64
38+
EndGlobalSection
39+
GlobalSection(SolutionProperties) = preSolution
40+
HideSolutionNode = FALSE
41+
EndGlobalSection
42+
GlobalSection(NestedProjects) = preSolution
43+
{17E5E1FD-6C0D-4E9D-9C66-D69535EB4E7E} = {E606CC40-638C-466D-B7B0-851F3B1910A4}
44+
{47B7A87F-9FE6-4CBE-8B0B-E27C3DB744FD} = {E606CC40-638C-466D-B7B0-851F3B1910A4}
45+
{50887C2C-5033-4DB4-81F5-969ED71D2FAE} = {E606CC40-638C-466D-B7B0-851F3B1910A4}
46+
{97E29BC9-8182-4967-AB54-A4078AAD44E8} = {E606CC40-638C-466D-B7B0-851F3B1910A4}
47+
EndGlobalSection
48+
GlobalSection(ExtensibilityGlobals) = postSolution
49+
SolutionGuid = {50D6E5E5-3BED-48BC-A481-6C77CAF90908}
50+
EndGlobalSection
51+
EndGlobal

All/All_Datalogics_32Bit.sln

Lines changed: 495 additions & 0 deletions
Large diffs are not rendered by default.

All/All_Datalogics_64Bit.sln

Lines changed: 495 additions & 0 deletions
Large diffs are not rendered by default.

All/All_Datalogics_ARM64.sln

Lines changed: 489 additions & 0 deletions
Large diffs are not rendered by default.

All/GNUmakefile

Lines changed: 161 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,161 @@
1+
# Makefile to build DL samples
2+
3+
ifeq ($(OS), )
4+
PLATFORM = $(shell uname)
5+
MACHINE = $(shell uname -m)
6+
BUILD_64_BIT=true
7+
ifeq ($(PLATFORM), Linux)
8+
ifeq ($(MACHINE), x86_64)
9+
OS=i80386linux
10+
endif
11+
ifeq ($(MACHINE), aarch64)
12+
OS=armv8linux
13+
endif
14+
endif
15+
ifeq ($(PLATFORM), Darwin)
16+
ifeq ($(MACHINE), x86_64)
17+
OS=mac-x86-64
18+
endif
19+
ifeq ($(MACHINE), arm64)
20+
OS=armv8mac
21+
endif
22+
endif
23+
ifeq ($(PLATFORM), AIX)
24+
OS=rs6000aix
25+
endif
26+
ifeq ($(PLATFORM), SunOS)
27+
OS=sparcsolaris
28+
endif
29+
endif
30+
31+
32+
do_pdfl_samples: build_pdfl_samples run_pdfl_samples $(REDIRECT2)
33+
34+
SAMPLES = Annotations/CreateAnnotations \
35+
Annotations/FlattenAnnotations \
36+
ContentCreation/AddArt \
37+
ContentCreation/AddAttachments \
38+
ContentCreation/AddContent \
39+
ContentCreation/AddHeaderFooter \
40+
ContentCreation/CreateBookmarks \
41+
ContentCreation/CreateDocument \
42+
ContentCreation/CreateLayers \
43+
ContentCreation/CreateTransparency \
44+
ContentExtraction/CopyContent \
45+
ContentExtraction/ExtractAttachments \
46+
ContentExtraction/ExtractFonts \
47+
ContentModification/AddBookmarks \
48+
ContentModification/AddQRCode \
49+
ContentModification/AddDocumentInformation \
50+
ContentModification/AddLinks \
51+
ContentModification/AddPageNumbers \
52+
ContentModification/AddTextWatermark \
53+
ContentModification/AttachMimeToPDF \
54+
ContentModification/EmbedFonts \
55+
ContentModification/FlattenTransparency \
56+
ContentModification/ImportPages \
57+
ContentModification/MergeAcroforms \
58+
ContentModification/MergeDocuments \
59+
ContentModification/PDFMakeOCGVisible \
60+
ContentModification/PDFUncompress \
61+
ContentModification/SplitPDF \
62+
Display/DisplayPDEContent \
63+
DocumentConversion/ConvertPDFtoEPS \
64+
DocumentConversion/ConvertToOffice \
65+
DocumentConversion/ConvertPDFtoPostscript \
66+
DocumentConversion/ConvertToPDFA \
67+
DocumentConversion/ConvertToPDFX \
68+
DocumentOptimization/PDFOptimizer \
69+
FileSystem/AlternateFileSystem \
70+
Images/AddThumbnailsToPDF \
71+
Images/CalcImageDPI \
72+
Images/CreateImageWithTransparency \
73+
Images/CreateSeparations \
74+
Images/FindImageResolutions \
75+
Images/ImageExport \
76+
Images/ImageImport \
77+
Images/OutputPreview \
78+
Images/RenderPage \
79+
InformationExtraction/CountColorsInDoc \
80+
InformationExtraction/ExtractDocumentInfo \
81+
Printing/PostScriptInjection \
82+
Security/AddDigitalSignature \
83+
Security/AddPassword \
84+
Security/AddRedaction \
85+
Security/AddRegexRedaction \
86+
Security/AddTriangularRedaction \
87+
Security/AESEncryption \
88+
Security/EncryptDocument \
89+
Security/LockDocument \
90+
Security/OpenEncrypted \
91+
Security/SetUniquePermissions \
92+
Text/AddText \
93+
Text/ExtractAcroFormFieldData \
94+
Text/ExtractCJKTextByPatternMatch \
95+
Text/ExtractText \
96+
Text/ExtractTextByPatternMatch \
97+
Text/ExtractTextByRegion \
98+
Text/ExtractTextFromAnnotations \
99+
Text/ExtractTextFromMultiRegions \
100+
Text/ExtractTextPreservingStyleAndPositionInfo \
101+
Text/HelloJapan \
102+
Text/InsertHeadFoot \
103+
Text/RegexTextSearch \
104+
Text/RegexExtractText \
105+
Text/TextSearch \
106+
Text/TextSelectEnum \
107+
Text/UnicodeText
108+
109+
ifeq ($(findstring rs6000aix,$(OS)), )
110+
ifeq ($(findstring mac,$(OS)), )
111+
SAMPLES += DocumentConversion/XPStoPDF
112+
endif
113+
endif
114+
115+
PATH_TO_FORMS = ../Forms
116+
ifneq ("$(wildcard $(PATH_TO_FORMS))","")
117+
SAMPLES += Forms/ConvertXFAToAcroForms
118+
SAMPLES += Forms/ExportFormsData
119+
SAMPLES += Forms/FlattenForms
120+
SAMPLES += Forms/ImportFormsData
121+
endif
122+
123+
BUILD_ONLY_SAMPLES = $(SAMPLES)
124+
125+
ifneq ($(findstring mac,$(OS)), )
126+
BUILD_ONLY_SAMPLES += Printing/PDFPrintDefault
127+
BUILD_ONLY_SAMPLES += Printing/PDFPrintGUI
128+
endif
129+
130+
build_pdfl_samples:
131+
$(info OS=$(OS))
132+
$(info BUILD_64_BIT=$(BUILD_64_BIT))
133+
set -e; \
134+
export OS=$(OS) \
135+
export BUILD_64_BIT=$(BUILD_64_BIT) \
136+
export; \
137+
for target in $(BUILD_ONLY_SAMPLES); do \
138+
(cd ../$$target && $(MAKE)); \
139+
done;
140+
141+
ifeq ($(LIBPATHS),)
142+
LIBPATHS=../../../Binaries
143+
endif
144+
145+
run_pdfl_samples:
146+
set -e; \
147+
export LD_LIBRARY_PATH=$(LIBPATHS):$$LD_LIBRARY_PATH; \
148+
export; \
149+
for target in $(SAMPLES); do \
150+
echo "Running DL Sample $$target"; \
151+
export NAME=`echo "$$target" | cut -d'/' -f 2`; \
152+
(cd ../$$target && (./$$NAME $(REDIRECT))) ;\
153+
echo ; \
154+
done; \
155+
echo ;
156+
157+
clean:
158+
rm -f *.o *.out out.* ../dlutils/*.o; \
159+
for target in $(BUILD_ONLY_SAMPLES); do \
160+
(cd ../$$target && $(MAKE) clean); \
161+
done;

0 commit comments

Comments
 (0)