poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Praveen Mathew" <prmat...@in.ibm.com>
Subject Re: New FFN & Fontable classes
Date Wed, 09 Jul 2003 18:45:56 GMT
I forgot to ask you if you successfully ran your TestFontTable test. Did

Actually the tes has ran successfully. The 2 fontTables are equal. But 
when I actually tried to print the font names, It seems something has gone 
With 3 different Doc files I am getting the _stringCount field (2nd short in the header of
sttbfffn) as Zero.

I am trying to figure out what could have gone wrong

Thanks & Regards

"Ryan Ackley" <sackley@cfl.rr.com>
09/07/2003 20:28
Please respond to "POI Developers List"

        To:     "POI Developers List" <poi-dev@jakarta.apache.org>
        Subject:        Re: New FFN & Fontable classes


I forgot to ask you if you successfully ran your TestFontTable test. Did
you? Tonight I will be writing the code that will read in a word document
and write it back out.

In the meantime, you need to be studying the spec. To write out a new word
with a different font you will need to use/understand the following 
TextPieceTable, TextPiece, CHPAbstractType. You need to look at the spec.
You need to look at the section entitled "SPRM definitions" this details 
to change formatting properties. You need to look at the CHP structure

>               Actually its  a kind of pressure situation here. I need to
> do the Stream writing & modifying  by this Friday. So I have decided to 
> night outs to catch up with your working time. I am seeking your 
> help for this.

I will always answer your questions as quickly as possible. You will do 
the work on your own. I know how to accomplish what you want but if you 
on being a contributor to this project you need to learn about the file
format. I want to see you succeed at your long-term goal not just the 

> I have a request. I do understand the importance of the test cases for 
> code we write,  but can we for a time being, focus a bit more on the
> actual writing of streams as whole to make the Doc file & try some
> modification of streams. Then we can complete all the test cases.

These test cases are necessary because it is absolutely vital that we test
the algorithms that we are using to write out the data structures. If we
write a Word document that Word can't open, where do we look for the
problem? Word does not tell us what the actual problem is it only tells us
that it is an invalid Word file. Every test I have written except one has
failed the first time I ran it. The tests are the only reason I feel that
you may meet your deadline. Don't worry, there is only one more test case 
write for this phase. I will be writing it tonight.

> This can actually make my life better here. I badly need to write a Doc 
> modifying its Streams atleast in the the simplest way that can be done.

I feel you man, this can actually make my life better too (according to
Andy)  :-)

To unsubscribe, e-mail: poi-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: poi-dev-help@jakarta.apache.org

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message