poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martino Spighi" <martino.spi...@plangroup.it>
Subject R: R: Nessun oggetto (HYPERLINK)
Date Fri, 23 Nov 2007 09:28:17 GMT



Probably I'can specify restrictions over the Word File depending on how they
are!
Is there a way to use Hyperlink? 
Can you tell me the alternatives?
Sorry for my English and thank you very much for what are you doing.
Martino


-----Messaggio originale-----
Da: Rainer Schwarze [mailto:rsc@admadic.de] 
Inviato: giovedì 22 novembre 2007 22.30
A: POI Users List
Oggetto: Re: R: Nessun oggetto (HYPERLINK)

Rainer Schwarze wrote:
> Martino Spighi wrote:
>> I'll send to you a zip file with the word file, the resulting pdf file
and a
>> simple program.
[...]

Hi Martino,

After looking at your files, I assume that the problem with hyperlinks
is this: Hyperlinks are inserted as fields. Word files contain a table
for field boundaries and that table is not yet supported by HWPF.

The field table usually contains 3 entries per field (start, separator,
end). It looks like Word needs it to get along with hyperlink fields. I
thought Word rebuilds the table if its not there, but I seem to have
wrong memories here... (Or hyperlinks are special...) Anyway, when I
disable that table in a genuine Word file, the hyperlinks do not work
correctly any more just like after feeding through HWPF.

So the perfect solution would be to implement field table support in
HWPF. However, there are also a few alternatives, depending on the
variety of your input files and your project goals. Do you have full
control over the files which you need to process (and can you define
requirements which others have to fulfill)? Or are you forced to handle
any Word file which comes along?

Best wishes, Rainer
--

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org


Mime
View raw message