mirror of
https://github.com/qpdf/qpdf.git
synced 2024-12-22 19:08:59 +00:00
Spell check
This commit is contained in:
parent
bf8fd41fee
commit
18340b8835
@ -1,7 +1,7 @@
|
|||||||
2021-01-04 Jay Berkenbilt <ejb@ql.org>
|
2021-01-04 Jay Berkenbilt <ejb@ql.org>
|
||||||
|
|
||||||
* When qpdf CLI extracts pages, it now only attempts to remove
|
* When qpdf CLI extracts pages, it now only attempts to remove
|
||||||
unreferenced resourecs from the pages that it is keeping. This
|
unreferenced resources from the pages that it is keeping. This
|
||||||
change dramatically reduces the time it takes to extract a small
|
change dramatically reduces the time it takes to extract a small
|
||||||
number of pages from a large, complex file.
|
number of pages from a large, complex file.
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
// is no such filter in PDF, so the streams created by the example
|
// is no such filter in PDF, so the streams created by the example
|
||||||
// would not be usable by any PDF reader. However, the techniques here
|
// would not be usable by any PDF reader. However, the techniques here
|
||||||
// would work if you were going to implement support for a filter that
|
// would work if you were going to implement support for a filter that
|
||||||
// qpdf does not support natively. For example, using the techinques
|
// qpdf does not support natively. For example, using the techniques
|
||||||
// shown here, it would be possible to create an application that
|
// shown here, it would be possible to create an application that
|
||||||
// downsampled or re-encoded images or that re-compressed streams
|
// downsampled or re-encoded images or that re-compressed streams
|
||||||
// using a more efficient "deflate" implementation than zlib.
|
// using a more efficient "deflate" implementation than zlib.
|
||||||
@ -85,7 +85,7 @@ class SF_XORDecode: public QPDFStreamFilter
|
|||||||
// validate and interpret decode parameters (/DecodeParms) for the
|
// validate and interpret decode parameters (/DecodeParms) for the
|
||||||
// made-up /XORDecode stream filter. Since this is not a real
|
// made-up /XORDecode stream filter. Since this is not a real
|
||||||
// stream filter, no actual PDF reader would know how to interpret
|
// stream filter, no actual PDF reader would know how to interpret
|
||||||
// it. This is just to illlustrate how to create a stream filter.
|
// it. This is just to illustrate how to create a stream filter.
|
||||||
// In main(), we call QPDF::registerStreamFilter to tell the
|
// In main(), we call QPDF::registerStreamFilter to tell the
|
||||||
// library about the filter. See comments in QPDFStreamFilter.hh
|
// library about the filter. See comments in QPDFStreamFilter.hh
|
||||||
// for details on how to implement the methods. For purposes of
|
// for details on how to implement the methods. For purposes of
|
||||||
@ -260,7 +260,7 @@ StreamReplacer::maybeReplace(QPDFObjGen const& og,
|
|||||||
// necessary setup. When we are actually ready to supply the data,
|
// necessary setup. When we are actually ready to supply the data,
|
||||||
// this method is called again with pipeline populated and
|
// this method is called again with pipeline populated and
|
||||||
// dict_updates as a nullptr. In this mode, we are not allowed to
|
// dict_updates as a nullptr. In this mode, we are not allowed to
|
||||||
// change anything, sincing writing is already in progress. We
|
// change anything, since writing is already in progress. We
|
||||||
// must simply provide the stream data.
|
// must simply provide the stream data.
|
||||||
|
|
||||||
// The return value indicates whether or not we should replace the
|
// The return value indicates whether or not we should replace the
|
||||||
|
@ -39,7 +39,7 @@ class QPDF_DLL_CLASS QPDFStreamFilter
|
|||||||
// setDecodeParms() and getDecodePipeline(). QPDF will always call
|
// setDecodeParms() and getDecodePipeline(). QPDF will always call
|
||||||
// setDecodeParms() before calling getDecodePipeline(). It is
|
// setDecodeParms() before calling getDecodePipeline(). It is
|
||||||
// expected that you will store any needed information from
|
// expected that you will store any needed information from
|
||||||
// decode_parms (or the decode_parms object iself) in your
|
// decode_parms (or the decode_parms object itself) in your
|
||||||
// instance so that it can be used to construct the decode
|
// instance so that it can be used to construct the decode
|
||||||
// pipeline.
|
// pipeline.
|
||||||
|
|
||||||
|
48
ispell-words
48
ispell-words
@ -119,6 +119,7 @@ argExternalizeInlineImages
|
|||||||
argfile
|
argfile
|
||||||
argFilteredStreamData
|
argFilteredStreamData
|
||||||
argFlattenAnnotations
|
argFlattenAnnotations
|
||||||
|
argFlattenRotation
|
||||||
argForceVersion
|
argForceVersion
|
||||||
argGenerateAppearances
|
argGenerateAppearances
|
||||||
argHelp
|
argHelp
|
||||||
@ -277,6 +278,7 @@ bookinfo
|
|||||||
bool
|
bool
|
||||||
BoringSSL
|
BoringSSL
|
||||||
BORLANDC
|
BORLANDC
|
||||||
|
boxkey
|
||||||
bp
|
bp
|
||||||
BPC
|
BPC
|
||||||
bpp
|
bpp
|
||||||
@ -397,6 +399,7 @@ commandline
|
|||||||
COMP
|
COMP
|
||||||
compareVersions
|
compareVersions
|
||||||
compatbility
|
compatbility
|
||||||
|
completionCommon
|
||||||
CompressConfig
|
CompressConfig
|
||||||
computeDeterministicIDData
|
computeDeterministicIDData
|
||||||
concat
|
concat
|
||||||
@ -428,6 +431,7 @@ CreateFile
|
|||||||
createPageContents
|
createPageContents
|
||||||
createWhat
|
createWhat
|
||||||
CreationDate
|
CreationDate
|
||||||
|
cred
|
||||||
cregex
|
cregex
|
||||||
CRNL
|
CRNL
|
||||||
CropBox
|
CropBox
|
||||||
@ -558,8 +562,11 @@ doFinalChecks
|
|||||||
Dohnal
|
Dohnal
|
||||||
DOTLESS
|
DOTLESS
|
||||||
doubleBoxSize
|
doubleBoxSize
|
||||||
|
downsampled
|
||||||
|
downsampler
|
||||||
doWrite
|
doWrite
|
||||||
doWriteSetup
|
doWriteSetup
|
||||||
|
DoXOR
|
||||||
Doxygen
|
Doxygen
|
||||||
dp
|
dp
|
||||||
DQPDF
|
DQPDF
|
||||||
@ -707,6 +714,7 @@ filetrailer
|
|||||||
filterability
|
filterability
|
||||||
filterAsContents
|
filterAsContents
|
||||||
filterCompressedObjects
|
filterCompressedObjects
|
||||||
|
filterContents
|
||||||
filterp
|
filterp
|
||||||
filterPageContents
|
filterPageContents
|
||||||
findAndSkipNextEOL
|
findAndSkipNextEOL
|
||||||
@ -732,6 +740,7 @@ flarp
|
|||||||
flate
|
flate
|
||||||
Flate's
|
Flate's
|
||||||
FlateDecode
|
FlateDecode
|
||||||
|
FlateLzwDecode
|
||||||
flattenAnnotations
|
flattenAnnotations
|
||||||
flattenAnnotationsForPage
|
flattenAnnotationsForPage
|
||||||
flattenPagesTree
|
flattenPagesTree
|
||||||
@ -750,6 +759,10 @@ forcePDFVersion
|
|||||||
ForceR
|
ForceR
|
||||||
ForceV
|
ForceV
|
||||||
foreach
|
foreach
|
||||||
|
forEachFormXObject
|
||||||
|
forEachImage
|
||||||
|
ForEachImage
|
||||||
|
forEachXObject
|
||||||
ForeignStreamData
|
ForeignStreamData
|
||||||
FormatMessageA
|
FormatMessageA
|
||||||
fp
|
fp
|
||||||
@ -826,6 +839,7 @@ getCount
|
|||||||
getCropBox
|
getCropBox
|
||||||
getDA
|
getDA
|
||||||
getDataChecksum
|
getDataChecksum
|
||||||
|
getDecodePipeline
|
||||||
getDefaultAppearance
|
getDefaultAppearance
|
||||||
getDefaultProvider
|
getDefaultProvider
|
||||||
getDefaultValue
|
getDefaultValue
|
||||||
@ -850,6 +864,7 @@ getFileChecksum
|
|||||||
GetFileInformationByHandle
|
GetFileInformationByHandle
|
||||||
getFilename
|
getFilename
|
||||||
getFilePosition
|
getFilePosition
|
||||||
|
getFilterOnWrite
|
||||||
getFinalVersion
|
getFinalVersion
|
||||||
getFirstChar
|
getFirstChar
|
||||||
getFlags
|
getFlags
|
||||||
@ -857,6 +872,7 @@ getFontFromResource
|
|||||||
getFontName
|
getFontName
|
||||||
getFormFields
|
getFormFields
|
||||||
getFormXObjectForPage
|
getFormXObjectForPage
|
||||||
|
getFormXObjects
|
||||||
getFullyQualifiedName
|
getFullyQualifiedName
|
||||||
getGen
|
getGen
|
||||||
getGeneration
|
getGeneration
|
||||||
@ -864,6 +880,7 @@ getHeight
|
|||||||
getHexDigest
|
getHexDigest
|
||||||
getId
|
getId
|
||||||
getIdentifier
|
getIdentifier
|
||||||
|
getImages
|
||||||
getImpl
|
getImpl
|
||||||
getInheritableFieldValue
|
getInheritableFieldValue
|
||||||
getInheritableFieldValueAsName
|
getInheritableFieldValueAsName
|
||||||
@ -1091,6 +1108,7 @@ ImageC
|
|||||||
ImageChecker
|
ImageChecker
|
||||||
ImageInverter
|
ImageInverter
|
||||||
ImageMask
|
ImageMask
|
||||||
|
imagemask
|
||||||
ImageOptimizer
|
ImageOptimizer
|
||||||
ImageProvider
|
ImageProvider
|
||||||
img
|
img
|
||||||
@ -1163,12 +1181,15 @@ isDictionary
|
|||||||
isdigit
|
isdigit
|
||||||
isDirectNull
|
isDirectNull
|
||||||
isEncrypted
|
isEncrypted
|
||||||
|
isFormXObject
|
||||||
isIgnorable
|
isIgnorable
|
||||||
|
isImage
|
||||||
isIndirect
|
isIndirect
|
||||||
isInitialized
|
isInitialized
|
||||||
isInlineImage
|
isInlineImage
|
||||||
isInteger
|
isInteger
|
||||||
isLinearized
|
isLinearized
|
||||||
|
isLossyCompression
|
||||||
isMatrix
|
isMatrix
|
||||||
isName
|
isName
|
||||||
isNull
|
isNull
|
||||||
@ -1189,6 +1210,7 @@ isReserved
|
|||||||
isScalar
|
isScalar
|
||||||
isspace
|
isspace
|
||||||
isSpace
|
isSpace
|
||||||
|
isSpecializedCompression
|
||||||
isStream
|
isStream
|
||||||
isString
|
isString
|
||||||
isText
|
isText
|
||||||
@ -1202,6 +1224,7 @@ iter
|
|||||||
ith
|
ith
|
||||||
iz
|
iz
|
||||||
jarr
|
jarr
|
||||||
|
JBIG
|
||||||
JCS
|
JCS
|
||||||
JDIMENSION
|
JDIMENSION
|
||||||
jdouble
|
jdouble
|
||||||
@ -1233,6 +1256,7 @@ keybits
|
|||||||
keylen
|
keylen
|
||||||
KEYLENGTH
|
KEYLENGTH
|
||||||
keyset
|
keyset
|
||||||
|
KeyStream
|
||||||
kgdl
|
kgdl
|
||||||
LARGEFILE
|
LARGEFILE
|
||||||
LastChar
|
LastChar
|
||||||
@ -1334,6 +1358,7 @@ makeNumber
|
|||||||
makePipeline
|
makePipeline
|
||||||
makeReal
|
makeReal
|
||||||
makeString
|
makeString
|
||||||
|
Mal
|
||||||
malloc
|
malloc
|
||||||
manualFinish
|
manualFinish
|
||||||
mappingname
|
mappingname
|
||||||
@ -1342,6 +1367,7 @@ Mateusz
|
|||||||
maxEnd
|
maxEnd
|
||||||
maxlen
|
maxlen
|
||||||
maxval
|
maxval
|
||||||
|
maybeReplace
|
||||||
md
|
md
|
||||||
mdash
|
mdash
|
||||||
MDd
|
MDd
|
||||||
@ -1439,6 +1465,7 @@ nitems
|
|||||||
nkids
|
nkids
|
||||||
nl
|
nl
|
||||||
nlines
|
nlines
|
||||||
|
nlohmann
|
||||||
nmatches
|
nmatches
|
||||||
nMatches
|
nMatches
|
||||||
NoBackref
|
NoBackref
|
||||||
@ -1535,6 +1562,7 @@ OptionEntry
|
|||||||
ord
|
ord
|
||||||
org
|
org
|
||||||
orig
|
orig
|
||||||
|
OrigLength
|
||||||
orred
|
orred
|
||||||
os
|
os
|
||||||
oss
|
oss
|
||||||
@ -1582,7 +1610,9 @@ param
|
|||||||
params
|
params
|
||||||
parms
|
parms
|
||||||
parseable
|
parseable
|
||||||
|
parseAsContents
|
||||||
parsecontent
|
parsecontent
|
||||||
|
parseContents
|
||||||
parseContentStream
|
parseContentStream
|
||||||
parsedoffset
|
parsedoffset
|
||||||
ParseGuard
|
ParseGuard
|
||||||
@ -1614,6 +1644,7 @@ pdfdoc
|
|||||||
PDFDoc
|
PDFDoc
|
||||||
PDFDocEncoding
|
PDFDocEncoding
|
||||||
pdfDumpInfoDict
|
pdfDumpInfoDict
|
||||||
|
PDFEx
|
||||||
PDFs
|
PDFs
|
||||||
pdfs
|
pdfs
|
||||||
pdh
|
pdh
|
||||||
@ -1630,6 +1661,7 @@ phe
|
|||||||
php
|
php
|
||||||
pikepdf
|
pikepdf
|
||||||
pikepdf's
|
pikepdf's
|
||||||
|
pipeContents
|
||||||
pipeContentStreams
|
pipeContentStreams
|
||||||
pipeForeignStreamData
|
pipeForeignStreamData
|
||||||
PipelineAccessor
|
PipelineAccessor
|
||||||
@ -1694,6 +1726,7 @@ programlisting
|
|||||||
programmatically
|
programmatically
|
||||||
ProgressReporter
|
ProgressReporter
|
||||||
Projet
|
Projet
|
||||||
|
ProtectXOR
|
||||||
prov
|
prov
|
||||||
provideRandomData
|
provideRandomData
|
||||||
provideStreamData
|
provideStreamData
|
||||||
@ -1722,6 +1755,7 @@ pytest
|
|||||||
qarray
|
qarray
|
||||||
QArray
|
QArray
|
||||||
qbilt
|
qbilt
|
||||||
|
qdata
|
||||||
qdf
|
qdf
|
||||||
qdf's
|
qdf's
|
||||||
QdfFixer
|
QdfFixer
|
||||||
@ -1735,6 +1769,7 @@ QIntC
|
|||||||
ql
|
ql
|
||||||
qnumbers
|
qnumbers
|
||||||
QNumbers
|
QNumbers
|
||||||
|
qoh
|
||||||
qp
|
qp
|
||||||
qpdf
|
qpdf
|
||||||
qpdf's
|
qpdf's
|
||||||
@ -1773,6 +1808,7 @@ qpdfs
|
|||||||
QPDFSomethingDocumentHelper
|
QPDFSomethingDocumentHelper
|
||||||
QPDFSomethingObjectHelper
|
QPDFSomethingObjectHelper
|
||||||
QPDFStream
|
QPDFStream
|
||||||
|
QPDFStreamFilter
|
||||||
QPDFSystemError
|
QPDFSystemError
|
||||||
QPDFTokenizer
|
QPDFTokenizer
|
||||||
QPDFTYPES
|
QPDFTYPES
|
||||||
@ -1848,6 +1884,8 @@ registerForeignStream
|
|||||||
registerImage
|
registerImage
|
||||||
registerImpl
|
registerImpl
|
||||||
registerProgressReporter
|
registerProgressReporter
|
||||||
|
registerStream
|
||||||
|
registerStreamFilter
|
||||||
Regsvr
|
Regsvr
|
||||||
releaseResolved
|
releaseResolved
|
||||||
ReleaseResolver
|
ReleaseResolver
|
||||||
@ -1872,6 +1910,7 @@ reportProgress
|
|||||||
repos
|
repos
|
||||||
requiredChoices
|
requiredChoices
|
||||||
requiredParameter
|
requiredParameter
|
||||||
|
resampler
|
||||||
resave
|
resave
|
||||||
reserveObjects
|
reserveObjects
|
||||||
resetBits
|
resetBits
|
||||||
@ -1928,6 +1967,7 @@ saphir
|
|||||||
sarray
|
sarray
|
||||||
SASLprep
|
SASLprep
|
||||||
savable
|
savable
|
||||||
|
sc
|
||||||
scanline
|
scanline
|
||||||
scanlines
|
scanlines
|
||||||
Scarff
|
Scarff
|
||||||
@ -1956,6 +1996,7 @@ setCompressStreams
|
|||||||
setContentNormalization
|
setContentNormalization
|
||||||
setDataKey
|
setDataKey
|
||||||
setDecodeLevel
|
setDecodeLevel
|
||||||
|
setDecodeParms
|
||||||
setDefaultProvider
|
setDefaultProvider
|
||||||
setDescription
|
setDescription
|
||||||
setDeterministicID
|
setDeterministicID
|
||||||
@ -1967,6 +2008,7 @@ setExtraHeaderText
|
|||||||
setFieldAttribute
|
setFieldAttribute
|
||||||
setFile
|
setFile
|
||||||
setFilename
|
setFilename
|
||||||
|
setFilterOnWrite
|
||||||
setFromVector
|
setFromVector
|
||||||
setIgnoreXRefStreams
|
setIgnoreXRefStreams
|
||||||
setImmediateCopyFrom
|
setImmediateCopyFrom
|
||||||
@ -2047,6 +2089,7 @@ src
|
|||||||
srdp
|
srdp
|
||||||
sregex
|
sregex
|
||||||
ss
|
ss
|
||||||
|
ssp
|
||||||
sstream
|
sstream
|
||||||
stampfile
|
stampfile
|
||||||
stamppdf
|
stamppdf
|
||||||
@ -2080,6 +2123,7 @@ strcpy
|
|||||||
streamDataChoices
|
streamDataChoices
|
||||||
StreamDataProvider
|
StreamDataProvider
|
||||||
streammethod
|
streammethod
|
||||||
|
StreamReplacer
|
||||||
strerror
|
strerror
|
||||||
StrF
|
StrF
|
||||||
stricmp
|
stricmp
|
||||||
@ -2144,6 +2188,7 @@ Te
|
|||||||
TerminateParsing
|
TerminateParsing
|
||||||
terminateParsing
|
terminateParsing
|
||||||
testcase
|
testcase
|
||||||
|
TestDriver
|
||||||
testOutlines
|
testOutlines
|
||||||
testPages
|
testPages
|
||||||
TESTSUITE
|
TESTSUITE
|
||||||
@ -2320,6 +2365,7 @@ wfilenamep
|
|||||||
WFLAGS
|
WFLAGS
|
||||||
wfopen
|
wfopen
|
||||||
whoami
|
whoami
|
||||||
|
willFilterStream
|
||||||
WinAnsi
|
WinAnsi
|
||||||
winansi
|
winansi
|
||||||
WinAnsiEncoding
|
WinAnsiEncoding
|
||||||
@ -2411,6 +2457,8 @@ XObject
|
|||||||
XObject's
|
XObject's
|
||||||
XObjects
|
XObjects
|
||||||
xor
|
xor
|
||||||
|
XORDecode
|
||||||
|
XORs
|
||||||
xp
|
xp
|
||||||
xpacket
|
xpacket
|
||||||
xpdf
|
xpdf
|
||||||
|
@ -1084,7 +1084,7 @@ QPDFPageObjectHelper::flattenRotation()
|
|||||||
// When we rotate the page, pivot about the point 0, 0 and then
|
// When we rotate the page, pivot about the point 0, 0 and then
|
||||||
// translate so the page is visible with the origin point being
|
// translate so the page is visible with the origin point being
|
||||||
// the same offset from the lower left corner of the media box.
|
// the same offset from the lower left corner of the media box.
|
||||||
// These calculations have been verified emperically with various
|
// These calculations have been verified empirically with various
|
||||||
// PDF readers.
|
// PDF readers.
|
||||||
QPDFObjectHandle::Matrix cm;
|
QPDFObjectHandle::Matrix cm;
|
||||||
cm.e = 0.0;
|
cm.e = 0.0;
|
||||||
|
Loading…
Reference in New Issue
Block a user