Hello, In the current SVN version, PdfString::GetString() should always return the raw (i.e. not hex encoded) version of the string. So decoding yourself is not necessary anymore. IsHex() indicates only that PoDoFo will hex encode the string when writing the string to the document. It should be documented that this is mostly not interesting for users.
If this does not work, this is a bug. Of course I am gonna fix it if you found
a problem.
best regards,
Dom
Am Dienstag, 15. Januar 2008 schrieb Philipp Wagner:
> Hello,
>
> I'm tried the current SVN version of podofo and I'm trying to read a
> string which is hex encoded (PdfString::IsHex() says so). I saw the
> previous stable version had a method DecodeHex(), but that one had been
> removed from the current version. So what should I use now to get the
> data? Do the decoding myself? Or should it be done automatically?
>
> Thanks a lot!
>
> Philipp
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Podofo-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/podofo-users
--
**********************************************************************
Dominik Seichter - [EMAIL PROTECTED]
KRename - http://www.krename.net - Powerful batch renamer for KDE
KBarcode - http://www.kbarcode.net - Barcode and label printing
PoDoFo - http://podofo.sf.net - PDF generation and parsing library
SchafKopf - http://schafkopf.berlios.de - Schafkopf, a card game, for KDE
Alan - http://alan.sf.net - A Turing Machine in Java
**********************************************************************
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ Podofo-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/podofo-users
