mirror of
https://github.com/qpdf/qpdf.git
synced 2025-01-03 15:17:29 +00:00
Mention name tokens in TokenFilter comments
This commit is contained in:
parent
225cd9dac2
commit
4b674b42e4
@ -98,7 +98,13 @@ class QPDFObjectHandle
|
|||||||
// for being written to output, or calling writeToken with a
|
// for being written to output, or calling writeToken with a
|
||||||
// string token will also work. The correct way to construct a
|
// string token will also work. The correct way to construct a
|
||||||
// string token that would write the literal value (str) is
|
// string token that would write the literal value (str) is
|
||||||
// QPDFTokenizer::Token(QPDFTokenizer::tt_string, "str").
|
// QPDFTokenizer::Token(QPDFTokenizer::tt_string, "str"). A
|
||||||
|
// similar situation exists with tt_name. token.getValue() returns
|
||||||
|
// a normalized name with # codes resolved into characters, and
|
||||||
|
// may not be suitable for writing. You can pass it to
|
||||||
|
// QPDF_Name::normalizeName first, or you can use writeToken with
|
||||||
|
// a name token. The correct way to create a name token is
|
||||||
|
// QPDFTokenizer::Token(QPDFTokenizer::tt_name, "/Name").
|
||||||
class QPDF_DLL_CLASS TokenFilter
|
class QPDF_DLL_CLASS TokenFilter
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
Loading…
Reference in New Issue
Block a user