From 0f9086e5094029854eff81cf6480a2284887e5fe Mon Sep 17 00:00:00 2001 From: m-holger Date: Sun, 30 Jan 2022 13:28:37 +0000 Subject: Fix doc typos --- include/qpdf/QPDF.hh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'include') diff --git a/include/qpdf/QPDF.hh b/include/qpdf/QPDF.hh index 9926e87c..a2820e4a 100644 --- a/include/qpdf/QPDF.hh +++ b/include/qpdf/QPDF.hh @@ -115,7 +115,7 @@ class QPDF // For certain forensic or investigatory purposes, it may // sometimes be useful to specify the encryption key directly, // 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 // computation or recovery mechanisms and interpret the bytes in // 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. // Registered stream filters are used for decoding only as you can // 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 // not presently use. The standard filters are implemented using // QPDFStreamFilter classes. @@ -175,7 +175,7 @@ class QPDF // By default, any warnings are issued to std::cerr or the error // 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 // calling getWarnings. QPDF_DLL @@ -215,7 +215,7 @@ class QPDF // other objects, some transient and some not. Since what's // relevant is whether the source QPDF is transient, the method // 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 // streams you're copying. QPDF_DLL @@ -236,13 +236,13 @@ class QPDF QPDF_DLL bool anyWarnings() const; - // Indicate the number of warnings that have been issued so far. - // Does not clear the list of warnings. + // Indicate the number of warnings that have been issued since the last + // call to getWarnings. Does not clear the list of warnings. QPDF_DLL size_t numWarnings() const; // 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 // among QPDF objects that are created by a single run of an // 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 // use QPDFPageObjectHelper::getFormXObjectForPage for that // purpose. - + // // When copying objects with this method, object structure will be // preserved, so all indirectly referenced indirect objects will // be copied as well. This includes any circular references that -- cgit v1.2.3-54-g00ecf