Newbie question on Area Tree XML and testcases

2006-09-29 Thread Andrejus Chaliapinas
Hello, I'm trying a little bit understand FOP dev. internals and please correct me if I wrong. When I run Junit layout testcase - it generates me under test-results some XML file in form of Area Tree XML, from which I could produce PDF file. But for me it's not clear how I would know in advance wh

RE: Newbie question on Area Tree XML and testcases

2006-09-29 Thread Andrejus Chaliapinas
> Normally, I just construct the FO part in the test case and then run the > thing once so I get the current area tree XML. I obviously get an error > if I have no checks, because we don't want any test cases without checks. > When I have a first area tree XML I create the first checks I can build.

RE: Newbie question on Area Tree XML and testcases

2006-09-29 Thread Andrejus Chaliapinas
> Andrejus, > > I've created a project on sourceforge to generate pdf reports from JUnit > tests. > > It's called JUnit PDF Report, an can be found here: > > http://junitpdfreport.sourceforge.net > > It uses FOP to render the JUnit XML docs into a PDF. > > Regards, Jan Great, What about next

RE: Newbie question on Area Tree XML and testcases

2006-09-29 Thread Andrejus Chaliapinas
> Are you not running the org.apache.fop.layoutengine.LayoutEngineTestSuite > using Eclipse's own JUnit support? That's the easiest way. Choosing the > default working directory, everything works fine and you really only run > the tests you need. It seems to me you're running the junit tasks from >

Questions regarding junit testcase table_table-layout_auto_1.xml

2006-09-30 Thread Andrejus Chaliapinas
Hi, When I run that testcase I get this console output: [junit] [INFO] LayoutEngineTestSuite$1 - Starting table_table-layout_auto_1.xml [junit] [WARN] FONode - Warning(Unknown location): fo:table, table-layout="auto" is currently not supported by FOP [junit] [WARN] BreakingAlgorithm -

Where could I read more about ipd/ipda/bpd/bpda values calculation?

2006-10-02 Thread Andrejus Chaliapinas
Hello, While some of you already told me that I should look through XSL-FO for those calculations (Jeremias mentioned how I would get value of 14400) - I still would like to ask you if you could point me to any document (probably with several samples), which discusses that in more details. I'm wo

RE: Where could I read more about ipd/ipda/bpd/bpda values calculation?

2006-10-02 Thread Andrejus Chaliapinas
Hi Manuel, > unfortunately for the purpose of understanding the area tree, the > terminology, and the geometry the XSL-FO specification is your best > friend Yes, I've heard that before. Hope that support/extensive documentation will grow up later. It's usually the case with dynamically progressi

Question on protected Logger member in some classes

2006-10-03 Thread Andrejus Chaliapinas
Hi, While trying to debug some changes I've made wtih layout managers I've noticed that some classes have Logger as protected but not private member? What is the rationale here - just easy later inheritance of logger or anything else? For me it seems that logger purpose is to exactly identify the

RE: Question on protected Logger member in some classes

2006-10-03 Thread Andrejus Chaliapinas
> You're right. These protected variables are sometimes not ideal. If you > change anything to private while you work on the code, that's fine for > me. Could you apply this patch to trunk? http://issues.apache.org/bugzilla/attachment.cgi?id=18956 Andrejus

RE: Question on protected Logger member in some classes

2006-10-03 Thread Andrejus Chaliapinas
> If anyone else can do that in the meantime, that would be great. There > are other patches also waiting to be processed. Probably you are the only man who could do that. There were no responses for last 4 hours. Hopefully tomorrow. Andrejus

Do we have Area Tree construction also via getNextKnuthElements methods or mostly via addAreas?

2006-10-04 Thread Andrejus Chaliapinas
Hi, I'm trying to understand why in Patrick's code, when he deals with Table auto layout feature, after TableContentLayoutManager over current TableLayoutManager is prepared and processed with required columns shrinking/extra space distribution - there is another TableContentLayoutManager creation

RE: Do we have Area Tree construction also via getNextKnuthElements methods or mostly via addAreas?

