Spell check

This commit is contained in:
Jay Berkenbilt 2021-02-23 09:23:35 -05:00
parent 1e4c1be267
commit 1886673d7e
9 changed files with 184 additions and 14 deletions

View File

@ -137,7 +137,7 @@
2021-02-04 Jay Berkenbilt <ejb@ql.org> 2021-02-04 Jay Berkenbilt <ejb@ql.org>
* Add new option --pasword-file=file for reading the decryption * Add new option --password-file=file for reading the decryption
password from a file. file may be "-" to read from standard input. password from a file. file may be "-" to read from standard input.
Fixes #499. Fixes #499.

2
TODO
View File

@ -480,7 +480,7 @@ I find it useful to make reference to them in this list.
encrypts, it never generates streams with explicit crypt filters. encrypts, it never generates streams with explicit crypt filters.
Prior to 10.2, there was an incorrect attempt to treat /EFF as a Prior to 10.2, there was an incorrect attempt to treat /EFF as a
default value for decrypting file attachment streams, but it is not default value for decrypting file attachment streams, but it is not
supposed to mean that. Instead, it is intended for comforming supposed to mean that. Instead, it is intended for conforming
writers to obey this when adding new attachments. Qpdf is not a writers to obey this when adding new attachments. Qpdf is not a
conforming writer in that respect. conforming writer in that respect.

View File

@ -41,7 +41,7 @@ class QPDFEFStreamObjectHelper: public QPDFObjectHelper
QPDF_DLL QPDF_DLL
virtual ~QPDFEFStreamObjectHelper() = default; virtual ~QPDFEFStreamObjectHelper() = default;
// Date parameters are strings that comform to the PDF spec for // Date parameters are strings that conform to the PDF spec for
// date/time strings, which is "D:yyyymmddhhmmss<z>" where <z> is // date/time strings, which is "D:yyyymmddhhmmss<z>" where <z> is
// either "Z" for UTC or "-hh'mm'" or "+hh'mm'" for timezone // either "Z" for UTC or "-hh'mm'" or "+hh'mm'" for timezone
// offset. Examples: "D:20210207161528-05'00'", // offset. Examples: "D:20210207161528-05'00'",

View File

