I'm having a problem with the newest version of WPTools.
I keep all of my documents in WPT format and then save them as RTF using RTFNoBinary (so Word can open them with images) when needed. Everything worked perfectly in 5.20.6. I upgraded to 5.20.8 and now I am having problems. Some documents won't open in Word, is says they are corrupt.
The following is an example of a WPT document that will open in Word when exporting to RTF from 5.20.6, but will not open in Word when exporting to RTF from 5.20.8.
Here is the original WPT code:
Code
<!WPTools_Format V=518/>
<GlobalPageFormat wpcss="landscape:0;paperw:12240;paperh:15840;margr:720;margl:720;margt:720;margb:720;marg_header:254;marg_footer:254;deftabstop:720;marginmirror:0;"/>
<variables>
<variable name="Title" data="ansi" text="ExitCare Patient Information"/>
<variable name="Author" data="ansi" text="MedQuest, LLC"/>
<variable name="Operator" data="ansi" text="MedQuest, LLC"/></variables>
<numberstyles><nstyle id=1 wpsty=[[NumberMode:24;NumberINDENT:360;NumberTEXTB:'l';CharFont:'WingDings';]]/>
<nstyle id=2 wpsty=[[NumberMode:19;NumberINDENT:360;]]/>
<nstyle id=3 wpsty=[[NumberMode:1;NumberINDENT:360;NumberTEXTA:'.';]]/>
<nstyle id=4 wpsty=[[NumberMode:2;NumberINDENT:360;NumberTEXTA:'.';]]/>
<nstyle id=5 wpsty=[[NumberMode:3;NumberINDENT:360;NumberTEXTA:'.';]]/>
<nstyle id=6 wpsty=[[NumberMode:4;NumberINDENT:360;NumberTEXTA:')';]]/>
<nstyle id=7 wpsty=[[NumberMode:5;NumberINDENT:360;NumberTEXTA:')';]]/>
<nstyle id=8 wpsty=[[NumberMode:6;NumberINDENT:360;]]/>
<nstyle id=9 wpsty=[[NumberMode:7;NumberINDENT:360;]]/>
<nstyle id=10 wpsty=[[NumberMode:8;NumberINDENT:360;]]/>
<nstyle id=11 wpsty=[[NumberMode:15;NumberINDENT:360;]]/>
<nstyle id=12 wpsty=[[NumberMode:16;NumberINDENT:360;]]/>
<nstyle id=13 wpsty=[[NumberMode:23;NumberINDENT:360;]]/>
<nstyle id=284564 wpsty=[[NumberTEXTB:'p';CharFont:'WingDings';NumberMode:24;NumberINDENT:360;]]/>
<nstyle id=284565 wpsty=[[NumberTEXTB:'n';CharFont:'WingDings';NumberMode:24;NumberINDENT:360;]]/>
<nstyle id=284566 wpsty=[[NumberTEXTB:'v';CharFont:'WingDings';NumberMode:24;NumberINDENT:360;]]/>
<nstyle id=284567 group=1 level=1 wpsty=[[NumberMode:2;NumberTEXTA:'.';NumberINDENT:360;]]/>
<nstyle id=284568 group=1 level=2 wpsty=[[NumberMode:4;NumberTEXTA:'.';NumberINDENT:360;]]/>
<nstyle id=284569 group=1 level=3 wpsty=[[NumberMode:1;NumberTEXTA:'.';NumberINDENT:360;]]/>
<nstyle id=284570 group=1 level=4 wpsty=[[NumberMode:5;NumberTEXTA:')';NumberINDENT:360;]]/>
<nstyle id=284571 group=1 level=5 wpsty=[[NumberMode:3;NumberTEXTA:')';NumberTEXTB:'(';NumberINDENT:360;]]/>
<nstyle id=284572 group=1 level=6 wpsty=[[NumberMode:5;NumberTEXTA:')';NumberTEXTB:'(';NumberINDENT:360;]]/>
<nstyle id=284573 group=1 level=7 wpsty=[[NumberMode:1;NumberTEXTA:')';NumberTEXTB:'(';NumberINDENT:360;]]/>
<nstyle id=284574 group=1 level=8 wpsty=[[NumberMode:1;NumberTEXTA:')';NumberTEXTB:'(';NumberINDENT:360;]]/>
<nstyle id=284575 group=1 level=9 wpsty=[[NumberMode:1;NumberTEXTA:')';NumberTEXTB:'(';NumberINDENT:360;]]/>
<nstyle id=248014 wpsty=[[NumberTEXTB:'p';CharFont:'WingDings';NumberMode:24;NumberINDENT:360;]]/>
<nstyle id=248015 wpsty=[[NumberTEXTB:'n';CharFont:'WingDings';NumberMode:24;NumberINDENT:360;]]/>
<nstyle id=248016 wpsty=[[NumberTEXTB:'v';CharFont:'WingDings';NumberMode:24;NumberINDENT:360;]]/>
<nstyle id=139 wpsty=[[NumberTEXTB:'p';CharFont:'WingDings';NumberMode:24;NumberINDENT:360;]]/>
<nstyle id=140 wpsty=[[NumberTEXTB:'n';CharFont:'WingDings';NumberMode:24;NumberINDENT:360;]]/>
<nstyle id=141 wpsty=[[NumberTEXTB:'v';CharFont:'WingDings';NumberMode:24;NumberINDENT:360;]]/>
<nstyle id=151 wpsty=[[NumberMode:24;NumberTEXTB:'Ø';CharFont:'WingDings';NumberINDENT:360;CharFontSize:1000;CharColor:clRed;]]/>
<nstyle id=152 wpsty=[[NumberMode:24;NumberTEXTB:'l';CharFont:'WingDings';NumberINDENT:360;CharFontSize:700;CharColor:clRed;]]/>
</numberstyles>
<stylesheet><pstyle name="EC Normal" nr=1 wpsty=[[Alignment:0;IndentLeft:0;IndentRight:0;CharFont:'Times New Roman';CharFontSize:1200;CharColor:clBlack;]]/>
<pstyle name="EC Title" nr=2 wpsty=[[Alignment:1;IndentLeft:0;IndentRight:0;CharStyleMask:1;CharStyleON:1;CharFont:'Arial';CharFontSize:2400;CharColor:clRed;]]/>
<pstyle name="EC Sub Title" nr=3 base=2 wpsty=[[Alignment:1;IndentLeft:0;IndentRight:0;CharStyleMask:1;CharStyleON:1;CharFont:'Arial';CharFontSize:1800;CharColor:clRed;]]/>
<pstyle name="EC Section Heading" nr=4 wpsty=[[Alignment:0;IndentLeft:0;IndentRight:0;CharStyleMask:128;CharStyleON:128;CharFontSize:1200;CharColor:clRed;CharFont:'Times New Roman';ParIsOutline:1;]]/>
<pstyle name="EC Section Heading 2" nr=5 base=4 wpsty=[[Alignment:0;IndentLeft:0;IndentRight:0;CharStyleMask:129;CharStyleON:129;CharFontSize:1200;CharColor:clRed;CharFont:'Times New Roman';ParIsOutline:1;]]/>
<pstyle name="EC Bullet" nr=6 wpsty=[[Alignment:0;IndentFirst:-202;IndentLeft:360;IndentRight:0;CharFontSize:1200;CharFont:'Times New Roman';NumberStyle:151;]]/>
<pstyle name="EC Bullet 2" nr=7 wpsty=[[Alignment:0;IndentFirst:-202;IndentLeft:576;IndentRight:0;CharFontSize:1200;CharFont:'Times New Roman';NumberStyle:152;]]/>
<pstyle name="EC Numbers" nr=8 wpsty=[[NumberStyle:3;CharFont:'Times New Roman';CharFontSize:1200;]]/>
<pstyle name="EC Table" nr=9 wpsty=[[CharFont:'Times New Roman';CharFontSize:1100;]]/>
</stylesheet><cs nr=1 wpsty=[[CharFont:'Arial';CharFontSize:2400;CharStyleMask:1;CharStyleON:1;CharColor:clRed;]]/><div cs=1 base=2><c nr=1/>Bronchoscopy</div>
<cs nr=2 wpsty=[[CharFont:'Times New Roman';CharFontSize:1200;]]/><div cs=2 wpsty=[[IndentLeft:0;IndentRight:0;]]></div>
<div cs=2 wpsty=[[IndentLeft:0;IndentRight:0;]]><c nr=2/>Bronchoscopy is a procedure for diagnosing problems in the lungs. It allows your caregiver to examine the passageways in the lungs by direct exam. This is accomplished by use of a <cs nr=3 wpsty=[[CharFont:'Times New Roman';CharFontSize:1200;CharStyleMask:2;CharStyleON:2;]]/><c nr=3/>flexible fiberoptic bronchoscope<c nr=2/> (like a flexible telescope) which is passed down to the air passageways to be examined. Prior to this exam you may be given medications to relax you, dry up your secretions, and to control your coughing. The medication which drys up secretions will make your mouth very dry. <c nr=3/> Medications<c nr=2/> (local anesthetics) are given to numb the mouth, nose, throat, and <c nr=3/>larynx<c nr=2/> (voice box). During this procedure, your breathing is <c nr=3/>not<c nr=2/> obstructed, and you will be able to breath normally during the procedure. If <c nr=3/>biopsies <c nr=2/>(tissue samples) are needed in the outer portions of the lung, sometimes <c nr=3/>fluoroscopy<c nr=2/> (a special type of x-ray) is required. Abnormal areas will be brushed or biopsied for examination under a microscope. If any bleeding occurs from these areas epinephrine may be used to <c nr=3/>constrict<c nr=2/> the blood vessels (make the vessels smaller) to stop or decrease the bleeding. You may receive a chest x-ray following the procedure to make sure the lungs have not collapsed (a condition called pneumothorax).</div>
<div cs=2 wpsty=[[IndentLeft:0;IndentRight:0;]]></div>
<cs nr=4 wpsty=[[CharFont:'Times New Roman';CharFontSize:1200;CharStyleMask:128;CharStyleON:128;CharColor:clBlack;]]/><div cs=4 base=4><cs nr=5 wpsty=[[CharFont:'Times New Roman';CharFontSize:1200;CharStyleMask:128;CharStyleON:128;CharColor:clRed;]]/><c nr=5/>LET YOUR CAREGIVER KNOW ABOUT THE FOLLOWING:</div>
<table cs=2 wpsty=[[BoxMarginLeft:-108;]]><tr wpsty=[[PaddingLeft:108;PaddingRight:108;]]><td cs=2 base=6 wpsty=[[NumberStyle:142;ShadingType:2;COLWIDTH:5508;TabL:360;]]><c nr=2/>Allergies<div cs=2 base=6 wpsty=[[NumberStyle:142;TabL:360;]]><c nr=2/>Medications taken including herbs, eye drops, over the counter medications, and creams</div>
<div cs=2 base=6 wpsty=[[NumberStyle:142;TabL:360;]]><c nr=2/>Use of steroids (by mouth or creams)</div>
<div cs=2 base=6 wpsty=[[NumberStyle:142;TabL:360;]]><c nr=2/>Previous problems with anesthetics or novocaine</div>
</td>
<td cs=2 base=6 wpsty=[[NumberStyle:142;ShadingType:2;COLWIDTH:5508;TabL:360;]]><c nr=2/>Possibility of pregnancy, if this applies<div cs=2 base=6 wpsty=[[NumberStyle:142;TabL:360;]]><c nr=2/>History of blood clots (thrombophlebitis)</div>
<div cs=2 base=6 wpsty=[[NumberStyle:142;TabL:360;]]><c nr=2/>History of bleeding or blood problems</div>
<div cs=2 base=6 wpsty=[[NumberStyle:142;TabL:360;]]><c nr=2/>Previous surgery</div>
<div cs=2 base=6 wpsty=[[NumberStyle:142;TabL:360;]]><c nr=2/>Other health problems</div>
</td>
</tr>
</table>
<div cs=2 wpsty=[[IndentLeft:0;IndentRight:0;]]></div>
<div cs=4 base=4><c nr=5/>FOR YOUR COMFORT DURING THE TEST</div>
<div cs=2 base=6 wpsty=[[NumberStyle:142;TabL:360;]]><c nr=2/>Relax as much as possible during the test.</div>
<div cs=2 base=6 wpsty=[[NumberStyle:142;TabL:360;]]><c nr=2/>Try to follow your caregiver's instructions to speed up the test.</div>
<div cs=2 wpsty=[[IndentLeft:0;IndentRight:0;]]></div>
<div cs=4 base=4><c nr=5/>PATIENT INSTRUCTIONS <cs nr=6 wpsty=[[CharFont:'Times New Roman';CharFontSize:1200;CharStyleMask:129;CharStyleON:129;CharColor:clRed;]]/><c nr=6/>PRIOR<c nr=5/> TO TEST</div>
<div cs=2 base=6 wpsty=[[NumberStyle:142;TabL:360;]]><c nr=2/>Sign consent form. This form gives your caregiver the right to perform the procedure and means that you are aware of the value and risks of the procedure.</div>
<div cs=2 base=6 wpsty=[[NumberStyle:142;TabL:360;]]><c nr=2/>Nothing by mouth eight hours prior to test.</div>
<div cs=2 wpsty=[[IndentLeft:0;IndentRight:0;]]></div>
<div cs=4 base=4><c nr=5/>FOLLOWING YOUR TEST</div>
<div cs=2 base=6 wpsty=[[NumberStyle:142;TabL:360;]]><c nr=2/>You may resume normal activities.</div>
<div cs=2 base=6 wpsty=[[NumberStyle:142;TabL:360;]]><c nr=2/>Call your caregiver for results or return for appointment in 3 days, or as instructed by your caregiver, if biopsies were taken</div>
<div cs=2 base=6 wpsty=[[NumberStyle:142;TabL:360;]]><c nr=2/>Nothing by mouth until your cough and gag reflexes have returned. There is danger of burning yourself or getting food or water into your lungs when your mouth and airways are numb.</div>
<cs nr=7 wpsty=[[CharFont:'Times New Roman';CharFontSize:1200;CharColor:clBlack;]]/><div cs=7 wpsty=[[IndentLeft:0;IndentRight:0;]]></div>
<div cs=6 base=5><c nr=6/>Call or return immediately if you should become lightheaded, faint, cough up blood, develop shortness of breath or develop chest pain</div>
<div cs=2 wpsty=[[IndentLeft:0;IndentRight:0;]]></div>
<div cs=7 wpsty=[[IndentLeft:0;IndentRight:0;]]></div>
Alles anzeigen