Subject: Re: want to help
From: Yawitz (fyawitz@actcom.co.il)
Date: Wed Jan 03 2001 - 13:32:45 CST
>We are always looking for help. I think another good way to get started
>would be to export field text into our HTML exporter. Right now we can't
>export the list label fields to html so any lists in Abi don't comeout
>right when exported to HTML. It would be good to fix this.
>
>Look at the code in src/text/fmt/xp/fp_Run.cpp around
>fp_FieldRun::calculateValue(void)
>
>for where the text in a field is generated.
>
>Look at the code in
>
>src/wp/impexp/xp/ie_exp_HTML.cpp in method:
>
>UT_Bool s_HTML_Listener::populate(PL_StruxFmtHandle /*sfh*/,
>
>const PX_ChangeRecord * pcr)
>
>then at the code at:
>
>case PX_ChangeRecord::PXT_InsertObject:
>
>You'll notice that nothing is outputted for case PTO_Field.
>
>We need some code there :-)
>
>If you don't want to do this then someone else should so let us know if
>you plan to work on this project.
>
>Cheers
>
>Martin
>
>PS. I'll probabally put some code in fp_Run.cpp to be able to calculate
>field values for all exporters. I need this for our RTF exporter. I've
>undertaken to extend it to read/write fields and List structures.
>
>
I looked over the code you mentioned, and though I can't say I get the big picture (how does stuff get into the PX_ChangeRecord_Object), I see what the two methods are doing. It sems like all that has to be done is to get the string that's already in the PX_ChangeRecord_Object and do _outputData like above (after some HTML formatting). Is there more that I'm missing?
I am looking at the code from 0.7.9 which I have on my machine, so I realize that to work on it I would have to get the real code from CVS. I looked at the current code on LXR and saw that the whole fp_FieldRun::calculateValue method is commented out (and inside the comment it looks completely different also). What is the current state of things?
In general, how does one go about working on a big GUI project like this? Do you just recompile and build the whole thing to test each little feature, or is there some shortcut? How about debugging?
This archive was generated by hypermail 2b25 : Wed Jan 03 2001 - 11:39:18 CST