@ -25,15 +25,19 @@ ActiveState
acyclic acyclic
adbe adbe
addArrayElement addArrayElement
addArrayItem
AddAttachment
addChoicesToCompletions addChoicesToCompletions
addContentTokenFilter addContentTokenFilter
addDictionaryMember addDictionaryMember
adde adde
addExplicitElementsToList addExplicitElementsToList
addFormField
addOptionsToCompletions addOptionsToCompletions
addPage addPage
addPageAt addPageAt
addPageContents addPageContents
addPathElement
addr addr
addTokenFilter addTokenFilter
addToTable addToTable
@ -50,9 +54,11 @@ AESv
aesv aesv
afa afa
afdh afdh
afdhph
ageneration ageneration
AHx AHx
ai ai
aitems
AIX AIX
alg alg
alloc alloc
@ -79,6 +85,8 @@ anyWarnings
aobjid aobjid
aoh aoh
ap ap
apcm
apdict
apexcovantage apexcovantage
api api
APIs APIs
@ -96,7 +104,20 @@ appspot
arandom arandom
ARCFOUR ARCFOUR
arg arg
argAACreationDate
argAADescription
argAAFilename
argAAKey
argAAMimeType
argAAModDate
argAApositional
argAAReplace
argAddAttachment
argAllowInsecure
argc argc
argCApassword
argCApositional
argCAprefix
argCheck argCheck
argCheckLinearization argCheckLinearization
argCoalesceContents argCoalesceContents
@ -105,6 +126,7 @@ argCompletionBash
argCompletionZsh argCompletionZsh
argCompressionLevel argCompressionLevel
argCompressStreams argCompressStreams
argCopyAttachments
argCopyEncryption argCopyEncryption
argCopyright argCopyright
argDecodeLevel argDecodeLevel
@ -113,6 +135,8 @@ argDeterministicId
argEmpty argEmpty
argEncrypt argEncrypt
argEncryptionFilePassword argEncryptionFilePassword
argEndAddAttachment
argEndCopyAttachments
argEndEncrypt argEndEncrypt
argEndUnderOverlay argEndUnderOverlay
argExternalizeInlineImages argExternalizeInlineImages
@ -135,6 +159,7 @@ argKeepFilesOpenThreshold
argKeepInlineImages argKeepInlineImages
argLinearize argLinearize
argLinearizePass argLinearizePass
argListAttachments
argMinVersion argMinVersion
argNewlineBeforeEndstream argNewlineBeforeEndstream
argNoOriginalObjectIds argNoOriginalObjectIds
@ -149,6 +174,7 @@ argOverlay
argPages argPages
ArgParser ArgParser
argPassword argPassword
argPasswordFile
argPasswordIsHexKey argPasswordIsHexKey
argPasswordMode argPasswordMode
argPositional argPositional
@ -158,12 +184,14 @@ argProgress
argQdf argQdf
argRawStreamData argRawStreamData
argRecompressFlate argRecompressFlate
argRemoveAttachment
argRemovePageLabels argRemovePageLabels
argRemoveUnreferencedResources argRemoveUnreferencedResources
argReplaceInput argReplaceInput
argRequiresPassword argRequiresPassword
argRotate argRotate
args args
argShowAttachment
argShowCrypto argShowCrypto
argShowEncryption argShowEncryption
argShowEncryptionKey argShowEncryptionKey
@ -223,6 +251,7 @@ assertType
assignCompressedObjectNumbers assignCompressedObjectNumbers
atof atof
atoi atoi
att
auth auth
AuthEvent AuthEvent
autobuilder autobuilder
@ -236,6 +265,7 @@ autoload
automake automake
autotools autotools
ba ba
BA's
backports backports
backref backref
backreference backreference
@ -262,6 +292,7 @@ betweenTokens
bf bf
bi bi
bidirectionally bidirectionally
binarySearch
binmode binmode
bis bis
BitsPerComponent BitsPerComponent
@ -286,6 +317,7 @@ bpr
bpreserve bpreserve
brdp brdp
bs bs
bsearch
BT BT
btn btn
buf buf
@ -301,6 +333,7 @@ bx
ByteRange ByteRange
bytesNeeded bytesNeeded
ca ca
CA's
calc calc
calculateHOutline calculateHOutline
calculateHPageOffset calculateHPageOffset
@ -323,6 +356,7 @@ CCITT
CCITTFaxDecode CCITTFaxDecode
cd cd
cdc cdc
cdef
cdict cdict
ce ce
cec cec
@ -351,6 +385,7 @@ checkPageContents
checkSchema checkSchema
checkSchemaInternal checkSchemaInternal
checkSeen checkSeen
CheckSum
checkUnread checkUnread
CHGeneric CHGeneric
chmod chmod
@ -397,7 +432,11 @@ ColorToGray
com com
commandline commandline
COMP COMP
compareKeyItem
compareKeyKid
compareKeys
compareVersions compareVersions
compat
compatbility compatbility
completionCommon completionCommon
CompressConfig CompressConfig
@ -414,10 +453,15 @@ contentSize
contrib contrib
convertIIDict convertIIDict
CopiedStreamDataProvider CopiedStreamDataProvider
copyAnnotations
CopyAttachmentFrom
copyEncryptionParameters copyEncryptionParameters
copyFieldsFromForeignPage
copyForeign copyForeign
copyForeignObject copyForeignObject
copyObject copyObject
copyStream
copyStreamData
cout cout
CoVantage CoVantage
cp cp
@ -427,10 +471,13 @@ cplusplus
cpp cpp
CPPFLAGS CPPFLAGS
cr cr
createEFStream
CreateFile CreateFile
createFileSpec
createPageContents createPageContents
createWhat createWhat
CreationDate CreationDate
creationdate
cred cred
cregex cregex
CRNL CRNL
@ -509,6 +556,7 @@ dep
deque deque
dereference dereference
dereferenced dereferenced
desc
dest dest
DESTDIR DESTDIR
destpage destpage
@ -523,6 +571,7 @@ DeviceRGB
DevOps DevOps
DF DF
dh dh
di
DIAERESIS DIAERESIS
dict dict
didier didier
@ -544,6 +593,7 @@ discardGeneration
dist dist
distclean distclean
distfiles distfiles
ditems
dl dl
dlfcn dlfcn
dll dll
@ -607,12 +657,18 @@ eded
eeb eeb
eeee eeee
ef ef
efdh
EFF EFF
efgh efgh
efoh
efs
efsoh
ei ei
ejb ejb
elem
elif elif
elt elt
EmbeddedFile
EmbeddedFiles EmbeddedFiles
embeddedFiles embeddedFiles
emc emc
@ -693,6 +749,7 @@ ff
FFFD FFFD
ffff ffff
ffh ffh
ffield
fflush fflush
fghij fghij
fh fh
@ -701,6 +758,7 @@ fI
fieldflags fieldflags
fieldtype fieldtype
fIinfilename fIinfilename
FileAttachment
FileCloser FileCloser
fileinfo fileinfo
FileInputSource FileInputSource
@ -708,7 +766,9 @@ filemethod
fileno fileno
filenow filenow
filep filep
Filespec filesize
filespec
FileSpec
FILETIME FILETIME
filetrailer filetrailer
filterability filterability
@ -723,6 +783,7 @@ findEI
findEndstream findEndstream
findFirst findFirst
findHeader findHeader
findInternal
findLast findLast
findObject findObject
findObjectAtOrBelow findObjectAtOrBelow
@ -771,19 +832,23 @@ fR
fr fr
fread fread
frs frs
FS fs
fsanitize fsanitize
fseek fseek
fseeki fseeki
fseeko fseeko
fsoh
fstream fstream
ftell ftell
ftelli ftelli
ftello ftello
ftype
fullinfo fullinfo
fullname fullname
fullpad fullpad
fullpath
func func
FunctionProvider
fuzzer fuzzer
fuzzers fuzzers
FuzzHelper FuzzHelper
@ -832,10 +897,12 @@ getBitsInt
getBitsSigned getBitsSigned
getBoolValue getBoolValue
getBuffer getBuffer
getChecksum
getChoices getChoices
getCompressibleObjects getCompressibleObjects
getCompressibleObjGens getCompressibleObjGens
getCount getCount
getCreationDate
getCropBox getCropBox
getDA getDA
getDataChecksum getDataChecksum
@ -850,6 +917,10 @@ getDestPage
getDict getDict
getDictAsMap getDictAsMap
getElementsForShallowCopy getElementsForShallowCopy
getEmbeddedFile
getEmbeddedFiles
getEmbeddedFileStream
getEmbeddedFileStreams
getEncryptionKey getEncryptionKey
getEncryptMetadata getEncryptMetadata
getenv getenv
@ -863,6 +934,7 @@ getFieldType
getFileChecksum getFileChecksum
GetFileInformationByHandle GetFileInformationByHandle
getFilename getFilename
getFilenames
getFilePosition getFilePosition
getFilterOnWrite getFilterOnWrite
getFinalVersion getFinalVersion
@ -871,6 +943,7 @@ getFlags
getFontFromResource getFontFromResource
getFontName getFontName
getFormFields getFormFields
getFormFieldsForPage
getFormXObjectForPage getFormXObjectForPage
getFormXObjects getFormXObjects
getFullyQualifiedName getFullyQualifiedName
@ -905,16 +978,20 @@ getLength
getLengthBytes getLengthBytes
getLinearizationOffset getLinearizationOffset
getLinearizedParts getLinearizedParts
GetLocalTime
getMappingName getMappingName
getMatch getMatch
getMatrixForFormXObjectPlacement
getMatrixForTransformations getMatrixForTransformations
getMax getMax
getMediaBox getMediaBox
getMessageDetail getMessageDetail
getMin getMin
getModDate
getName getName
getNeedAppearances getNeedAppearances
getNext getNext
getNextKid
getNItems getNItems
getNumericValue getNumericValue
getO getO
@ -941,6 +1018,7 @@ getPaddedUserPassword
getPageContentForAppearance getPageContentForAppearance
getPageContents getPageContents
getPageImages getPageImages
getParam
getParent getParent
getParsedOffset getParsedOffset
getPartialName getPartialName
@ -973,8 +1051,10 @@ getStringValue
getSubtype getSubtype
GetSystemTime GetSystemTime
getTf getTf
GetTimeZoneInformation
getTitle getTitle
getToken getToken
getTopLevelField
getTopLevelOutlines getTopLevelOutlines
getTrailer getTrailer
getTrimBox getTrimBox
@ -1047,6 +1127,7 @@ handleToken
hasAcroForm hasAcroForm
hasacroform hasacroform
hasDescription hasDescription
hasEmbeddedFiles
hasIndex hasIndex
hasKey hasKey
hasName hasName
@ -1066,6 +1147,7 @@ hexstrings
hf hf
HGeneric HGeneric
hh hh
hh'mm
HighPart HighPart
hijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstn hijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstn
hlen hlen
@ -1113,6 +1195,7 @@ ImageOptimizer
ImageProvider ImageProvider
img img
immediateCopyFrom immediateCopyFrom
impl
inbuf inbuf
includeIgnorable includeIgnorable
incr incr
@ -1129,6 +1212,7 @@ infs
ing ing
inheritsresources inheritsresources
init init
initEmbeddedFiles
initializeByPage initializeByPage
initializeEncryption initializeEncryption
initializePipelineStack initializePipelineStack
@ -1147,6 +1231,8 @@ inpdf
inputLen inputLen
InputSource InputSource
InsecureRandomDataProvider InsecureRandomDataProvider
insertAfter
insertFirst
insertItem insertItem
insertPage insertPage
insertPageobjToPage insertPageobjToPage
@ -1161,6 +1247,7 @@ ints
inttypes inttypes
inv inv
invalidateCache invalidateCache
InvalidInputSource
inverter inverter
io io
IOLBF IOLBF
@ -1215,13 +1302,16 @@ isStream
isString isString
isText isText
istext istext
istr
istream istream
istype istype
isType isType
italicseq italicseq
itemizedlist itemizedlist
itemsKey
iter iter
ith ith
ivalue
iz iz
jarr jarr
JBIG JBIG
@ -1257,11 +1347,13 @@ keylen
KEYLENGTH KEYLENGTH
keyset keyset
KeyStream KeyStream
keyValid
kgdl kgdl
LARGEFILE LARGEFILE
LastChar LastChar
lastchar lastchar
lastnum lastnum
lastPathElement
lastreleased lastreleased
lastTokenWasBad lastTokenWasBad
latin latin
@ -1273,6 +1365,7 @@ LDFLAGS
ldquo ldquo
len len
lengthNextN lengthNextN
leq
lexer lexer
LF LF
lgtm lgtm
@ -1319,6 +1412,7 @@ LLVMFuzzerTestOneInput
llx llx
lly lly
LocalFree LocalFree
localtime
logoWidth logoWidth
longjmp longjmp
longlong longlong
@ -1329,6 +1423,7 @@ LPSTR
lqpdf lqpdf
lsb lsb
lt lt
ltime
ltmain ltmain
LTS LTS
lu lu
@ -1370,6 +1465,7 @@ maxval
maybeReplace maybeReplace
md md
mdash mdash
mday
MDd MDd
mediabox mediabox
MediaBox MediaBox
@ -1386,6 +1482,7 @@ messageBuffer
metadata metadata
mgr mgr
MILLE MILLE
mimetype
min min
mingw mingw
MinGW MinGW
@ -1397,11 +1494,14 @@ mk
mkdir mkdir
mkinstalldirs mkinstalldirs
mklink mklink
ModDate
moddate
moddifyannotations moddifyannotations
modifyassembly modifyassembly
modifyforms modifyforms
modifyother modifyother
ModOther ModOther
mon
monoseq monoseq
mr mr
MSC MSC
@ -1418,6 +1518,8 @@ multithreaded
Mutator Mutator
mutators mutators
mv mv
NameTree
NameTreeDetails
NameWatcher NameWatcher
nannots nannots
nbackrefs nbackrefs
@ -1439,8 +1541,10 @@ newBool
NewDict NewDict
newdict newdict
newDictionary newDictionary
newEmpty
newFromMatrix newFromMatrix
newFromRectangle newFromRectangle
newFromStream
newIndirect newIndirect
newInlineImage newInlineImage
newInteger newInteger
@ -1453,6 +1557,7 @@ newpage
newpdf newpdf
newReal newReal
newReserved newReserved
newSomething
newStream newStream
newString newString
newUnicodeString newUnicodeString
@ -1461,6 +1566,7 @@ nFileIndexHigh
nFileIndexLow nFileIndexLow
nfirst nfirst
ngrandkids ngrandkids
nh
nitems nitems
nkids nkids
nl nl
@ -1468,9 +1574,15 @@ nlines
nlohmann nlohmann
nmatches nmatches
nMatches nMatches
NNTree
nntree
NNTreeDetails
NNTreeImpl
NNTreeIterator
NoBackref NoBackref
nobjects nobjects
nocase nocase
noh
NOMATCH NOMATCH
NOMEMORY NOMEMORY
NONINFRINGEMENT NONINFRINGEMENT
@ -1495,12 +1607,15 @@ nspaces
nspecs nspecs
nstream nstream
nstripes nstripes
NT
NTE NTE
ntoh ntoh
ntotal ntotal
NUL NUL
nullptr nullptr
num num
NumberTree
NumberTreeDetails
numericValue numericValue
numrange numrange
nums nums
@ -1538,25 +1653,31 @@ odh
odict odict
oe oe
OffsetInputSource OffsetInputSource
ofirst
og og
ogs ogs
oi oi
oiter oiter
okey okey
ol ol
olast
oldname oldname
oldpdf oldpdf
olimits
olist olist
omap omap
omatrix
onum onum
ooh ooh
op op
opages opages
opath
OpenAction OpenAction
openObject openObject
opensource opensource
openssl openssl
OpenSSL OpenSSL
opi
optionalParameter optionalParameter
OptionEntry OptionEntry
ord ord
@ -1627,6 +1748,7 @@ parseUnderOverlayOptions
parseVersion parseVersion
partialname partialname
partLen partLen
PathElement
pathsep pathsep
patmv patmv
PatternFinder PatternFinder
@ -1671,7 +1793,7 @@ pipePageContents
pipeStreamData pipeStreamData
pipeStreamData's pipeStreamData's
pipeStringAndFinish pipeStringAndFinish
Pkey pkey
pkg pkg
PKI PKI
pl pl
@ -1699,6 +1821,8 @@ pre
prebuilt prebuilt
precheck precheck
precompiled precompiled
preferredcontents
preferredname
prefilering prefilering
prefiltering prefiltering
prepareFileForWrite prepareFileForWrite
@ -1748,6 +1872,7 @@ pushMD
pushOutlinesToPart pushOutlinesToPart
pushPipeline pushPipeline
PUTU PUTU
pval
PWD PWD
py py
pypi pypi
@ -1777,19 +1902,27 @@ QPDF's
QPDFAcroFormDocumentHelper QPDFAcroFormDocumentHelper
QPDFAcroFormDocumentHelper's QPDFAcroFormDocumentHelper's
QPDFAnnotationObjectHelper QPDFAnnotationObjectHelper
QPDFArrayItems
qpdfbuild qpdfbuild
QPDFCONSTANTS QPDFCONSTANTS
QPDFCrypto QPDFCrypto
QPDFCryptoImpl QPDFCryptoImpl
QPDFCryptoProvider QPDFCryptoProvider
QPDFDictItems
QPDFDocumentHelper QPDFDocumentHelper
QPDFEFStreamObjectHelper
QPDFEmbeddedFileDocumentHelper
QPDFExc QPDFExc
QPDFFake QPDFFake
QPDFFakeName QPDFFakeName
QPDFFileSpecObjectHelper
QPDFFormFieldObjectHelper QPDFFormFieldObjectHelper
QPDFMatrix QPDFMatrix
QPDFMatrix's
QPDFNameTreeObjectHelper QPDFNameTreeObjectHelper
QPDFNameTreeObjectHelper's
QPDFNumberTreeObjectHelper QPDFNumberTreeObjectHelper
QPDFNumberTreeObjectHelper's
QPDFObject QPDFObject
QPDFObjectHandle QPDFObjectHandle
QPDFObjectHandle's QPDFObjectHandle's
@ -1810,6 +1943,7 @@ QPDFSomethingObjectHelper
QPDFStream QPDFStream
QPDFStreamFilter QPDFStreamFilter
QPDFSystemError QPDFSystemError
QPDFTime
QPDFTokenizer QPDFTokenizer
QPDFTYPES QPDFTYPES
QPDFVersion QPDFVersion
@ -1826,6 +1960,7 @@ QStrings
QTC QTC
qtest qtest
QTest QTest
qtm
quadding quadding
QuadPart QuadPart
quot quot
@ -1848,6 +1983,7 @@ rb
rbegin rbegin
rc rc
rcon rcon
rdicts
RDONLY RDONLY
rdp rdp
rdpp rdpp
@ -1875,6 +2011,7 @@ recomputation
recoverStreamLength recoverStreamLength
rect rect
refactor refactor
refactored
refcount refcount
refpage refpage
refpos refpos
@ -1890,6 +2027,8 @@ Regsvr
releaseResolved releaseResolved
ReleaseResolver ReleaseResolver
remotesensing remotesensing
removeEmbeddedFile
removeFormFields
removeKey removeKey
removePage removePage
removereplace removereplace
@ -1898,6 +2037,7 @@ removeUnreferencedResourcesHelper
ren ren
repl repl
replaceDict replaceDict
replaceEmbeddedFile
replaceFilterData replaceFilterData
replaceForeignIndirectObjects replaceForeignIndirectObjects
replaceKey replaceKey
@ -1914,6 +2054,7 @@ resampler
resave resave
reserveObjects reserveObjects
resetBits resetBits
resetLimits
resolveLiteral resolveLiteral
resolveNamedDest resolveNamedDest
resolveObjectsInStream resolveObjectsInStream
@ -1941,6 +2082,7 @@ rl
rm rm
rnd rnd
RNRT RNRT
RobK
rollover rollover
rotatePage rotatePage
rotatex rotatex
@ -1976,6 +2118,7 @@ scp
sdk sdk
sdp sdp
se se
sec
SecureRandomDataProvider SecureRandomDataProvider
sed sed
seekable seekable
@ -1994,6 +2137,7 @@ setCheckBoxValue
setCompressionLevel setCompressionLevel
setCompressStreams setCompressStreams
setContentNormalization setContentNormalization
setCreationDate
setDataKey setDataKey
setDecodeLevel setDecodeLevel
setDecodeParms setDecodeParms
@ -2013,6 +2157,7 @@ setFromVector
setIgnoreXRefStreams setIgnoreXRefStreams
setImmediateCopyFrom setImmediateCopyFrom
setItem setItem
setItemNumber
setIV setIV
setjmp setjmp
setLastObjectDescription setLastObjectDescription
@ -2021,6 +2166,7 @@ setLinearization
setLinearizationPass setLinearizationPass
setLineBuf setLineBuf
setMinimumPDFVersion setMinimumPDFVersion
setModDate
setmode setmode
setNeedAppearances setNeedAppearances
setNewlineBeforeEndstream setNewlineBeforeEndstream
@ -2034,6 +2180,7 @@ setOutputFilename
setOutputMemory setOutputMemory
setOutputPipeline setOutputPipeline
setOutputStreams setOutputStreams
setParam
setParsedOffset setParsedOffset
setPasswordIsHexKey setPasswordIsHexKey
setPCLm setPCLm
@ -2047,11 +2194,13 @@ setR
setRadioButtonValue setRadioButtonValue
setRandomDataProvider setRandomDataProvider
setRecompressFlate setRecompressFlate
setSplitThreshold
setStaticAesIV setStaticAesIV
setStaticID setStaticID
setStreamDataMode setStreamDataMode
setStreamDescription setStreamDescription
setStreamPrecheck setStreamPrecheck
setSubtype
setSuppressOriginalObjectIDs setSuppressOriginalObjectIDs
setSuppressWarnings setSuppressWarnings
setTrailer setTrailer
@ -2120,6 +2269,7 @@ strcasecmp
strchr strchr
strcmp strcmp
strcpy strcpy
StreamCopier
streamDataChoices streamDataChoices
StreamDataProvider StreamDataProvider
streammethod streammethod
@ -2201,11 +2351,12 @@ tgen
th th
thax thax
thomas thomas
throwException
tiffcmp tiffcmp
TIFFPredictor TIFFPredictor
Tj Tj
TL TL
Tm tm
tmatrix tmatrix
tmp tmp
tnum tnum
@ -2231,10 +2382,12 @@ toS
toupper toupper
toUTF toUTF
tp tp
tpi
transcode transcode
transcoders transcoders
transcodes transcodes
transcoding transcoding
transformAnnotations
transformRectangle transformRectangle
traverseField traverseField
travis travis
@ -2252,12 +2405,17 @@ ty
typeinfo typeinfo
typename typename
typeWarning typeWarning
tz
tzinfo
tzset
ubuntu ubuntu
uc uc
uchar uchar
udata udata
UE UE
uf
uHHHH uHHHH
uid
uinow uinow
uint uint
uiter uiter
@ -2304,6 +2462,7 @@ uo
upages upages
upass upass
updateAllPagesCache updateAllPagesCache
updateIValue
updateMap updateMap
updateObjectMaps updateObjectMaps
updateObjectMapsInternal updateObjectMapsInternal
@ -2314,6 +2473,7 @@ urx
ury ury
usageExit usageExit
UseAes UseAes
UseAttachments
UseOutlines UseOutlines
userPasswordMatched userPasswordMatched
userpasswordmatched userpasswordmatched
@ -2323,6 +2483,7 @@ useZeroIV
ushort ushort
USLetter USLetter
usr usr
UTC
utf utf
Util Util
utils utils
@ -2358,6 +2519,8 @@ wb
wchar wchar
Wconversion Wconversion
wcslen wcslen
wDay
Wdeprecated
Weimer Weimer
werror werror
wfilename wfilename
@ -2365,17 +2528,21 @@ wfilenamep
WFLAGS WFLAGS
wfopen wfopen
whoami whoami
wHour
willFilterStream willFilterStream
WinAnsi WinAnsi
winansi winansi
WinAnsiEncoding WinAnsiEncoding
wincrypt wincrypt
WindowsCryptProvider WindowsCryptProvider
withinLimits
wlen wlen
wmain wmain
wmatrix wmatrix
wMinute
wmode wmode
wmodep wmodep
wMonth
wnew wnew
wold wold
wpath wpath
@ -2408,6 +2575,7 @@ writeToken
writeTrailer writeTrailer
writeXRefStream writeXRefStream
writeXRefTable writeXRefTable
wSecond
wsetargv wsetargv
Wsign Wsign
wunlink wunlink
@ -2415,6 +2583,7 @@ www
wwwwwwwww wwwwwwwww
WX WX
wxWindows wxWindows
wYear
xA xA
xa xa
xABUL xABUL
@ -2483,6 +2652,7 @@ yscale
yuiop yuiop
YYYY YYYY
yyyymmdd yyyymmdd
yyyymmddhhmmss
z's z's
zalloc zalloc
zarko zarko

