Amit,
Dumping the style information is what the Odt2Text client
should do with
the style information for demonstration purposes. The actual
implementation should not dump it but rather provide the
style
information to clients in a structured way.
Our goal is to provide a library for interacting with ODF
documents, not
a program that dumps odf documents to text files.
/Lars
Amit krishna Saha wrote:
> Hi Lars,
>
>
> On 7/31/07, Lars Oppermann <lars.oppermann sun.com> wrote:
>>
>> Why is Element.getStyle returning void?
>
> In a previous discussion, you had mentioned that all we
intend to do
> is "dump" the style information after they
have been pulled. So I
> chose to dump it immediately in "Style.java"
after they have been
> pulled by "StyleFactory,java". Please correct
me if i am going wrong
> somewhere in understanding the concept.
>
>> The style factory is supposed to keep track of
style objects that have
>> already been created.
>>
>> The style factory should use the document in the
member named opendoc
>>
>> The style factory shouldn't parse the document
every time a style is
>> requested.
>
> what you are probably suggesting is to create a data
structure to
> store the "Style" objects as they are
created.
>
> As far as using the the document in "opendoc"
is concerned, I intend
> to do it as you have mentioned but I am facing some
difficulty in
> getting it to work properly.
>
> Am i getting your points correct or are you suggesting
other changes?
> Is the current code organization correct?
>
> Regards & Thanks
>
--
Sun Microsystems Lars Oppermann
<lars.oppermann sun.com>
Nagelsweg 55 Software Engineer
20097 Hamburg, Germany Phone: +49 40 23646 959
http://www.sun.com/
Fax: +49 40 23646 550
------------------------------------------------------------
-----------
Sitz der Gesellschaft: Sun Microsystems GmbH, Sonnenallee
1,
D-85551 Kirchheim-Heimstetten, Amtsgericht Muenchen: HRB
161028
Geschaeftsfuehrer: Wolfgang Engels, Dr. Roland Boemer
Vorsitzender des Aufsichtsrates: Martin Haering
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe odftoolkit.openoffice.org
For additional commands, e-mail: dev-help odftoolkit.openoffice.org
|