List Info

Thread: Re: Updates on Style Handling in odf4j




Re: Updates on Style Handling in odf4j
user name
2007-08-06 08:24:46
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.oppermannsun.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.oppermannsun.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-unsubscribeodftoolkit.openoffice.org
For additional commands, e-mail: dev-helpodftoolkit.openoffice.org


Re: Updates on Style Handling in odf4j
user name
2007-08-07 00:57:19
Hi Lars,


On 8/6/07, Lars Oppermann <Lars.Oppermannsun.com> wrote:
> 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.

Thanks. Will update you with soon.

Regards
-- 
Amit krishna Saha
[URL]:http://amitsaha.in
.googlepages.com

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribeodftoolkit.openoffice.org
For additional commands, e-mail: dev-helpodftoolkit.openoffice.org


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )