Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
dart_pdf
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
David PHAM-VAN
2019-06-27 07:55:44 -0400
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
8c24892d969e473c5d319d55c3197a5c6b7c5c62
8c24892d
1 parent
774b03b9
Increase PDF version to 1.7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
0 deletions
pdf/CHANGELOG.md
pdf/lib/src/catalog.dart
pdf/lib/src/document.dart
pdf/CHANGELOG.md
View file @
8c24892
...
...
@@ -2,6 +2,7 @@
*
Add Document ID
*
Add encryption support
*
Increase PDF version to 1.7
## 1.3.13
...
...
pdf/lib/src/catalog.dart
View file @
8c24892
...
...
@@ -43,6 +43,9 @@ class PdfCatalog extends PdfObject {
void
_prepare
()
{
super
.
_prepare
();
/// the PDF specification version, overrides the header version starting from 1.4
params
[
'/Version'
]
=
PdfStream
.
string
(
'/
${pdfDocument.version}
'
);
params
[
'/Pages'
]
=
pdfPageList
.
ref
();
// the Outlines object
...
...
pdf/lib/src/document.dart
View file @
8c24892
...
...
@@ -89,6 +89,9 @@ class PdfDocument {
/// Object used to encrypt the document
PdfEncryption
encryption
;
/// The PDF specification version
final
String
version
=
'1.7'
;
/// These map the page modes just defined to the pagemodes setting of Pdf.
static
const
List
<
String
>
_PdfPageModes
=
<
String
>[
'/UseNone'
,
...
...
Please
register
or
login
to post a comment