Andreas, I think, adressed most of your points already. I'll just try to complement...
On 03.06.2008 10:44:37 Martin Edge wrote: > Hey Guys, > > Is there any information available on how the Intermediate Format works? Not really, except if you read Java source code. It's not a designed format but an evolved or implicit one (it's simply the area tree serialized to an XML file). > I am trying to modify my barcode text.. but the file seems very fragile. I’ve > added the PCL codes and tried to manipulate text, and the file ends up all > screwy..The file definitely is XML parsable.. and it’s output using > XmlDocument in c# .NET. > > There's one string I have to modify that is broken up into chunks, which > isn't helping my situation I think. > > The two strings I am trying to modify (in each page) is the *1234567890MLQIS* > with *0000001441* for example. > > The other is part of many "<text>'s".. when joined together. The string is > *MDA*\d-\d-\d*MDA* *123456123* of which I am replacing with > 0000001/0000010/i1 for example. > > <paste-spam> > <regionViewport ipd="14173" bpd="807489" ipda="14173" bpda="807489" > bap="0 0 0 0" is-viewport-area="true" rect="11350 20200 14173 807489"> > <regionStart ipd="14173" bpd="807489" ipda="14173" bpda="807489" > bap="0 0 0 0" is-reference-area="true" name="xsl-region-start" ctm="[1.0 0.0 > 0.0 1.0 11350.0 20200.0]"> > <block ipd="14173" bpd="680000" ipda="14173" bpda="680000" bap="0 > 0 0 0" is-viewport-area="true" ctm="[0.0 -1.0 1.0 0.0 0.0 680000.0]"> > <block ipd="680000" bpd="21600" ipda="680000" bpda="21600" > bap="0 0 0 0" is-reference-area="true"> > <block ipd="680000" bpd="21600" ipda="680000" bpda="21600" > bap="0 0 0 0" background="color=#ffffff" > bkg-color="java.awt.Color[r=255,g=255,b=255]"> > <lineArea ipd="680000" bpd="13626" ipda="680000" > bpda="21600" bap="0 0 0 0" space-before="3987" space-after="3987"> > <text offset="0" baseline="13500" ipd="177480" > bpd="13626" ipda="177480" bpda="13626" bap="0 0 0 0" font-name="3 of 9 > Barcode" font-style="normal" font-weight="400" font-size="18000" > color="#000000"> > <word offset="0">*1234567890MLQIS*</word> > </text> > </lineArea> > </block> > </block> > </block> > </regionStart> > </regionViewport> > <regionViewport ipd="558402" bpd="14173" ipda="558402" bpda="14173" > bap="0 0 0 0" is-viewport-area="true" rect="25523 813516 558402 14173"> > <regionAfter ipd="558402" bpd="14173" ipda="558402" bpda="14173" > bap="0 0 0 0" is-reference-area="true" name="xsl-region-after" ctm="[1.0 0.0 > 0.0 1.0 25523.0 813516.0]"> > <block ipd="528402" bpd="7200" ipda="528402" bpda="7200" bap="0 0 > 0 0" background="color=#ffffff" bkg-color="java.awt.Color[r=255,g=255,b=255]" > space-end="30000" end-indent="30000"> > <lineArea ipd="528402" bpd="5484" ipda="528402" bpda="7200" > bap="0 0 0 0" start-indent="442019" space-before="858" space-after="858"> > <text offset="0" baseline="4297" ipd="18003" bpd="5484" > ipda="18003" bpda="5484" bap="0 0 0 0" font-name="Helvetica" > font-style="normal" font-weight="400" font-size="6000" color="#000000"> > <word offset="0">*MDA*</word> > </text> > <text offset="0" baseline="4297" ipd="3337" bpd="5484" > ipda="3337" bpda="5484" bap="0 0 0 0" font-name="Helvetica" > font-style="normal" font-weight="400" font-size="6000" color="#000000"> > <word offset="0">1</word> > </text> > <text offset="0" baseline="4297" ipd="1998" bpd="5484" > ipda="1998" bpda="5484" bap="0 0 0 0" font-name="Helvetica" > font-style="normal" font-weight="400" font-size="6000" color="#000000"> > <word offset="0">-</word> > </text> > <text offset="0" baseline="4297" ipd="3337" bpd="5484" > ipda="3337" bpda="5484" bap="0 0 0 0" font-name="Helvetica" > font-style="normal" font-weight="400" font-size="6000" color="#000000"> > <word offset="0">1</word> > </text> > <text offset="0" baseline="4297" ipd="1998" bpd="5484" > ipda="1998" bpda="5484" bap="0 0 0 0" font-name="Helvetica" > font-style="normal" font-weight="400" font-size="6000" color="#000000"> > <word offset="0">-</word> > </text> > <text offset="0" baseline="4297" ipd="3337" bpd="5484" > ipda="3337" bpda="5484" bap="0 0 0 0" font-name="Helvetica" > font-style="normal" font-weight="400" font-size="6000" color="#000000"> > <word offset="0">4</word> > </text> > <text offset="0" baseline="4297" ipd="54373" bpd="5484" > ipda="54373" bpda="5484" bap="0 0 0 0" font-name="Helvetica" > font-style="normal" font-weight="400" font-size="6000" color="#000000"> > <word offset="0">*MDA*</word> > <space offset="0"> </space> > <word offset="0">*123456123*</word> > </text> > </lineArea> > </block> > </regionAfter> > </regionViewport> > </paste-spam> > > I’m assuming I'm having problems because all the <word>blasdf</word> has > length definitions and all sorts of stuff around it. I think it shouldn't be a problem if you just collapse the individual text elements into one and use spaces inside the word element. I haven't tried it out myself, though, but it's worth a try. > > If anyone could point me in the right direction – that’d be great ☺ > > Thanks > Martin. > Good luck! Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
