From: Tony G. <Ton...@Su...> - 2006-03-28 14:51:14
|
"Mauro C." <inc...@ya...> writes: > I would to contribute to xmlroff project not only dev > a php ext. > > I just start to study source, too much source :) > > Tony if you could give me some hint so I can > contribute also to implements xsl-fo. > Simly give me .c file to study fist, expecially > fo-area and fo-fo. How to add a new property: 1. Checkout the 'spec-dump' and 'xmlroff' modules. 2. cd to the 'spec-dump' module. 3. Add an unimplemented property to 'dump-info.xml' 4. 'make' 5. Copy the property's .c and .h files to xmlroff/property 6. For 'fo-context*.[ch]', 'property/fo-all-property.h', 'property/fo-property-eval.h' and the .c, .h, and -private.h files for any FO that implements the property, merge the additions for the new property into the existing files in the 'xmlroff' module. Ignore evidence of indecision about how to handle properties with multiple components and of the 'spec-dump' stylesheets not munging other property names correctly (although improvements to stylesheets are always welcome). 6. Add the new property's .c and .h files to xmlroff/property/Makefile.am 7. Build xmlroff. 8. Work on making xmlroff actually use the property that you just added. It helps to add test files to 'testsuite' so you can verify that you are doing the right thing. We can cover that, too, if anybody wants. Regards, Tony. |