-
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #326 from Fdawgs/feat/win32-21.10.0
- Loading branch information
Showing
485 changed files
with
236 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
12 changes: 0 additions & 12 deletions
12
src/lib/win32/poppler-21.09.0/Library/lib/pkgconfig/poppler-cpp.pc
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
src/lib/win32/poppler-21.09.0/Library/lib/pkgconfig/poppler-glib.pc
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
src/lib/win32/poppler-21.09.0/Library/lib/pkgconfig/poppler.pc
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file not shown.
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file renamed
BIN
+222 KB
...2/poppler-21.09.0/Library/bin/libssh2.dll → ...2/poppler-21.10.0/Library/bin/libssh2.dll
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file renamed
BIN
+20 KB
...poppler-21.09.0/Library/bin/pdfattach.exe → ...poppler-21.10.0/Library/bin/pdfattach.exe
Binary file not shown.
Binary file renamed
BIN
+24.5 KB
...poppler-21.09.0/Library/bin/pdfdetach.exe → ...poppler-21.10.0/Library/bin/pdfdetach.exe
Binary file not shown.
Binary file renamed
BIN
+22 KB
.../poppler-21.09.0/Library/bin/pdffonts.exe → .../poppler-21.10.0/Library/bin/pdffonts.exe
Binary file not shown.
Binary file renamed
BIN
+47.5 KB
...poppler-21.09.0/Library/bin/pdfimages.exe → ...poppler-21.10.0/Library/bin/pdfimages.exe
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+20.5 KB
...ppler-21.09.0/Library/bin/pdfseparate.exe → ...ppler-21.10.0/Library/bin/pdfseparate.exe
Binary file not shown.
Binary file renamed
BIN
+117 KB
...oppler-21.09.0/Library/bin/pdftocairo.exe → ...oppler-21.10.0/Library/bin/pdftocairo.exe
Binary file not shown.
Binary file renamed
BIN
+101 KB
...poppler-21.09.0/Library/bin/pdftohtml.exe → ...poppler-21.10.0/Library/bin/pdftohtml.exe
Binary file not shown.
Binary file renamed
BIN
+44.5 KB
.../poppler-21.09.0/Library/bin/pdftoppm.exe → .../poppler-21.10.0/Library/bin/pdftoppm.exe
Binary file not shown.
Binary file renamed
BIN
+42.5 KB
...2/poppler-21.09.0/Library/bin/pdftops.exe → ...2/poppler-21.10.0/Library/bin/pdftops.exe
Binary file not shown.
Binary file renamed
BIN
+55.5 KB
...poppler-21.09.0/Library/bin/pdftotext.exe → ...poppler-21.10.0/Library/bin/pdftotext.exe
Binary file not shown.
Binary file renamed
BIN
+34 KB
.../poppler-21.09.0/Library/bin/pdfunite.exe → .../poppler-21.10.0/Library/bin/pdfunite.exe
Binary file not shown.
Binary file renamed
BIN
+151 KB
...ppler-21.09.0/Library/bin/poppler-cpp.dll → ...ppler-21.10.0/Library/bin/poppler-cpp.dll
Binary file not shown.
Binary file not shown.
Binary file not shown.
File renamed without changes.
Binary file renamed
BIN
+83 KB
...in32/poppler-21.09.0/Library/bin/zlib.dll → ...in32/poppler-21.10.0/Library/bin/zlib.dll
Binary file not shown.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
68 changes: 68 additions & 0 deletions
68
src/lib/win32/poppler-21.10.0/Library/include/poppler/AnnotStampImageHelper.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
//======================================================================== | ||
// | ||
// AnnotStampImageHelper.h | ||
// | ||
// Copyright (C) 2021 Mahmoud Ahmed Khalil <mahmoudkhalil11@gmail.com> | ||
// Copyright (C) 2021 Albert Astals Cid <aacid@kde.org> | ||
// | ||
// Licensed under GPLv2 or later | ||
// | ||
//======================================================================== | ||
|
||
#ifndef ANNOTSTAMPIMAGEHELPER_H | ||
#define ANNOTSTAMPIMAGEHELPER_H | ||
|
||
#include "Object.h" | ||
|
||
class PDFDoc; | ||
|
||
enum ColorSpace | ||
{ | ||
DeviceGray, | ||
DeviceRGB, | ||
DeviceCMYK | ||
}; | ||
|
||
/** | ||
* This class is used only to load Image XObjects into stamp annotations. It takes in | ||
* the image parameters in its constructors and creates a new Image XObject that gets | ||
* added to the XRef table, so that the annotations that would like to use it be able | ||
* to get its ref number. | ||
* | ||
* To have transparency in the image, you should first try to create the soft | ||
* mask of the image, by creating a AnnotStampImageHelper object giving it the soft | ||
* image data normally. You would then need to pass in the created soft mask Image XObject | ||
* ref to the actual image you'd like to be created by this helper class. | ||
*/ | ||
class POPPLER_PRIVATE_EXPORT AnnotStampImageHelper | ||
{ | ||
public: | ||
AnnotStampImageHelper(PDFDoc *docA, int widthA, int heightA, ColorSpace colorSpace, int bitsPerComponent, char *data, int dataLength); | ||
AnnotStampImageHelper(PDFDoc *docA, int widthA, int heightA, ColorSpace colorSpace, int bitsPerComponent, char *data, int dataLength, Ref softMaskRef); | ||
~AnnotStampImageHelper() { } | ||
|
||
// Returns the ref to the created Image XObject | ||
Ref getRef() const { return ref; } | ||
|
||
// Returns the width of the image | ||
int getWidth() const { return width; } | ||
// Returns the height of the image | ||
int getHeight() const { return height; } | ||
|
||
// Removes the created Image XObject as well as its soft mask from the XRef Table | ||
void removeAnnotStampImageObject(); | ||
|
||
private: | ||
void initialize(PDFDoc *docA, int widthA, int heightA, ColorSpace colorSpace, int bitsPerComponent, char *data, int dataLength); | ||
|
||
PDFDoc *doc; | ||
|
||
Object imgObj; | ||
Ref ref; | ||
Ref sMaskRef; | ||
|
||
int width; | ||
int height; | ||
}; | ||
|
||
#endif |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.