Re: external graphics rendering windows xp
Bertrand Delacretaz <[email protected]> Wed, 27 Aug 2003 11:47:13 +0200
| Newsgroups | gmane.text.xml.jfor.general |
|---|---|
| Message-ID | <[email protected]> |
Hi Bryan, Can you find out if the pichgoal value is wrong? You can find more details in the source code of the RtfExternalGraphic=20= class, which generates these codes. I'm wondering if the value should be scaled like the picscaley value,=20 for example, but I'm not much familiar with this part of the code. The thing is, apparently there is also a picwgoal code generated, and=20 this doesn't seem to cause problems. -Bertrand Le Vendredi, 15 ao=FB 2003, =E0 00:15 Europe/Zurich, Bryan Weber a =E9crit= : > Following up with my prior email... we've tracked down the problem,=20 > some of it might stem from my incomplete knowledge of the rtf spec...=20= > To recap my problem, I have an external graphic that displays fine on=20= > windows 2000, but not in windows 2002... it shows up as a very, very=20= > thin image.=A0 Maybe the scaling took precedence before but now the=20 > pichgoal does, I really don't know.=A0 Here's an exerpt from one of my=20= > team's discussions.... > > In our rtf file, "\ > > pichgoal25" in the RTF is causing the problem. > > I looked up the definition on the web: > > \pichgoal<N> The desired height of the picture in twips. > > So the RTF file has that code. Word 2000 ignores it while Word 2002=20 > doesn't. I tested this by editing the RTF file using Textpad. I=20 > removed the pichgoal and sure enough, the document looks right in both=20= > Word 2000 and 2002. > > So we need to get that out of the RTF.=A0 Is that possible using JFOR = or=20 > will I have to modify the rtf file after it is generated?= ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf