mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Object classifier
This commit is contained in:
@ -117,10 +117,16 @@ public:
|
||||
/// Function checks if stream can be converted to unicode by heuristic
|
||||
/// way, it is not always reliable.
|
||||
/// \param stream Stream
|
||||
/// \param isBinary If specified, it is set to true if conversion failed
|
||||
/// \param[out] isBinary If specified, it is set to true if conversion failed
|
||||
/// \returns Unicode string or string converted to hexadecimal representation
|
||||
static QString convertSmartFromByteStringToUnicode(const QByteArray& stream, bool* isBinary);
|
||||
|
||||
/// Tries to convert stream to representable string. If it cannot be done,
|
||||
/// percentage encoding is used.
|
||||
/// \param stream Stream
|
||||
/// \returns Unicode string or string converted to percentage representation
|
||||
static QString convertSmartFromByteStringToRepresentableQString(const QByteArray& stream);
|
||||
|
||||
/// Returns all characters of the given encoding
|
||||
/// \param encoding Encoding
|
||||
/// \returns All characters reprezentable by encoding.
|
||||
|
Reference in New Issue
Block a user