Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
92f997e
* Update to chromium/4194
ahausladen Aug 22, 2020
d7df697
* Update to chromium/4243
ahausladen Aug 26, 2020
2ea24d3
Fixed #10
ahausladen Sep 9, 2020
cdbd92f
Added TPdfDocumentVclPrinter class to print PDF documents
ahausladen Oct 22, 2020
29eb1f7
- PrintTextWithGDI handling changed
ahausladen Oct 23, 2020
7f88c1e
Fixed #13
ahausladen Oct 23, 2020
338250b
Call GetPrinterDC after PrinterStartDoc, otherwise we get a different…
ahausladen Oct 26, 2020
66f585f
Added TPdfDocumentVclPrinter.PrintDocument helper function
ahausladen Oct 30, 2020
2e04d23
Fix painting bug with selected text in a form field
ahausladen Oct 30, 2020
429c57d
Chrome/Edge use crHandPoint for ComboBox
ahausladen Oct 30, 2020
f3092f2
Fixed: Text selection wasn't disabled while selecting in a form field
ahausladen Oct 30, 2020
4ceeb71
Fixed: Copy&Paste&Cut keyboard shortcuts didn't work in form fields.
ahausladen Oct 30, 2020
419f1b8
Use new FPDF_GetPageSizeByIndexF instead of old FPDF_GetPageSizeByIndex
ahausladen Nov 7, 2020
0737d17
Added missing "PDF events" for save and print
ahausladen Dec 24, 2020
2596e8a
Added page border and drop shadow.
gmurt Sep 24, 2021
e612a27
Merge branch 'gmurt-master'
ahausladen Sep 24, 2021
f9be25c
Moved border and shadow code to own method and made it optional with …
ahausladen Sep 24, 2021
37685d4
Fixed #19. CurrentPage could return NIL causing an access violation
ahausladen Oct 7, 2021
a546dcf
Updated to chromium/4660
ahausladen Oct 7, 2021
c3e924c
Added TPdfDocument.CreateNPagesOnOnePageDocument, ImportAllPages, Imp…
ahausladen Oct 7, 2021
612104f
Updated to chromium/4915
ahausladen Mar 5, 2022
97f4913
Update README.md
ahausladen Mar 5, 2022
3cb9763
* Updated to chromium/5052
ahausladen May 10, 2022
7455f8e
* Updated to chromium/5744
ahausladen May 5, 2023
6e9fb9a
Update README.md
ahausladen May 5, 2023
1de38e3
Fixed pdfium download link
ahausladen May 5, 2023
bb57335
Fix missing function import
ahausladen May 7, 2023
dfda36e
FormField Annotations
ahausladen May 7, 2023
54ae707
Change page on mousescrolling
landrix May 9, 2023
31e87d5
- Adjusted code style
ahausladen May 10, 2023
1f19462
Merge branch 'landrix-master'
ahausladen May 10, 2023
5b68775
Add missing pointer for FPDFAction_GetType to ImportFuncs
DoctorChicky Jul 6, 2023
fb66db3
Merge pull request #33 from DoctorChicky/master
ahausladen Jul 6, 2023
b239954
Fix #28
ahausladen Oct 3, 2023
0cc1544
Fix #28
ahausladen Oct 3, 2023
e94f594
Fix issue #35
ahausladen Oct 3, 2023
20eae51
Use default (white) background in the example
ahausladen Oct 3, 2023
93c59bc
Initial FreePascal/LCL support (Windows only)
ahausladen Oct 3, 2023
bb9f9ce
Updated to chromium/6043
ahausladen Oct 3, 2023
8f346d0
Fixed #36
ahausladen Dec 23, 2023
8650bdc
Fixed #29: Added experimental Page.Annotations.NewTextAnnotation() me…
ahausladen Dec 23, 2023
cbb9273
- Added link annotation handling (URI, Goto, RemoteGoto, Launch, Embe…
ahausladen Dec 23, 2023
4670f00
TPdfDocument.LoadFromFile() got a new LoadOption (dloDefault) and use…
ahausladen Dec 24, 2023
2683542
- Added ExecuteNamedAction handler
ahausladen Dec 24, 2023
ce6bf29
- Refactored Annotation Link and WebLink code
ahausladen Dec 24, 2023
e015854
Fix Win32 compilation
ahausladen Dec 24, 2023
00385a3
Fixed #38
ahausladen Dec 25, 2023
84a64df
FPC (Windows) compatibility
ahausladen Jan 1, 2024
669505d
solved memory leak
DomenicoMammola Jan 15, 2024
9e1a2f9
Merge pull request #39 from DomenicoMammola/memoryleak
ahausladen Jan 15, 2024
b387283
Merge branch 'master' of https://github.com/ahausladen/PdfiumLib
ahausladen Jan 15, 2024
7f7a1b8
Update README.md
ahausladen Jan 15, 2024
5fe5596
Merge branch 'master' of https://github.com/ahausladen/PdfiumLib
ahausladen Jan 15, 2024
af2e142
Fixed #40: Text selection with 90° clockwise and 180° rotation
ahausladen Feb 10, 2024
b9487a5
Updated to chromium/6611
ahausladen Aug 3, 2024
571f193
* Fixed FPC (LCL) key events in form fields
ahausladen Aug 3, 2024
9493664
Fixes #47: Added AddHightlightText() method to allow multiple highlig…
ahausladen Nov 18, 2024
c0d3409
Fix typos in comment
ahausladen Nov 18, 2024
5450731
* Updated to chromium/7242 / PDFium 139.0.7242.0
ahausladen Jun 20, 2025
3ce2cc9
Fix: TPdfPage.Draw ignored X and Y parameter
ahausladen Jun 20, 2025
c3d5f57
support 'FPDFAnnot_SetFormFieldFlags' API
hermannoffen Jan 21, 2026
0b8ca07
Merge pull request #50 from HKSInformatik/use-FPDFAnnot_SetFormFieldF…
ahausladen Jan 21, 2026
b926ac4
fix: Remove unused local variable
ahausladen Jan 21, 2026
985e2a4
fix: Mouse Cursor crIBeam vs. crDefault if text box is focused
ahausladen May 30, 2026
a7f8ac6
Updated to chromium/7857 / PDFium 150.0.7857.0
ahausladen May 30, 2026
b275517
Updated to chromium/7857 / PDFium 150.0.7857.0
ahausladen May 30, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
186 changes: 117 additions & 69 deletions Example/MainFrm.dfm
Original file line number Diff line number Diff line change
Expand Up @@ -3,92 +3,134 @@ object frmMain: TfrmMain
Top = 0
Caption = 'PDFium Test'
ClientHeight = 647
ClientWidth = 655
ClientWidth = 780
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
OldCreateOrder = False
OldCreateOrder = True
OnCreate = FormCreate
PixelsPerInch = 96
TextHeight = 13
object btnPrev: TButton
object ListViewAttachments: TListView
Left = 0
Top = 0
Width = 75
Height = 25
Caption = '<'
Top = 600
Width = 780
Height = 47
Align = alBottom
Columns = <>
TabOrder = 0
OnClick = btnPrevClick
ViewStyle = vsList
Visible = False
OnDblClick = ListViewAttachmentsDblClick
end
object btnNext: TButton
Left = 72
object pnlButtons: TPanel
Left = 0
Top = 0
Width = 75
Width = 780
Height = 25
Caption = '>'
Align = alTop
BevelOuter = bvNone
TabOrder = 1
OnClick = btnNextClick
end
object btnCopy: TButton
Left = 153
Top = 0
Width = 75
Height = 25
Caption = 'Highlight'
TabOrder = 2
OnClick = btnCopyClick
end
object btnScale: TButton
Left = 225
Top = 0
Width = 75
Height = 25
Caption = 'Scale'
TabOrder = 3
OnClick = btnScaleClick
end
object chkLCDOptimize: TCheckBox
Left = 378
Top = 4
Width = 79
Height = 17
Caption = 'LCDOptimize'
TabOrder = 4
OnClick = chkLCDOptimizeClick
end
object chkSmoothScroll: TCheckBox
Left = 458
Top = 4
Width = 87
Height = 17
Caption = 'SmoothScroll'
TabOrder = 5
OnClick = chkSmoothScrollClick
end
object edtZoom: TSpinEdit
Left = 544
Top = 2
Width = 49
Height = 22
MaxValue = 10000
MinValue = 1
TabOrder = 6
Value = 100
OnChange = edtZoomChange
end
object btnPrint: TButton
Left = 297
Top = 0
Width = 75
Height = 25
Caption = 'Print'
TabOrder = 7
OnClick = btnPrintClick
object btnAddAnnotation: TButton
Left = 318
Top = 0
Width = 50
Height = 25
Caption = 'Annot'
TabOrder = 5
OnClick = btnAddAnnotationClick
end
object btnHighlight: TButton
Left = 156
Top = 0
Width = 56
Height = 25
Caption = 'Highlight'
TabOrder = 2
OnClick = btnHighlightClick
end
object btnNext: TButton
Left = 75
Top = 0
Width = 75
Height = 25
Caption = '>'
TabOrder = 0
OnClick = btnNextClick
end
object btnPrev: TButton
Left = 0
Top = 0
Width = 75
Height = 25
Caption = '<'
TabOrder = 1
OnClick = btnPrevClick
end
object btnPrint: TButton
Left = 268
Top = 0
Width = 50
Height = 25
Caption = 'Print'
TabOrder = 4
OnClick = btnPrintClick
end
object btnScale: TButton
Left = 212
Top = 0
Width = 56
Height = 25
Caption = 'Scale'
TabOrder = 3
OnClick = btnScaleClick
end
object chkChangePageOnMouseScrolling: TCheckBox
Left = 599
Top = 4
Width = 162
Height = 17
Caption = 'ChangePageOnMouseScrolling'
TabOrder = 9
OnClick = chkChangePageOnMouseScrollingClick
end
object chkLCDOptimize: TCheckBox
Left = 378
Top = 4
Width = 79
Height = 17
Caption = 'LCDOptimize'
TabOrder = 6
OnClick = chkLCDOptimizeClick
end
object chkSmoothScroll: TCheckBox
Left = 458
Top = 4
Width = 87
Height = 17
Caption = 'SmoothScroll'
TabOrder = 7
OnClick = chkSmoothScrollClick
end
object edtZoom: TSpinEdit
Left = 544
Top = 2
Width = 49
Height = 22
MaxValue = 10000
MinValue = 1
TabOrder = 8
Value = 100
OnChange = edtZoomChange
end
end
object PrintDialog1: TPrintDialog
MinPage = 1
MaxPage = 10
Options = [poPageNums]
Left = 96
Top = 32
end
Expand All @@ -99,4 +141,10 @@ object frmMain: TfrmMain
Left = 32
Top = 32
end
object SaveDialog1: TSaveDialog
Options = [ofOverwritePrompt, ofHideReadOnly, ofPathMustExist, ofCreatePrompt, ofEnableSizing]
Title = 'Save attachment'
Left = 160
Top = 32
end
end
Loading