When i try to load the following fp3 file with the following code snip
if ( frxPreview1 ) {
frxPreview1->AddPage();
frxPreview1->LoadFromFile ( filename );
frxPreview1->Show();
}
run the code, it displays a error dialog:
class b1 not found
// test1.fp3
<?xml version="1.0" encoding="utf-8"?><preparedreport>
<previewpages>
<page0>
<b1 t="0" h="13">
<p1 h="20" ImageIndex="1"/>
<p2 h="20" ImageIndex="2"/>
<m1 h="27" u=""/>
<m2 h="27" u="BALANCE"/>
<m3 h="27" u="CREDIT"/>
<m4 h="27" u="8-10 YOUNG STREET"/>
<m5 h="27" u=""/>
<m6 h="27" u="BACCHUS MARSH 3340"/>
<m7 h="27" u="B.T.C BACCHUS MARSH"/>
<m8 h="27" u="DATE"/>
<m9 h="27" u="DEBIT"/>
<m10 h="27" u=""/>
<m11 h="27" u="Page: 1 of [TotalPages#]"/>
<m12 h="27" u="REF."/>
<m13 h="27" u="19/02/2010"/>
<m14 h="27" u="Statement Of Account"/>
<m15 h="27" u="For the period ending"/>
<m16 h="27" u="ΓΌ"/>
<m17 h="27" u="302 BAY ROAD"/>
<m18 h="27" u="CHELTENHAM VIC 3192"/>
<m19 h="27" u="TEL:(03) 9583-1222"/>
<m20 h="27" u="FAX:(03) 9583-6177"/>
<m21 h="27" u="BAY ROAD TYRE & BRAKE SERVICE"/>
<m22 h="27" u="ABN: 25 715 897 917"/>
<m23 h="27" u=""/>
</b1>
<TfrxNullBand Height="1046.92981" Left="0" Top="0" Width="718.1107"/>
<b3 t="338.26793">
<m41 Highlight.Active="1" u=""/>
<m42 u=""/>
<m43 u=""/>
<m44 u=""/>
<m45 u=""/>
<m46 u=""/>
<m47 u=""/>
<m48 u=""/>
<m49 u=""/>
<m50 u=""/>
<m51 u=""/>
<l9/>
<m52 u=""/>
</b3>
<b3 t="353.38605">
<m41 u=""/>
<m42 u=""/>
<m43 u=""/>
<m44 u=""/>
<m45 u=""/>
<m46 u=""/>
<m47 u=""/>
<m48 u=""/>
<m49 u=""/>
<m50 u=""/>
<m51 u=""/>
<l9/>
<m52 u=""/>
</b3>
<b3 t="368.50417">
<m41 Highlight.Active="1" u=""/>
<m42 u=""/>
<m43 u=""/>
<m44 u=""/>
<m45 u=""/>
<m46 u="EFT can be paid to ROCLI Pty Ltd"/>
<m47 u=""/>
<m48 u=""/>
<m49 u=""/>
<m50 u=""/>
<m51 u=""/>
<l9/>
<m52 u=""/>
</b3>
<b3 t="383.62229">
<m41 u=""/>
<m42 u=""/>
<m43 u=""/>
<m44 u=""/>
<m45 u=""/>
<m46 u="BSB: 033 265 A/C: 17 4808"/>
<m47 u=""/>
<m48 u=""/>
<m49 u=""/>
<m50 u=""/>
<m51 u=""/>
<l9/>
<m52 u=""/>
</b3>
<b5 t="398.74041"><m57 u=""/><l11/></b5><b5 t="415.74828402"><m57 u=""/><l11/></b5><b5 t="432.75615804"><m57 u=""/><l11/></b5><b5 t="449.76403206"><m57 u=""/><l11/></b5><b5 t="466.77190608"><m57 u=""/><l11/></b5><b5 t="483.7797801"><m57 u=""/><l11/></b5><b5 t="500.78765412"><m57 u=""/><l11/></b5><b5 t="517.79552814"><m57 u=""/><l11/></b5><b5 t="534.80340216"><m57 u=""/><l11/></b5><b5 t="551.81127618"><m57 u=""/><l11/></b5><b5 t="568.8191502"><m57 u=""/><l11/></b5><b5 t="585.82702422"><m57 u=""/><l11/></b5><b5 t="602.83489824"><m57 u=""/><l11/></b5><b5 t="619.84277226"><m57 u=""/><l11/></b5><b5 t="636.85064628"><m57 u=""/><l11/></b5><b5 t="653.8585203"><m57 u=""/><l11/></b5><b5 t="670.86639432"><m57 u=""/><l11/></b5><b5 t="687.87426834"><m57 u=""/><l11/></b5><b5 t="704.88214236"><m57 u=""/><l11/></b5><b5 t="721.89001638"><m57 u=""/><l11/></b5><b5 t="738.8978904"><m57 u=""/><l11/></b5><b5 t="755.90576442"><m57 u=""/><l11/></b5><b5 t="772.91363844"><m57 u=""/><l11/></b5><b5 t="789.92151246"><m57 u=""/><l11/></b5><b5 t="806.92938648"><m57 u=""/><l11/></b5><b5 t="823.9372605"><m57 u=""/><l11/></b5><b5 t="840.94513452"><m57 u=""/><l11/></b5><b5 t="857.95300854"><m57 u=""/><l11/></b5><b5 t="874.96088256"><m57 u=""/><l11/></b5><b4 t="891.96875658"><m53 u=""/><m54 u="""/><l10/><m55 u="Please return this portion with your remittance."/><m56 u=""/></b4><b2 t="944.8825"><m24 u="Remittance advice for: BTCBAC"/><m25 u="0.00 "/><m26 u="0.00 "/><m27 u="0.00 "/><m28 u="30 Days"/><m29 u="60 Days"/><m30 u="90+ Days"/><m31 u="0.00 "/><m32 u="BALANCE OWING:"/><m33 u="0.00 "/><m34 u="CURRENT"/><m35 u="OVERDUE"/><l1/><l2/><l3/><l4/><l5/><l6/><l7/><l8/><m36 u="Payment Amount"/><m37 u="Payment Date"/><m38 u="$"/><m39 u=" / /"/><m40 u="B.T.C BACCHUS MARSH"/></b2></page0>
</previewpages>
<logicalpagenumbers>
<page n="1" t="1"/>
</logicalpagenumbers>
<outline/>
<report>
<TfrxReport DotMatrixReport="0" PreviewOptions.OutlineVisible="0" PreviewOptions.OutlineWidth="120" ReportOptions.Name="OpenItemStatement"/>
</report>
<sourcepages>
<TfrxReportPage PaperWidth="210" PaperHeight="297" PaperSize="9" LeftMargin="10" RightMargin="10" TopMargin="10" BottomMargin="10" ColumnWidth="0" ColumnPositions.Text="" HGuides.Text="" VGuides.Text=""/>
</sourcepages>
<dictionary>
<b1 name="Page0.OpenItemStatementHeader"/>
<b2 name="Page0.OpenItemStatementFooter"/>
<b3 name="Page0.OpenItemStatementMasterData"/>
<b4 name="Page0.ReportSummary1"/>
<b5 name="Page0.Child1"/>
<l1 name="Page0.Line3"/>
<l10 name="Page0.TearOffLine"/>
<l11 name="Page0.ChildVertLine"/>
<l2 name="Page0.Line4"/>
<l3 name="Page0.Line5"/>
<l4 name="Page0.Line7"/>
<l5 name="Page0.Line8"/>
<l6 name="Page0.Line9"/>
<l7 name="Page0.Line10"/>
<l8 name="Page0.Line11"/>
<l9 name="Page0.MasterDetailVertLine"/>
<m1 name="Page0.Memo2"/>
<m10 name="Page0.Memo16"/>
<m11 name="Page0.Memo17"/>
<m12 name="Page0.Memo18"/>
<m13 name="Page0.Memo19"/>
<m14 name="Page0.Memo20"/>
<m15 name="Page0.Memo21"/>
<m16 name="Page0.Memo22"/>
<m17 name="Page0.Memo1"/>
<m18 name="Page0.Memo4"/>
<m19 name="Page0.Memo5"/>
<m2 name="Page0.Memo3"/>
<m20 name="Page0.Memo6"/>
<m21 name="Page0.Memo7"/>
<m22 name="Page0.Memo8"/>
<m23 name="Page0.Memo23"/>
<m24 name="Page0.PF_CustomerCode"/>
<m25 name="Page0.PF_BalanceAge1"/>
<m26 name="Page0.PF_BalanceAge2"/>
<m27 name="Page0.PF_BalanceAge3"/>
<m28 name="Page0.PF_BalanceHeading1"/>
<m29 name="Page0.PF_BalanceHeading2"/>
<m3 name="Page0.Memo9"/>
<m30 name="Page0.PF_BalanceHeading3"/>
<m31 name="Page0.PF_BalanceOwing"/>
<m32 name="Page0.PF_BalanceOwingLabel"/>
<m33 name="Page0.PF_CurrentBalance"/><m34 name="Page0.PF_CurrentHeading"/>
<m35 name="Page0.PF_OverdueHeading"/><m36 name="Page0.PF_PaymentAmount"/>
<m37 name="Page0.PF_PaymentDate"/>
<m38 name="Page0.PF_PaymentAmountSymbol"/>
<m39 name="Page0.PF_PaymentDateGuide"/>
<m4 name="Page0.Memo10"/>
<m40 name="Page0.PF_CustomerName"/>
<m41 name="Page0.Border1"/>
<m42 name="Page0.Discount"/>
<m43 name="Page0.Description"/><m44 name="Page0.Amount"/>
<m45 name="Page0.CreditAmount"/><m46 name="Page0.InfoLine"/>
<m47 name="Page0.Debit"/>
<m48 name="Page0.Balance"/>
<m49 name="Page0.Credit"/>
<m5 name="Page0.Memo11"/>
<m50 name="Page0.Reference"/>
<m51 name="Page0.RptDate"/>
<m52 name="Page0.SecondInfoLine"/>
<m53 name="Page0.MasterDataBottomLine"/>
<m54 name="Page0.Scissors"/>
<m55 name="Page0.TearOffText"/>
<m56 name="Page0.GeneralMsgLine"/>
<m57 name="Page0.PageEdges"/>
<m6 name="Page0.Memo12"/>
<m7 name="Page0.Memo13"/>
<m8 name="Page0.Memo14"/>
<m9 name="Page0.Memo15"/>
<p1 name="Page0.Picture2"/>
<p2 name="Page0.Picture1"/>
</dictionary>
</preparedreport>
