pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <markus.sticker.e...@zf.com>
Subject AW: String replace failed
Date Fri, 17 May 2013 11:02:12 GMT
https://docs.google.com/file/d/0B9_jmweC39sxQTJycGNKdVVPWVk/edit?usp=sharing
have a look at the log-File

-----Ursprüngliche Nachricht-----
Von: Maruan Sahyoun [mailto:sahyoun@fileaffairs.de] 
Gesendet: Freitag, 17. Mai 2013 12:58
An: users@pdfbox.apache.org
Betreff: Re: String replace failed

That's not easy :-)

You wrote " . parser returned a unreadable string . " which is the string you are getting?

BR
Maruan


Am 17.05.2013 um 12:37 schrieb markus.sticker.epos@zf.com:

> My target is to replace ##VERSION## with "Release 9.8.3.4 (12th April 2013)"
> It's on Page 3.
> 
> -----Ursprüngliche Nachricht-----
> Von: Maruan Sahyoun [mailto:sahyoun@fileaffairs.de] 
> Gesendet: Freitag, 17. Mai 2013 12:33
> An: users@pdfbox.apache.org
> Betreff: Re: String replace failed
> 
> fine, I can extract the text. Could you describe what you are doing? E.g. which text
would you like to replace? Do you have a sample code snippet to verify? Do you receive an
error?
> 
> BR
> Maruan Sahyoun
> 
> Am 17.05.2013 um 12:28 schrieb markus.sticker.epos@zf.com:
> 
>> OK.... here it is
>> https://docs.google.com/file/d/0B9_jmweC39sxbmp2OXMtaXFTVG8/edit?usp=sharing
>> 
>> -----Ursprüngliche Nachricht-----
>> Von: Maruan Sahyoun [mailto:sahyoun@fileaffairs.de] 
>> Gesendet: Freitag, 17. Mai 2013 12:20
>> An: users@pdfbox.apache.org
>> Betreff: Re: String replace failed
>> 
>> Hi Markus,
>> 
>> No - the mailing list doesn't allow them. Could you upload the file somewhere so
we can download it?
>> 
>> BR
>> Maruan Sahyoun
>> 
>> Am 17.05.2013 um 12:09 schrieb <markus.sticker.epos@zf.com>:
>> 
>>> Sorry, maybe our Mail-Gateway removes attachments
>>> 
>>> -----Ursprüngliche Nachricht-----
>>> Von: Maruan Sahyoun [mailto:sahyoun@fileaffairs.de] 
>>> Gesendet: Freitag, 17. Mai 2013 11:59
>>> An: users@pdfbox.apache.org
>>> Betreff: Re: String replace failed
>>> 
>>> Hi Markus,
>>> 
>>> could you be a little more specific? Maybe with a sample PDF and some code? Replacing
a string in a pdf can be much more complex than the ReplaceString example suggests. 
>>> 
>>> BR
>>> Maruan Sahyoun
>>> 
>>> Am 17.05.2013 um 11:41 schrieb <markus.sticker.epos@zf.com>:
>>> 
>>>> Hi,
>>>> 
>>>> I tried to use the String replace example, but the parser returned a unreadable
string.
>>>> I use the java code like in the example.
>>>> 
>>>> Best regards
>>>> 
>>>> Markus
>>> 
>> 
> 


Mime
View raw message