mirror of
https://github.com/qpdf/qpdf.git
synced 2025-01-23 15:18:33 +00:00
Fix doc typos
This commit is contained in:
parent
8eca9d8fd9
commit
0f9086e509
@ -115,7 +115,7 @@ class QPDF
|
|||||||
// For certain forensic or investigatory purposes, it may
|
// For certain forensic or investigatory purposes, it may
|
||||||
// sometimes be useful to specify the encryption key directly,
|
// sometimes be useful to specify the encryption key directly,
|
||||||
// even though regular PDF applications do not provide a way to do
|
// even though regular PDF applications do not provide a way to do
|
||||||
// this. calling setPasswordIsHexKey(true) before calling any of
|
// this. Calling setPasswordIsHexKey(true) before calling any of
|
||||||
// the process methods will bypass the normal encryption key
|
// the process methods will bypass the normal encryption key
|
||||||
// computation or recovery mechanisms and interpret the bytes in
|
// computation or recovery mechanisms and interpret the bytes in
|
||||||
// the password as a hex-encoded encryption key. Note that we
|
// the password as a hex-encoded encryption key. Note that we
|
||||||
@ -140,7 +140,7 @@ class QPDF
|
|||||||
// filter types or override existing ones provided by the library.
|
// filter types or override existing ones provided by the library.
|
||||||
// Registered stream filters are used for decoding only as you can
|
// Registered stream filters are used for decoding only as you can
|
||||||
// override encoding with stream data providers. For example, you
|
// override encoding with stream data providers. For example, you
|
||||||
// could use this method to support for one of the other filter
|
// could use this method to add support for one of the other filter
|
||||||
// types by using additional third-party libraries that qpdf does
|
// types by using additional third-party libraries that qpdf does
|
||||||
// not presently use. The standard filters are implemented using
|
// not presently use. The standard filters are implemented using
|
||||||
// QPDFStreamFilter classes.
|
// QPDFStreamFilter classes.
|
||||||
@ -175,7 +175,7 @@ class QPDF
|
|||||||
|
|
||||||
// By default, any warnings are issued to std::cerr or the error
|
// By default, any warnings are issued to std::cerr or the error
|
||||||
// stream specified in a call to setOutputStreams as they are
|
// stream specified in a call to setOutputStreams as they are
|
||||||
// encountered. If this is called with a true value, reporting of
|
// encountered. If this method is called with a true value, reporting of
|
||||||
// warnings is suppressed. You may still retrieve warnings by
|
// warnings is suppressed. You may still retrieve warnings by
|
||||||
// calling getWarnings.
|
// calling getWarnings.
|
||||||
QPDF_DLL
|
QPDF_DLL
|
||||||
@ -215,7 +215,7 @@ class QPDF
|
|||||||
// other objects, some transient and some not. Since what's
|
// other objects, some transient and some not. Since what's
|
||||||
// relevant is whether the source QPDF is transient, the method
|
// relevant is whether the source QPDF is transient, the method
|
||||||
// must be called on the source QPDF, not the destination one.
|
// must be called on the source QPDF, not the destination one.
|
||||||
// Since this method will make a copy of the stream in RAM, so be
|
// This method will make a copy of the stream in RAM, so be
|
||||||
// sure you have enough memory to simultaneously hold all the
|
// sure you have enough memory to simultaneously hold all the
|
||||||
// streams you're copying.
|
// streams you're copying.
|
||||||
QPDF_DLL
|
QPDF_DLL
|
||||||
@ -236,13 +236,13 @@ class QPDF
|
|||||||
QPDF_DLL
|
QPDF_DLL
|
||||||
bool anyWarnings() const;
|
bool anyWarnings() const;
|
||||||
|
|
||||||
// Indicate the number of warnings that have been issued so far.
|
// Indicate the number of warnings that have been issued since the last
|
||||||
// Does not clear the list of warnings.
|
// call to getWarnings. Does not clear the list of warnings.
|
||||||
QPDF_DLL
|
QPDF_DLL
|
||||||
size_t numWarnings() const;
|
size_t numWarnings() const;
|
||||||
|
|
||||||
// Return an application-scoped unique ID for this QPDF object.
|
// Return an application-scoped unique ID for this QPDF object.
|
||||||
// This is not a globally unique ID. It is constructing using a
|
// This is not a globally unique ID. It is constructed using a
|
||||||
// timestamp and a random number and is intended to be unique
|
// timestamp and a random number and is intended to be unique
|
||||||
// among QPDF objects that are created by a single run of an
|
// among QPDF objects that are created by a single run of an
|
||||||
// application. While it's very likely that these are actually
|
// application. While it's very likely that these are actually
|
||||||
@ -351,7 +351,7 @@ class QPDF
|
|||||||
// you are going to turn into a form XObject, though you can also
|
// you are going to turn into a form XObject, though you can also
|
||||||
// use QPDFPageObjectHelper::getFormXObjectForPage for that
|
// use QPDFPageObjectHelper::getFormXObjectForPage for that
|
||||||
// purpose.
|
// purpose.
|
||||||
|
//
|
||||||
// When copying objects with this method, object structure will be
|
// When copying objects with this method, object structure will be
|
||||||
// preserved, so all indirectly referenced indirect objects will
|
// preserved, so all indirectly referenced indirect objects will
|
||||||
// be copied as well. This includes any circular references that
|
// be copied as well. This includes any circular references that
|
||||||
|
@ -31,7 +31,7 @@ class QPDF_Dictionary: public QPDFObject
|
|||||||
void replaceKey(std::string const& key, QPDFObjectHandle);
|
void replaceKey(std::string const& key, QPDFObjectHandle);
|
||||||
// Remove key, doing nothing if key does not exist
|
// Remove key, doing nothing if key does not exist
|
||||||
void removeKey(std::string const& key);
|
void removeKey(std::string const& key);
|
||||||
// If object is null, replace key; otherwise, remove key
|
// If object is null, remove key; otherwise, replace key
|
||||||
void replaceOrRemoveKey(std::string const& key, QPDFObjectHandle);
|
void replaceOrRemoveKey(std::string const& key, QPDFObjectHandle);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user