2006-10-04 Thread Andrejus Chaliapinas
> I do not really know why Patrick created a second TableContentLM. His > procedure constructs the Knuth elements twice. I suppose that he > feared that this would have side effects, and that he tried to avoid > those by doing the first evaluation in another TableContentLM. > But that still doesn'

RE: Do we have Area Tree construction also via getNextKnuthElements methods or mostly via addAreas?

2006-10-05 Thread Andrejus Chaliapinas
> J.Pietschmann wrote: > > Simon Pepping wrote: > >> No UML diagrams for FOP available. Would be nice though. > > > > As soon as I get some spare time, I'll try > > http://sourceforge.net/projects/umldot > > I suspect the diagrams to be somewhat unwieldy. > > > > J.Pietschmann > > > I think that i

RE: Do we have Area Tree construction also via getNextKnuthElements methods or mostly via addAreas?

2006-10-07 Thread Andrejus Chaliapinas
> Andrejus, I think it's best if you read all the threads here on fop-dev > on auto table layout during August if have not already done so. They > contain a lot of information about the next steps for the auto table > layout and what has been discussed so far. Ok, thank you for pointing to right p

Any thoughts on something like fo:tab support?

2006-11-09 Thread Andrejus Chaliapinas
Hi, Sorry, I was very busy with other stuff to work on table auto layout (plan to return to that next week), but right now another additional issue is bothering me - how could I have simple enter form (in which you have column of labels and column of aligned input fields) converted? I saw already

RE: Any thoughts on something like fo:tab support?

2006-11-09 Thread Andrejus Chaliapinas
> Maybe if you illustrated your problem with some visuals we could give a > few suggestions. I'm pretty sure your problem can be solved without tabs. Ok, here is my very simple visualization (+ sign is used to mark default tab stop position). +++++++ blabla: text1 a

RE: Any thoughts on something like fo:tab support?

2006-11-09 Thread Andrejus Chaliapinas
> Ok, I can see why you would want tabs here. Tables are probably a little > overkill here. What I would do in this case is to use list-block and > count characters in the title column. I'd set the > provisional-distance-between-starts property depending on the number of > characters. Yes, list-bl

RE: Any thoughts on something like fo:tab support?

2006-11-10 Thread Andrejus Chaliapinas
Jeremias, > I'd set the > provisional-distance-between-starts property depending on the number of > characters. You won't get the exact same effect but I think it should be > near enough with little effort in XSLT and no hacking into FOP, > introducing a feature that's difficult to implement and c

RE: Any thoughts on something like fo:tab support?

2006-11-10 Thread Andrejus Chaliapinas
Andreas, > That would be the > case if you needed different tab-stops for different lines. In the > example the tab-stops are all the same My sample was just the easiest one to get your thoughts on it. But in general case I really need to have different tab-stops for different lines/blocks. In g

RE: Any thoughts on something like fo:tab support?

2006-11-11 Thread Andrejus Chaliapinas
Andreas, > Can you show us the non-transformed source nodes for those lines? > The tab-stops, I presume, correspond to some marker in the source XML > (a tab character?). Here is how that corresponding to my sample XML looks like: blabla: text1 after one tab b

RE: Any thoughts on something like fo:tab support?

2006-11-12 Thread Andrejus Chaliapinas
Andreas, Thanks a lot for your XSL sample. I'll try to play around it during upcoming week. Quick test on it so far showed me that line 3 from my original sample: ++++ blabla: text3 after 2 tabs and this XML corresponding to it: blabla: t

RE: Any thoughts on something like fo:tab support?

2006-11-13 Thread Andrejus Chaliapinas
Jeremias, > In this case, if the XML format is fixed and cannot be changed at the > source, I don't think that XSL-FO is capable of rendering this content. > I'd check if you can't change the XML format to process in the first > place. If not, I wouldn't use XSL-FO but another format which support

RE: Any thoughts on something like fo:tab support?

2006-11-13 Thread Andrejus Chaliapinas
Jeremias, > You can also > place your wish/requirement for tabs there so it can be considered for > XSL-FO 2.0. Just be prepared that they may wrinkle their noses. > [1] http://lists.w3.org/Archives/Public/xsl-editors/ Thank you for pointing there. I'll try to post my feature request. > Is it? I

