RtfExternalGraphic.java bug

"Koes, Derrick" <[email protected]> Fri, 30 Jan 2004 15:49:34 -0500
Newsgroups gmane.text.xml.jfor.general
Message-ID <90BB627CA578DC479862B41DBD542991079E06B8@andsrv31.smith-nephew.com>
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C3E772.91227B70
Content-Type: text/plain

I believe I have found a bug in the RtfExternalGraphic class.

The writeRtfContentWithException method contains code to write pichgoal
and/or picwgoal to the rtf file.  However, there is also code to write pich
and picw and picscaley and picscalex.  Editors such as the ubiquitous MS
Word first apply the scaling to the pich and picw values.  In and of itself
this is great.  However, it then applies the pichgoal and picwgoal.  These
are similar to pich and picw, but measured in twips rather than pixels.
This results in a thin or small image.

 

I want to remove the pichgoal and picwgoal code from the file.  How do I
enter a bug?  Better yet, where can I check in a change if possible?

Does anyone see a problem with this proposal?

This electronic transmission is strictly confidential to Smith & Nephew and
intended solely for the addressee.  It may contain information which is
covered by legal, professional or other privilege.  If you are not the
intended addressee, or someone authorized by the intended addressee to
receive transmissions on behalf of the addressee, you must not retain,
disclose in any form, copy or take any action in reliance on this
transmission.  If you have received this transmission in error, please
notify the sender as soon as possible and destroy this message.

------_=_NextPart_001_01C3E772.91227B70
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<html>

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">


<meta name=3DGenerator content=3D"Microsoft Word 10 (filtered)">

<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{font-family:Arial;
	color:windowtext;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I believe I have found a bug in the =
RtfExternalGraphic
class.</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>The writeRtfContentWithException method contains =
code to
write pichgoal and/or picwgoal to the rtf file. &nbsp;However, there is =
also
code to write pich and picw and picscaley and picscalex.&nbsp; Editors =
such as
the ubiquitous MS Word first apply the scaling to the pich and picw
values.&nbsp; In and of itself this is great.&nbsp; However, it then =
applies
the pichgoal and picwgoal.&nbsp; These are similar to pich and picw, =
but
measured in twips rather than pixels.&nbsp; This results in a thin or =
small
image.</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I want to remove the pichgoal and picwgoal code from =
the
file. &nbsp;How do I enter a bug?&nbsp; Better yet, where can I check =
in a
change if possible?</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Does anyone see a problem with this =
proposal?</span></font></p>

</div>

</body>

</html>

<P><FONT SIZE=3D2 FACE=3D"Arial">This electronic transmission is =
strictly confidential to Smith & Nephew and intended solely for the =
addressee.  It may contain information which is covered by legal, =
professional or other privilege.  If you are not the intended =
addressee, or someone authorized by the intended addressee to receive =
transmissions on behalf of the addressee, you must not retain, disclose =
in any form, copy or take any action in reliance on this transmission.  =
If you have received this transmission in error, please notify the =
sender as soon as possible and destroy this message.</FONT></P>

------_=_NextPart_001_01C3E772.91227B70--


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn