mirror of
https://github.com/qpdf/qpdf.git
synced 2024-09-20 17:19:08 +00:00
Fix doc typos
This commit is contained in:
parent
698a70e6a8
commit
db6c09b625
@ -43,7 +43,7 @@ class QPDFPageObjectHelper: public QPDFObjectHelper
|
|||||||
|
|
||||||
// PAGE ATTRIBUTES
|
// PAGE ATTRIBUTES
|
||||||
|
|
||||||
// The getAttribute method works with pages and form XObjects. It return the value of the
|
// The getAttribute method works with pages and form XObjects. It returns the value of the
|
||||||
// requested attribute from the page/form XObject's dictionary, taking inheritance from the
|
// requested attribute from the page/form XObject's dictionary, taking inheritance from the
|
||||||
// pages tree into consideration. For pages, the attributes /MediaBox, /CropBox, /Resources, and
|
// pages tree into consideration. For pages, the attributes /MediaBox, /CropBox, /Resources, and
|
||||||
// /Rotate are inheritable, meaning that if they are not present directly on the page node, they
|
// /Rotate are inheritable, meaning that if they are not present directly on the page node, they
|
||||||
@ -81,7 +81,7 @@ class QPDFPageObjectHelper: public QPDFObjectHelper
|
|||||||
// As noted above (PAGE ATTRIBUTES), /MediaBox and /CropBox can be inherited from parent nodes
|
// As noted above (PAGE ATTRIBUTES), /MediaBox and /CropBox can be inherited from parent nodes
|
||||||
// in the pages tree. The other boxes can't be inherited.
|
// in the pages tree. The other boxes can't be inherited.
|
||||||
//
|
//
|
||||||
// When the comments below refer to the "effective value" of an box, this takes into
|
// When the comments below refer to the "effective value" of a box, this takes into
|
||||||
// consideration both inheritance through the pages tree (in the case of /MediaBox and /CropBox)
|
// consideration both inheritance through the pages tree (in the case of /MediaBox and /CropBox)
|
||||||
// and fallback values for missing attributes (for all except /MediaBox).
|
// and fallback values for missing attributes (for all except /MediaBox).
|
||||||
//
|
//
|
||||||
|
@ -725,7 +725,7 @@ QPDF::initializeEncryption()
|
|||||||
}
|
}
|
||||||
m->encp->encryption_initialized = true;
|
m->encp->encryption_initialized = true;
|
||||||
|
|
||||||
// After we initialize encryption parameters, we must used stored key information and never look
|
// After we initialize encryption parameters, we must use stored key information and never look
|
||||||
// at /Encrypt again. Otherwise, things could go wrong if someone mutates the encryption
|
// at /Encrypt again. Otherwise, things could go wrong if someone mutates the encryption
|
||||||
// dictionary.
|
// dictionary.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user