Could I prepare font metrics file for a font like Webdings (i.e. without Unicode cmap table inside)?

2006-12-12 Thread Andrejus Chaliapinas
Hi, When I run TTFReader (from 0.92 beta) over Webdings.ttf - I get this output: Parsing font... Reading c:\windows\fonts\webdings.ttf... Number of glyphs in font: 227 2 cmap tables Unicode cmap table not present Unsupported format: Aborting Question - is it possible then to prepare metrics file

RE: Could I prepare font metrics file for a font like Webdings (i.e. without Unicode cmap table inside)?

2006-12-13 Thread Andrejus Chaliapinas
> > When I run TTFReader (from 0.92 beta) over Webdings.ttf - I get this > output: > > > > Parsing font... > > Reading c:\windows\fonts\webdings.ttf... > > Number of glyphs in font: 227 > > 2 cmap tables > > Unicode cmap table not present > > Unsupported format: Aborting > > > > Question - is it po

Need some help on one particular FOTreeBuilder URI mismatch warning (v0.92beta)

2006-12-15 Thread Andrejus Chaliapinas
Hi, I'm trying to process XML file by applying XSl stylesheet to it and using such constraint inside that XSL: My Java method generateDynamicNodes by itself generates NodeList understandable by xalan in form like Now when I run everything together during transformation I get this warning:

What is the current partial implementation status of vertical-align for table cells?

2007-01-30 Thread Andrejus Chaliapinas
Hi, I've tried to use this table cell constraint with fop-trunk: my text But can't get "my text" aligned at the bottom of that table cell. Should I use anything else instead or it's not supported at the moment? Thank you, Andrejus

RE: What is the current partial implementation status of vertical-align for table cells?

2007-01-30 Thread Andrejus Chaliapinas
ck help! Andrejus > -Original Message- > From: Chris Bowditch [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 30, 2007 3:49 PM > To: fop-dev@xmlgraphics.apache.org > Subject: Re: What is the current partial implementation status of > vertical-align for table cells? >

Is that correct jar in SVN: xmlgraphics-commons-1.2svn.jar?

2007-03-13 Thread Andrejus Chaliapinas
Hi, Just wonder if that "svn" suffix in jar name for xmlgraphics-commons-1.2svn.jar is correct. I could see it under trunk lib directory. I think that previously we had just xmlgraphics-commons-1.1.jar Andrejus

RE: How could I change vertical alignment of list item bullet? [was in fop-user]

2007-03-13 Thread Andrejus Chaliapinas
> > Silly me, overcomplicated the situation. You are spot on Vincent and it > actually works. Writing > > font-family="Symbol">• > > actually positions the bullet just fine. > > Thanks for that > > Manuel Yes, this looks better in output comparing to previous

RE: Bounty for auto table layout?

2007-07-20 Thread Andrejus Chaliapinas
> I'm 99.9% sure that it would not. There were discussions about that in > the past and the members' opinion was to keep such things separate from > the ASF. The ASF would never pay anyone to make an improvement on one of > the projects since it's a NPO and there are certain rules around that > sta

Is it ok to have NullPointerException while running build's examples target for fop 0.94?

2007-08-19 Thread Andrejus Chaliapinas
Hi, I've made checkout of fop 0.94 branch and while running examples target from build, get this: [fop] D:\eclipse\test\fop-0_94\examples\fo\basic\images.fo -> D:\eclipse\test\fop-0_94\build\examples\images.pdf [fop] [ERROR] AbstractFopImage - Error while loading image (Gif): n

RE: Is it ok to have NullPointerException while running build's examples target for fop 0.94?

2007-08-20 Thread Andrejus Chaliapinas
> > Could that be fixed? I think I had similar problems with 0.93, but > thought > > GIFs were fixed already in 0.94. In resulting PDF I could see normally > all > > JPEG/PNG/TIFF images, but not GIFs L. > > I just tried it (both with the examples-target and with the fop command) > and it worked