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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to