Editing Text in the Intermediate Format

2008-06-03 Thread Martin Edge
Hey Guys, Is there any information available on how the Intermediate Format works? 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

Re: Editing Text in the Intermediate Format

2008-06-03 Thread Andreas Delmelle
On Jun 3, 2008, at 10:57, Martin Edge wrote: I don't half wonder whether the Intermediate parser is a little dodgey? I'm pretty sure I'm not doing anything silly, but I get the intermediate file I generate, process that to PCL, I can see it fine. I simply open the .AT file, paste into

Re: Editing Text in the Intermediate Format

2008-06-03 Thread paul womack
Martin Edge wrote: Hey Guys, The file definitely is XML parsable.. and it’s output using XmlDocument in c# .NET. XML parseable is a low hurdle! It also needs to represent the correct semantics for FOP... BugBear - To

RE: Editing Text in the Intermediate Format

2008-06-03 Thread Martin Edge
Hm... I'm editing the Intermediate file directly.. but It's possible I suppose it applies to that as well.. Will give stripping it entirely of spaces.. if that's the solution, shouldn't we add logic to clean it of spaces before attempting a PCL conversion? Depending on the file size it might

Re: Editing Text in the Intermediate Format

2008-06-03 Thread Jeremias Maerki
On 03.06.2008 15:22:04 Martin Edge wrote: Hm... I'm editing the Intermediate file directly.. but It's possible I suppose it applies to that as well.. Will give stripping it entirely of spaces.. if that's the solution, shouldn't we add logic to clean it of spaces before attempting a PCL

RE: Editing Text in the Intermediate Format

2008-06-03 Thread Martin Edge
Sorry - also should have added XmlDocument thisDocument = new XmlDocument(); thisDocument.Load(myXML); don't use: thisDocument.Save(newFile); use: thisDocument.InnerXml.ToString() instead and save the file yourself. -Original Message- From: Martin Edge [mailto:[EMAIL PROTECTED]

Font auto detection combined with font aliases

2008-06-03 Thread Ingo Maas
Hallo, I have a little problem with the Windows font Times New Roman. The Word2FO stylesheet from RenderX does a normalization of font family names, resulting in TimesNewRoman (without spaces) in the XSL-FO which FOP fails to resolve using its font auto detection feature. When using the old

RE: Editing Text in the Intermediate Format

2008-06-03 Thread Martin Edge
Looks like PreserveWhiteSpace flag in the XmlDocument object seems to be doing the trick so far. (in c#) -Original Message- From: Jeremias Maerki [mailto:[EMAIL PROTECTED] Sent: Tuesday, 3 June 2008 11:30 PM To: fop-users@xmlgraphics.apache.org Subject: Re: Editing Text in the

Re: Editing Text in the Intermediate Format

2008-06-03 Thread Andreas Delmelle
On Jun 3, 2008, at 15:30, Jeremias Maerki wrote: On 03.06.2008 15:22:04 Martin Edge wrote: Hm... I'm editing the Intermediate file directly.. but It's possible I suppose it applies to that as well.. Will give stripping it entirely of spaces.. if that's the solution, shouldn't we add logic

0.94 AND 0.95b Images

2008-06-03 Thread _zachary_
Hey Guys, I would love some help on this issue because it has been driving me crazy. First, let me describe what I am trying to do. I am trying to make images that are bigger than my fo:block shrink to the size of the block, breaking it off to its own line, so that no text is before or after

Re: 0.94 AND 0.95b Images

2008-06-03 Thread _zachary_
Andreas!!! I LOVE YOU! That worked beautifully! Thank you so much for your help. zach _zachary_ wrote: As long as I do not do anything to my smaller images they work fine, however, I want to use the same code for big and small images without having to check for the widths. e.g. This

Re: 0.94 AND 0.95b Images

2008-06-03 Thread _zachary_
As long as I do not do anything to my smaller images they work fine, however, I want to use the same code for big and small images without having to check for the widths. e.g. This is what happens when i don't add any attributes to my external-graphics, all I add is a src.

Re: 0.94 AND 0.95b Images

2008-06-03 Thread Andreas Delmelle
On Jun 3, 2008, at 18:51, _zachary_ wrote: As long as I do not do anything to my smaller images they work fine, however, I want to use the same code for big and small images without having to check for the widths. e.g. This is what happens when i don't add any attributes to my

FOP 0.94 AND 0.95b

2008-06-03 Thread _zachary_
I have this test fo file. In FOP 0.94 the vertical line does not float over the content, and in FOP 0.95b it does. Is this some fix or something that was implemented into 0.95 or something? If so is there any way to get the same results that 0.94 returns? Thank you all for your help. zach

Re: FOP 0.94 AND 0.95b

2008-06-03 Thread Andreas Delmelle
On Jun 3, 2008, at 20:52, _zachary_ wrote: Hi I have this test fo file. In FOP 0.94 the vertical line does not float over the content, and in FOP 0.95b it does. Is this some fix or something that was implemented into 0.95 or something? If so is there any way to get the same results

RE: Editing Text in the Intermediate Format

2008-06-03 Thread Martin Edge
My latest problem is the Intermediate file is 800Mb.. and when loading into XmlDocument's Load method.. I run out of memory.. Guess I'll have to try and figure out how the heck you read/modify files of this size in c# Fun fun! Any tips? :) Thanks Martin. -Original Message- From: