Re: Adding Table Continuation Label support

2008-05-20 Thread bonekrusher

Thank you  Vincent and Andreas for all your help. Indeed I have my homework
to do. Read.. read and reread :). I will try to digest what you both have
written and see what I can come up with.

Thanks Again,

Bones


Andreas Delmelle-2 wrote:
 
 On May 19, 2008, at 17:08, Vincent Hennebert wrote:
 
 Hi
 
 bonekrusher wrote:
 Hi,

 Since FOP 0.94 and 0.95 Beta do not have support for Table  
 Continuation
 Labels, I would like to see if I can possible work on this for the  
 project.

 To implement this feature, 4 steps basically need to be performed:
 - implement support for fo:retrieve-table-marker in the FO tree;
   I believe this stage is more or less complete
 
 Indeed. I added this recently. The only thing currently incomplete is  
 support for retrieve-table-markers as substitutes for the header/ 
 footer. (It seems like the Recommendation offers the possibility of  
 putting the entire fo:table-header element in a fo:marker... Adrian  
 pointed this out after I committed. As Vincent points out: read /and/  
 re-read ;-))
 
 
 snip /
 I can’t help you much regarding how other markers are currently  
 handled,
 since I haven’t looked at this part of the code yet.
 
 The key point here is PageSequenceLayoutManager.resolveRetrieveMarker 
 () which is called from AbstractLayoutManager.createChildLMs() (for  
 the subclass StaticContentLayoutManager).
 
 snip /
 However,
 org.apache.fop.fo.flow.AbstractRetrieveMarker seems like a good  
 starting
 point.
 
 This contains the basic code for cloning the marker. Normally, this  
 should not need any changes (apart from cleaning up some unrelated  
 TODOs...)
 While it may be of educational value to browse through, it does not  
 contain anything specific wrt the actual marker-resolution. It only  
 contains the mechanism for the marker-duplication: cloning the  
 subtree, evaluating property expressions in the proper context,  
 triggering white-space-handling.
 This is all done because one fo:marker may be retrieved multiple  
 times into different contexts, so it's important to separate the  
 retrieved copy from the original.
 
 The main challenge in the layoutengine, as I see it is that, for  
 marker-retrieval to work (on page-level), the cells in the table-body  
 have to have 'added' their markers (see  
 AbstractLayoutManager.addMarkersToPage(), which is called from  
 addAreas()).
 In normal flow-layout, the marker-retrieval is triggered by the  
 StaticContentLayoutManager.createChildLMs(), which is activated / 
 after/ the areas for the Flow have been added to the body-region for  
 the current page-viewport.
 
 
 Just my 2 cents...
 
 Cheers
 
 Andreas
 

-- 
View this message in context: 
http://www.nabble.com/Adding-Table-Continuation-Label-support-tp17316648p17337801.html
Sent from the FOP - Dev mailing list archive at Nabble.com.



Setting up FOP Trunk in Netbeans 6.1

2008-05-20 Thread bonekrusher

Hi,

I am trying to set up FOP Trunk in Netbeans 6.1. The documentation on line
is for Netbeans 4.1 which is very different from NetBeans 6.1 

http://wiki.apache.org/xmlgraphics-fop/FOPIDESetupGuide#head-8cf54ad17f7876ad9c0b23823e69382715fd1225

I am having trouble checking out via subversion. The documentation is
nothing like the 6.1.  

I performed the following. 

1. Setup the project in NetBeans 6.1
(http://wiki.apache.org/xmlgraphics-fop/FOPIDESetupGuide#head-f636b7648eca35f44bf9f56654c6182f1a4124cf)

2. Connect the project to Subversion
(http://wiki.apache.org/xmlgraphics-fop/FOPIDESetupGuide#head-8cf54ad17f7876ad9c0b23823e69382715fd1225)

To connect to http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/ I click
VersioningSubVersionImport into respository and enter
http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/; and click ok

Nothing happens... 

I have confirmed SVN is installed and in my Path e.g. (svn, version 1.4.5
(r25188)) 

Can anyone provide some guidance? Once I get it running under 6.1 I would
gladly update the Wiki.

Thanks,
Bones
-- 
View this message in context: 
http://www.nabble.com/Setting-up-FOP-Trunk-in-Netbeans-6.1-tp17338581p17338581.html
Sent from the FOP - Dev mailing list archive at Nabble.com.



RE: Setting up FOP Trunk in Netbeans 6.1

2008-05-20 Thread Manuel Mall
Did you to as the wiki suggests under 'Download the project files' a manual
checkout using the svn command line client first followed by a command line
ant build before setting up the project in NetBeans?

Manuel

 -Original Message-
 From: bonekrusher [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, 20 May 2008 7:54 PM
 To: fop-dev@xmlgraphics.apache.org
 Subject: Setting up FOP Trunk in Netbeans 6.1
 
 
 Hi,
 
 I am trying to set up FOP Trunk in Netbeans 6.1. The documentation on line
 is for Netbeans 4.1 which is very different from NetBeans 6.1
 
 http://wiki.apache.org/xmlgraphics-fop/FOPIDESetupGuide#head-
 8cf54ad17f7876ad9c0b23823e69382715fd1225
 
 I am having trouble checking out via subversion. The documentation is
 nothing like the 6.1.
 
 I performed the following.
 
 1. Setup the project in NetBeans 6.1
 (http://wiki.apache.org/xmlgraphics-fop/FOPIDESetupGuide#head-
 f636b7648eca35f44bf9f56654c6182f1a4124cf)
 
 2. Connect the project to Subversion
 (http://wiki.apache.org/xmlgraphics-fop/FOPIDESetupGuide#head-
 8cf54ad17f7876ad9c0b23823e69382715fd1225)
 
 To connect to http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/ I click
 VersioningSubVersionImport into respository and enter
 http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/; and click ok
 
 Nothing happens...
 
 I have confirmed SVN is installed and in my Path e.g. (svn, version 1.4.5
 (r25188))
 
 Can anyone provide some guidance? Once I get it running under 6.1 I would
 gladly update the Wiki.
 
 Thanks,
 Bones
 --
 View this message in context: http://www.nabble.com/Setting-up-FOP-Trunk-
 in-Netbeans-6.1-tp17338581p17338581.html
 Sent from the FOP - Dev mailing list archive at Nabble.com.


RE: Setting up FOP Trunk in Netbeans 6.1

2008-05-20 Thread Manuel Mall
And I should have added as documented under
http://xmlgraphics.apache.org/fop/dev/index.html the SVN repository URL is
http://svn.apache.org/repos/asf/xmlgraphics/fop/trunk/.

But nevertheless you must do a command line ant build first before the
project is useable under NetBeans because some Java files are generated
using fop custom tools which are not available through the NetBeans build
process.

Manuel

 -Original Message-
 From: Manuel Mall [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, 20 May 2008 8:56 PM
 To: 'fop-dev@xmlgraphics.apache.org'
 Subject: RE: Setting up FOP Trunk in Netbeans 6.1
 
 Did you to as the wiki suggests under 'Download the project files' a
 manual
 checkout using the svn command line client first followed by a command
 line
 ant build before setting up the project in NetBeans?
 
 Manuel
 
  -Original Message-
  From: bonekrusher [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, 20 May 2008 7:54 PM
  To: fop-dev@xmlgraphics.apache.org
  Subject: Setting up FOP Trunk in Netbeans 6.1
 
 
  Hi,
 
  I am trying to set up FOP Trunk in Netbeans 6.1. The documentation on
 line
  is for Netbeans 4.1 which is very different from NetBeans 6.1
 
  http://wiki.apache.org/xmlgraphics-fop/FOPIDESetupGuide#head-
  8cf54ad17f7876ad9c0b23823e69382715fd1225
 
  I am having trouble checking out via subversion. The documentation is
  nothing like the 6.1.
 
  I performed the following.
 
  1. Setup the project in NetBeans 6.1
  (http://wiki.apache.org/xmlgraphics-fop/FOPIDESetupGuide#head-
  f636b7648eca35f44bf9f56654c6182f1a4124cf)
 
  2. Connect the project to Subversion
  (http://wiki.apache.org/xmlgraphics-fop/FOPIDESetupGuide#head-
  8cf54ad17f7876ad9c0b23823e69382715fd1225)
 
  To connect to http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/ I
 click
  VersioningSubVersionImport into respository and enter
  http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/; and click ok
 
  Nothing happens...
 
  I have confirmed SVN is installed and in my Path e.g. (svn, version
 1.4.5
  (r25188))
 
  Can anyone provide some guidance? Once I get it running under 6.1 I
 would
  gladly update the Wiki.
 
  Thanks,
  Bones
  --
  View this message in context: http://www.nabble.com/Setting-up-FOP-
 Trunk-
  in-Netbeans-6.1-tp17338581p17338581.html
  Sent from the FOP - Dev mailing list archive at Nabble.com.


DO NOT REPLY [Bug 45047] New: Tables that begin with that begin with multiple row span participants render other cells incorrectly

2008-05-20 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45047

   Summary: Tables that begin with that begin with multiple row span
participants render other cells incorrectly
   Product: Fop
   Version: all
  Platform: PC
OS/Version: Windows Vista
Status: NEW
  Severity: normal
  Priority: P2
 Component: general
AssignedTo: fop-dev@xmlgraphics.apache.org
ReportedBy: [EMAIL PROTECTED]


I am working to get row spanning tables to render correctly through fop.  I
have ran the attached example through fop 0.20.5 as well as the 0.95beta and
still get the same problem.  My problem is that I have a 3 row table with the
following set up

row 1
 column 1  column 2 column 3
single cell, single cell with row span of 3, single cell with row span of 2

row 2
column 1
single cell with row span of 2

row 3
column 3
single cell

The bug is that my single cell on row 3 column 3 when rendered shows up in row
2 column 3.

Through some trial and error, I believe the issue has to due with the fact that
row 3 started with two row span participants.  To test this I took the row
spanning off of the row spanning cell in row 2.  This allowed my row 3 cell to
render in row 3 column 1, which is expected by taking off the row spanning in
the fo.  Further, I reset my test and I did the same type of test by changing
the row spanning or row 1 column 2 to 2.  This would leave it off of row 3.  
This resulted in the row 2 column 1 spanning into row 3 as expected and row 3
column 3 rendering in column 2 as it should with the change row 1 column 2 row
span.  This is how I came to my conclusion that the bug deals with a row that
starts with 2 row span participants.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


DO NOT REPLY [Bug 45047] Tables that begin with that begin with multiple row span participants render other cells incorrectly

2008-05-20 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45047





--- Comment #1 from John Platt [EMAIL PROTECTED]  2008-05-20 09:14:44 PST ---
Created an attachment (id=21985)
 -- (https://issues.apache.org/bugzilla/attachment.cgi?id=21985)
fo example of the issue

did not originally at the attachment


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


Re: Setting up FOP Trunk in Netbeans 6.1

2008-05-20 Thread bonekrusher

Thanks for the help. I really appreciate it. I failed to download the trunk
as it was pointed out :).

When trying to check out via subversion command lime, I recieve an error.

C:\fop_Homesvn co http://svn.apache.org/repos/asf/xmlgraphics/fop/trunk/

svn: PROPFIND request failed on '/repos/asf/xmlgraphics/fop/trunk'
svn: PROPFIND of '/repos/asf/xmlgraphics/fop/trunk': Could not read status
line:
 An existing connection was forcibly closed by the remote host.  
(http://svn.ap
ache.org) 


What am I missing?

Thanks,


Peter B. West wrote:
 
 Hi,
 
 The NB notes are outdated. For a new installation, start with subversion.
 
 In NB6.1, go to VersioningSubversionCheckout
 Enter http://svn.apache.org/repos/asf/xmlgraphics/fop/trunk as the 
 Repository URL.
 
  Next
 
 In the Checkout window, specify the local folder for checkout.
 
 (Note: you may want to check the 'Skip trunk and checkout only its 
 content' box. There seems to be a bug in the subversion module that puts 
 an .svn directory in the parent of the checkout directory. If you check 
 the box, and specify my/local/fop, an extra .svn may appear in 'local'. 
 In that case, you may want to delete that extra directory. I've seen the 
 extra directory a couple of times, and I'm not sure what triggers it.)
 
  Finish
 
 Fop is checked out.
 
 Find copies of ant.jar, xmlunit-1.1.jar and a copy of qdox-*.jar. These 
 are required for the build and testing. Link or copy them into the 
 fop/lib directory. Ask here where and what you need. It may be documented.
 
 You now need to create a project. Not nice. Easiest way is probably to 
 start with my project.xml, attached. Create a directory 'nbproject' in 
 the top-level directory; 'trunk', if you checked out including 'trunk'. 
 Drop project.xml in there.
 
 Before you open the project, try running a preliminary build from the 
 command line, to get the code generation done. That will make life 
 easier for NB when the project is opened, but it is not essential.
 
 Open Project
 
 Navigate to fop, and open the project. See what happens.
 
 
 
 bonekrusher wrote:
 Hi,
 
 I am trying to set up FOP Trunk in Netbeans 6.1. The documentation on
 line
 is for Netbeans 4.1 which is very different from NetBeans 6.1 
 
 http://wiki.apache.org/xmlgraphics-fop/FOPIDESetupGuide#head-8cf54ad17f7876ad9c0b23823e69382715fd1225
 
 I am having trouble checking out via subversion. The documentation is
 nothing like the 6.1.  
 
 I performed the following. 
 
 1. Setup the project in NetBeans 6.1
 (http://wiki.apache.org/xmlgraphics-fop/FOPIDESetupGuide#head-f636b7648eca35f44bf9f56654c6182f1a4124cf)
 
 2. Connect the project to Subversion
 (http://wiki.apache.org/xmlgraphics-fop/FOPIDESetupGuide#head-8cf54ad17f7876ad9c0b23823e69382715fd1225)
 
 To connect to http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/ I click
 VersioningSubVersionImport into respository and enter
 http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/; and click ok
 
 Nothing happens... 
 
 I have confirmed SVN is installed and in my Path e.g. (svn, version 1.4.5
 (r25188)) 
 
 Can anyone provide some guidance? Once I get it running under 6.1 I would
 gladly update the Wiki.
 
 Thanks,
 Bones
 
 
 -- 
 Peter B. West http://cv.pbw.id.au/
 Folio http://defoe.sourceforge.net/folio/
 
 ?xml version=1.0 encoding=UTF-8?
 project xmlns=http://www.netbeans.org/ns/project/1;
 typeorg.netbeans.modules.ant.freeform/type
 configuration
 general-data
 xmlns=http://www.netbeans.org/ns/freeform-project/1;
 namefop/name
 /general-data
 general-data
 xmlns=http://www.netbeans.org/ns/freeform-project/2;
 !-- Do not use Project Properties customizer when editing
 this file manually. --
 namefop/name
 properties/
 folders
 source-folder
 labelfop/label
 location./location
 encodingUTF-8/encoding
 /source-folder
 source-folder
 labelsrc/java/label
 typejava/type
 locationsrc/java/location
 encodingUTF-8/encoding
 /source-folder
 source-folder
 labelbuild/gensrc/label
 typejava/type
 locationbuild/gensrc/location
 encodingUTF-8/encoding
 /source-folder
 source-folder
 labelsrc/codegen/java/label
 typejava/type
 locationsrc/codegen/java/location
 encodingUTF-8/encoding
 /source-folder
 source-folder
 labeltest/java/label
 typejava/type
 locationtest/java/location
 encodingUTF-8/encoding
 /source-folder
 /folders
 ide-actions