View File

@ -303,7 +303,7 @@ NNTreeIterator::split(QPDFObjectHandle to_split,
// item. // item.
// In examples, for simplicity, /Nums is show to just contain // In examples, for simplicity, /Nums is show to just contain
// numbers instead of pairs. Imagine this tre: // numbers instead of pairs. Imagine this tree:
// //
// root: << /Kids [ A B C D ] >> // root: << /Kids [ A B C D ] >>
// A: << /Nums [ 1 2 3 4 ] >> // A: << /Nums [ 1 2 3 4 ] >>

View File

@ -498,7 +498,7 @@ QPDFAcroFormDocumentHelper::transformAnnotations(
// references. When we clone BA, we will want to clone A and // references. When we clone BA, we will want to clone A and
// then update A's clone's kid to point B's clone and B's // then update A's clone's kid to point B's clone and B's
// clone's parent to point to A's clone. The same thing holds // clone's parent to point to A's clone. The same thing holds
// for annotatons. Next, when we get to CA, we will again // for annotations. Next, when we get to CA, we will again
// discover that A is the top, but we don't want to re-copy A. // discover that A is the top, but we don't want to re-copy A.
// We want CA's clone to be linked to the same clone as BA's. // We want CA's clone to be linked to the same clone as BA's.
// Failure to do this will break up things like radio button // Failure to do this will break up things like radio button

View File

@ -629,7 +629,7 @@ void timestamp_test()
assert(QUtil::pdf_time_to_qpdf_time("D:20210211064743")); assert(QUtil::pdf_time_to_qpdf_time("D:20210211064743"));
// Round trip on the current time without actually printing it. // Round trip on the current time without actually printing it.
// Manual testing was done to ensure that we are actually getting // Manual testing was done to ensure that we are actually getting
// back the current time in various timezones. // back the current time in various time zones.
assert(QUtil::pdf_time_to_qpdf_time( assert(QUtil::pdf_time_to_qpdf_time(
QUtil::qpdf_time_to_pdf_time( QUtil::qpdf_time_to_pdf_time(
QUtil::get_current_qpdf_time()))); QUtil::get_current_qpdf_time())));

View File

@ -789,7 +789,7 @@ class ArgParser
void argShowCrypto(); void argShowCrypto();
void argPositional(char* arg); void argPositional(char* arg);
void argPassword(char* parameter); void argPassword(char* parameter);
void argPasswordFile(char* paramter); void argPasswordFile(char* parameter);
void argEmpty(); void argEmpty();
void argLinearize(); void argLinearize();
void argEncrypt(); void argEncrypt();
@ -3709,7 +3709,7 @@ ArgParser::doFinalChecks()
// the user password, so this lack of security is not an issue // the user password, so this lack of security is not an issue
// for those files. Also we are consider only the ability to // for those files. Also we are consider only the ability to
// open the file without a password to be insecure. We are not // open the file without a password to be insecure. We are not
// concerned about whether the viwer enforces security // concerned about whether the viewer enforces security
// settings when the user and owner password match. // settings when the user and owner password match.
usage("A PDF with a non-empty user password and an empty owner" usage("A PDF with a non-empty user password and an empty owner"
" password encrypted with a 256-bit key is insecure as it" " password encrypted with a 256-bit key is insecure as it"
@ -5305,7 +5305,7 @@ static void add_attachments(QPDF& pdf, Options& o, int& exit_code)
std::cerr << whoami << ": " << pdf.getFilename() std::cerr << whoami << ": " << pdf.getFilename()
<< " already has an attachment with key = " << " already has an attachment with key = "
<< to_add.key << "; use --replace to replace" << to_add.key << "; use --replace to replace"
<< " or --key to specificy a different key" << " or --key to specify a different key"
<< std::endl; << std::endl;
exit_code = EXIT_ERROR; exit_code = EXIT_ERROR;
continue; continue;

View File

@ -1,2 +1,2 @@
qpdf: a.pdf already has an attachment with key = auto-1; use --replace to replace or --key to specificy a different key qpdf: a.pdf already has an attachment with key = auto-1; use --replace to replace or --key to specify a different key
qpdf: wrote file b.pdf qpdf: wrote file b.pdf