HWPF Status: able to modify existing Document

2003-09-10 Thread Praveen Mathew
Hi All, I am able to modify an in-memory Document & write it out back to create a different Document. I had been working on this for quite some time. As of now I am able to change the character properties like font, Bold, Italics etc of the original text. I am working on changing the paragraph

Re: HWPF Status:- Before you commit

2003-09-02 Thread Praveen Mathew
Hi Ryan, Thanks for your prompt explanation. I have never encountered a paragraph style that was based on a character style. Have you actually tested this out to see if styles are chained in this manner? Based on the 10 different input Document files, tested out, I also could not find a paragra

Re: HWPF Status:- Before you commit

2003-08-28 Thread Praveen Mathew
PFKP to get the FINAL CHP. sorry for the long mail, but just wanted to make my point clear. Please give me your inputs on this. Thanks & Regards Praveen Praveen Mathew IBM Software Labs,Airport Road, Bangalore - 560 017,India. Ph : +91- 80 - 504 4770 (Direct) +91 - 80 - 5262355 Extn: 37

Re: HWPF Status:- Before you commit

2003-08-28 Thread Praveen Mathew
To: "POI Developers List" <[EMAIL PROTECTED]> cc: Subject:Re: HWPF Status Thanks Praveen, I will commit tonight. I am wrapping up Lists. Tables are next. Ryan - Original Message - From: "Praveen Mathew" <[EMAIL PRO

HWPF Status

2003-08-27 Thread Praveen Mathew
ction in StyleSheetN class), when you are free and send me your inputs. Btw, How is the work on list & tables going?? Thanks & Regards Praveen Praveen Mathew IBM Software Labs,Airport Road, Bangalore - 560 017,India. Ph : +91- 80 - 504 4770 (Direct) +91 - 80 - 5262355 Extn: 3770 Email: [EMAIL PROTECTED]

HWPF Status

2003-08-27 Thread Praveen Mathew
discuss certain issues out , I will do that. Thanks & Regards Praveen Praveen Mathew IBM Software Labs,Airport Road, Bangalore - 560 017,India. Ph : +91- 80 - 504 4770 (Direct) +91 - 80 - 5262355 Extn: 3770 Email: [EMAIL PROTECTED] -

PlexofCps implementation

2003-08-14 Thread Praveen Mathew
s. For any PlexOfCps like plcfPcd this is required to get the Fc of a character. But we have that in the PropertyNode class as Start & End fields. Should we have the field "rgFc" in PlexOfCps so that it Resembles the actual dataStructure?? Thanks & Regards Praveen Praveen Mathew IB

Re: PlexofCps implementation

2003-08-14 Thread Praveen Mathew
character you have to track its Fc & using this Fc you have to get the Papx or Chpx.. I am bit confused to arrive at a way to do this. Thanks & Regards Praveen Praveen Mathew IBM Software Labs,Airport Road, Bangalore - 560 017,India. Ph : +91- 80 - 504 4609 (Direct) +91 - 80 - 5262

Reminder

2003-08-14 Thread Praveen Mathew
Hi Ryan, I think I had mentioned this in one of my previous mail, may be you might have missed out that. In The PAPAbstractType class the field_66_rgdxaTab field is a byte array, but according to Spec it should be a short array. Even in your recent check in for PAPCompressor,

Re: HWPF Status

2003-08-06 Thread Praveen Mathew
Did you ever make those changes you were going to make to the decompressor? Yes I have made the necessary changes, except for the sprmCSizePos (opcode 0xEA3F), and other Sprms where they are refering to the " array of font sizes". I am unable to find it anywhere in the Documentation. Thanks &

HWPF Status

2003-08-05 Thread Praveen Mathew
es of a Text run. Now that we have our Compression & Decompression of SPRMS in form, it should be possible. Have you planned anything on these lines Thanks & Regards Praveen Praveen Mathew

Re: HWPF queries

2003-07-30 Thread Praveen Mathew
>>If you still don't understand why my algorithm will work, do a google search >>on "twos complement". Trust me... I understood your algorithm and it will work fine if they have followed the 2nd approach, which is more likely because of its similarity to represent 8bit negative values. >>1

Re: HWPF queries

2003-07-30 Thread Praveen Mathew
7th bit (Hi bit), its 1 , also its similar to the representation of negative values for primitive data types, so its a negative 3. if we are going for the wrong approach from what actually was meant by Microsoft, then sure its disaster. Thanks & Regards Praveen Praveen Mathew "Ryan A

Re: HWPF queries

2003-07-30 Thread Praveen Mathew
Thanks Ryan for the prompt answers... Thanks & Regards Praveen "Ryan Ackley" <[EMAIL PROTECTED]> 31/07/2003 01:01 Please respond to "POI Developers List" To: "POI Developers List" <[EMAIL PROTECTED]>, "Praveen Mathew

HWPF queries

2003-07-30 Thread Praveen Mathew
Hi Ryan, Due to problems in my mail server , I have created this account in rediif for HWPF. please bear with me for this long mail. As you have mentioned, lets give priority for the important things. So I am bypassing the implementations for ANLD ,NUMRM classes. Also since we are not

Re: HWPF status

2003-07-30 Thread Praveen Mathew
Ryan, First things first.. We have the following fields in the PAPAbstractType class. private byte[] field_60_anld; // to do implement ANLD class & give getter & Setter private byte[] field_63_dttmPropRMark; // DTTM class to be implemented private byte[] field_64_numrm; // NUMRM class t

Re: Bugzilla problem??

2003-07-30 Thread Praveen Mathew
ase respond to "POI Developers List" To: POI Developers List <[EMAIL PROTECTED]> cc: Subject:Re: Bugzilla problem?? On 7/30/03 8:32 AM, "Praveen Mathew" <[EMAIL PROTECTED]> wrote: > It has worked now.But usually I get

Re: Bugzilla problem??

2003-07-30 Thread Praveen Mathew
Have you logged in yet?. The server move shouldn't affect this (though it may CVS and committer emails). -Andy On 7/30/03 7:54 AM, "Praveen Mathew" <[EMAIL PROTECTED]> wrote: > Hi all, >After submitting a patch in Bugzilla as an issue, Bug No: > 21325, its

Bugzilla problem??

2003-07-30 Thread Praveen Mathew
Hi all, After submitting a patch in Bugzilla as an issue, Bug No: 21325, its going to the login page again. i am not getting the page where it says , an email has been sent to the poi dev list. what can be the problem? Thanks & Regards Praveen

Re: HWPF status

2003-07-30 Thread Praveen Mathew
Hi Ryan, I am done with The deCompression of PAPX and CHPX Sprms. I am Sending the code as an issue in Bugzilla. In the functions like unCompressPAPOperation(ParagraphProperties newPAP, int operand, int param, byte[] varParam, byte[] grpprl, int offset,

Re: Praveen, answers to your questions

2003-07-22 Thread Praveen Mathew
Thanks Ryan for your detailed explanations about Sprms. Sorry for this delay, as there was some problem with my mail server. I will be sending the patch for SprmOperationsVm.java soon Thanks & Regards Praveen Praveen Mathew IBM Software Labs,Airport Road, Bangalore - 560 017,India. Ph :

Re: Praveen hows it going?

2003-07-17 Thread Praveen Mathew
hich is Clear,Readable, Understandable and in a well arranged manner, it would have been more easier for me!!. Now just for implementing a SPRM I have to search its info scattered throughout the entire Document, still not sure If I missed something. Thanks & Regards Praveen Praveen Mathew I

Re: Praveen hows it going?

2003-07-17 Thread Praveen Mathew
Praveen hows it going? Praveen, I changed StyleDescription so that the istd is now a part of _papx as well as being stored in _istd for quick access. Ryan - Original Message - From: "Praveen Mathew" <[EMAIL PROTECTED]> To: "POI Developers List" <[EMAIL PROTECTED]&

Re: Praveen hows it going?

2003-07-16 Thread Praveen Mathew
Ryan, please clarify this. I am finding this difficult to understand According to Spec typedef union _UPX { struct { uchar grpprl[cbMaxGrpprlStyleChpx]; } chpx; struct { ushort istd; uchar grpprl[cbMaxGrpprlSt

Re: Praveen hows it going?

2003-07-16 Thread Praveen Mathew
Thats cool!!. I am working on the SprmOperationsVm class now, just trying to make the compressProperty() functions. Thanks & Regards Praveen "Ryan Ackley" <[EMAIL PROTECTED]> 16/07/2003 19:45 Please respond to "POI Developers List" To: "POI Developers List" <[EMAIL PROTECTED

Re: Praveen hows it going?

2003-07-16 Thread Praveen Mathew
Ryan this is what I plan to make. Please review it & tell me if I should proceed with this approach. Create a seperate class called SprmOperationsVm, which has the following static methods needed for the various Sprm operations. 1. unCompressProperty() 2. unCompressPAPOperation() 3. unCompr

Re: Praveen your next task.

2003-07-14 Thread Praveen Mathew
Sure. I will be working on this from now Thanks & Regards Praveen "Ryan Ackley" <[EMAIL PROTECTED]> 14/07/2003 20:09 Please respond to "POI Developers List" To: "POI Developers List" <[EMAIL PROTECTED]> cc: Subject:Praveen your next task. Praveen,

Re: success!!

2003-07-14 Thread Praveen Mathew
1) Thanks & Regards Praveen "Ryan Ackley" <[EMAIL PROTECTED]> 14/07/2003 17:17 Please respond to "POI Developers List" To: "POI Developers List" <[EMAIL PROTECTED]> cc: Subject:Re: success!! Praveen

Re: success!!

2003-07-13 Thread Praveen Mathew
Congrats Ryan! This is indeed a great acheivement towards our goal of making HWPF out of scratchpad,& also for my Word Converter. It sounds good that it has opened both in Word & WordPerfect. Once you commit , I will check out with WordPro & StarOffice. When I had tried opening a Doc file create

Re: cvs commit: jakarta-poi/src/scratchpad/src/org/apache/poi/hwpf/model/hdftypesStyleDescription.java

2003-07-11 Thread Praveen Mathew
Hi all, After a good vacation I am back into HWPF again Ryan, could you please clear this doubt.. Will a non-complex Word file have PAPX's & CHPX's. eg:- I have a Doc file with 2 paragraphs & a heading. Heading is in caps & Times NweRoman. Paragraph 1 has all text in lower ca

Re: Web site will be out of synch

2003-07-11 Thread Praveen Mathew
) I will try to come up with a weekly schedule for you. Ryan - Original Message - From: "Praveen Mathew" <[EMAIL PROTECTED]> To: "POI Developers List" <[EMAIL PROTECTED]> Sent: Friday, July 11, 2003 6:54 AM Subject: Re: Web site will be out of synch >

Re: Web site will be out of synch

2003-07-11 Thread Praveen Mathew
Great Job Ryan, that you have made the project plan. I am just too eager to see our HWPF 1.0-alpha release . Lets hope to reach there as soon as possible. By the way do we have a weekly schedule, Ryan. Any way now that I am done with the FontTable Class testing , I am also free to start with so

Re: New FFN & Fontable classes

2003-07-10 Thread Praveen Mathew
bject:Re: New FFN & Fontable classes On 7/9/03 9:14 AM, "Praveen Mathew" <[EMAIL PROTECTED]> wrote: > Ryan, > > Actually its a kind of pressure situation here. I need to > do the Stream writing & modifying by this Friday. So I have decided t

Re: New FFN & Fontable classes

2003-07-10 Thread Praveen Mathew
this was the comment from Andrew C Oliver Thanks & Regards Praveen Praveen Mathew IBM Software Labs,Airport Road, Bangalore - 560 017,India. Ph : +91- 80 - 504 4609 (Direct) +91 - 80 - 5262355 Extn: 3609 Email: [EMAIL PROTECTED] "Andrew C. Oliver" <[EMAIL PROTECTED]&

Re: New FFN & Fontable classes

2003-07-09 Thread Praveen Mathew
rt then cast to a character. There should be two '/0' at the end of each font name. If you have to go 2 characters back, it means you miscalculated the offset. You need to make sure you figure out why you miscalculated the offset and correct this. . -Ryan - Original Message

Re: New FFN & Fontable classes

2003-07-09 Thread Praveen Mathew
egards Praveen Praveen Mathew/India/[EMAIL PROTECTED] 10/07/2003 00:15 Please respond to "POI Developers List" To: "POI Developers List" <[EMAIL PROTECTED]> cc: Subject:Re: New FFN & Fontable classes I forgot to ask you if

Re: New FFN & Fontable classes

2003-07-09 Thread Praveen Mathew
I forgot to ask you if you successfully ran your TestFontTable test. Did you? 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 wrong. With 3 different Doc files I am getting the _stringCount field (2

Re: New FFN & Fontable classes

2003-07-09 Thread Praveen Mathew
quot;POI Developers List" <[EMAIL PROTECTED]> cc: Subject:Re: New FFN & Fontable classes Yes, if everything goes according to plan. But you never know... Ryan - Original Message - From: "Praveen Mathew" <[EMAIL PROTECTED]> To: &qu

Re: New FFN & Fontable classes

2003-07-09 Thread Praveen Mathew
.util.Arrays.equals(array1, array2) > http://java.sun.com/j2se/1.4.1/docs/api/java/util/Arrays.html > > On Tue, 2003-07-08 at 21:54, Ryan Ackley wrote: > > try this: > > > > boolean test = new String(name1).equals(new String(name2)); > > > > - Original Messag

Re: New FFN & Fontable classes

2003-07-08 Thread Praveen Mathew
l.LittleEndian; import java.util.Arrays; /** * FFN - Font Family Name. FFN is a data structure that stores the names of the Main * Font and that of Alternate font as an array of characters. It has also a header * that stores info about the whole structure and the fonts * * @author Praveen

Re: New FFN & Fontable classes

2003-07-08 Thread Praveen Mathew
do you wake up in the morning? - Original Message - From: "Praveen Mathew" <[EMAIL PROTECTED]> To: "POI Developers List" <[EMAIL PROTECTED]> Sent: Tuesday, July 08, 2003 12:54 PM Subject: Re

Re: New FFN & Fontable classes

2003-07-08 Thread Praveen Mathew
Developers List" <[EMAIL PROTECTED]> cc: Subject:Re: New FFN & Fontable classes WHat time is it now where you are? - Original Message - From: "Praveen Mathew" <[EMAIL PROTECTED]> To: "POI Developers List" <[EMAIL PR

Re: New FFN & Fontable classes

2003-07-08 Thread Praveen Mathew
Its 10:20 pm at night Thanks & Regards Praveen

Re: New FFN & Fontable classes

2003-07-08 Thread Praveen Mathew
003 21:54 Please respond to "POI Developers List" To: "POI Developers List" <[EMAIL PROTECTED]> cc: Subject:Re: New FFN & Fontable classes try this: boolean test = new String(name1).equals(new String(name2)); - Original M

Re: New FFN & Fontable classes

2003-07-08 Thread Praveen Mathew
Re: New FFN & Fontable classes try this: boolean test = new String(name1).equals(new String(name2)); - Original Message - From: "Praveen Mathew" <[EMAIL PROTECTED]> To: "POI Developers List" <[EMAIL PROTECTED]> Sent: Tuesday, July 08, 2003 11:55 AM Sub

Re: New FFN & Fontable classes

2003-07-08 Thread Praveen Mathew
because the TestFontTable class will be testing all the reading and writing code in Ffn. We may need a TestFfn later when we add more functionality. - Original Message - From: "Praveen Mathew" <[EMAIL PROTECTED]> To: "POI Developers List" <[EMAIL PROTECTED]>

Re: New FFN & Fontable classes

2003-07-08 Thread Praveen Mathew
Thanks ... I will do that Thanks & Regards Praveen Praveen Mathew IBM Software Labs,Airport Road, Bangalore - 560 017,India. Ph : +91- 80 - 504 4609 (Direct) +91 - 80 - 5262355 Extn: 3609 Email: [EMAIL PROTECTED] "Ryan Ackley" <[EMAIL PROTECTED]> 08/07/2003 18:

Re: New FFN & Fontable classes

2003-07-08 Thread Praveen Mathew
n. In the USA, the word "doubt" is usually associated with personal negative feelings towards the subject of the sentence. For example, "I have serious doubts about JavaServerFaces being a good technology". and "I doubt that it is possible" Ryan - Original Mes

Re: New FFN & Fontable classes

2003-07-07 Thread Praveen Mathew
Sorry again for my poor English, but I am happy that you could understand what I meant. Thanks for the answer, Ryan. Thanks & Regards Praveen Praveen Mathew IBM Software Labs,Airport Road, Bangalore - 560 017,India. Ph : +91- 80 - 504 4609 (Direct) +91 - 80 - 5262355 Extn: 3609 E

Re: New FFN & Fontable classes

2003-07-07 Thread Praveen Mathew
s. Don't do this because this will be handled somewhere else. You pass in an fcMin to the writeTo function. This argument is unnecessary. Ryan - Original Message - From: "Praveen Mathew" <[EMAIL PROTECTED]> To: "POI Developers List" <[EMAIL PROTECTED]> S

Re: New FFN & Fontable classes

2003-07-07 Thread Praveen Mathew
lasses Praveen the next thing you should be working on is writing a test case for FontTable. You need to test the writing by creating a FontTable from a WordDocument then writing it out then creating another FontTable from the what you wrote out. Then compare the two and see if they'r

Re: New FFN & Fontable classes

2003-07-06 Thread Praveen Mathew
I coud do it like this long mask = 0; mask = (long) Math.pow((long)2,(long)62); mask = mask<<1; Thanks & Regards Praveen Praveen Mathew IBM Software Labs,Airport Road, Bangalore - 560 017,India. Ph : +91- 80 - 504 4609 (Direct) +91 - 80 - 5262355 Extn: 3609 Email: [EMAIL

Re: New FFN & Fontable classes

2003-07-04 Thread Praveen Mathew
Hi , I am unable to make the MSbit of a long in java like long x = 0; x = x | (long)Math.pow((long)2,(long)63); Isd there a way I can do this??? Thanks & Regards Praveen "Ryan Ackley" <[EMAIL PROTECTED]> 04/07/2003 15:26 Please respond to "POI Developers List" To: "POI D

Re: New FFN & Fontable classes

2003-07-03 Thread Praveen Mathew
Thanks & Regards Praveen Praveen Mathew IBM Software Labs,Airport Road, Bangalore - 560 017,India. Ph : +91- 80 - 504 4609 (Direct) +91 - 80 - 5262355 Extn: 3609 Email: [EMAIL PROTECTED] "Ryan Ackley" <[EMAIL PROTECTED]> 04/07/2003 00:33 Please respond to "P

New FFN & Fontable classes

2003-07-03 Thread Praveen Mathew
re written in all * Word files. The sttbfffn is an sttbf where each string is an FFN structure instead * of pascal-style strings. An sttbf is a string Table stored in file. Thus sttbffn * is like an Sttbf with an array of FFN structures that stores the font name strings * * @author Praveen

Re: HWPF: java doubts

2003-07-03 Thread Praveen Mathew
Thanks Ryan, doubt cleared.. I have made the new FFn & fontable classes, just searching how to sent it as a patch. Thanks & Regards Praveen "Ryan Ackley" <[EMAIL PROTECTED]> 03/07/2003 15:39 Please respond to "POI Developers List" To: "POI Developers List" <[EMAIL PROTECTED]>

Re: HWPF: java doubts

2003-07-02 Thread Praveen Mathew
Thats cool!! Then why we need getUnsignedByte() itself?? eg: to read a byte read 0xff , get its unsigned value by typcasting to int i,e 0x00ff; & to write it back just write the byte 0xff. what about the HWPFOutputStream. write() which takes only a byte array Thanks & Regards Pravee

Re: HWPF: java doubts

2003-07-02 Thread Praveen Mathew
take only the LSB for actual byte. Then I guess we need a function called putUnsignedByte( ) in LittleEndian.java any thoughts?? Thanks & Regards Praveen Praveen Mathew IBM Software Labs,Airport Road, Bangalore - 560 017,India. Ph : +91- 80 - 504 4609 (Direct) +91 - 80 - 5262355 Ex

HWPF: java doubts

2003-07-02 Thread Praveen Mathew
I have some basic doubts regarding Java as I am very new to it , I was mainly working in C before. is byte datatype conterpart of unsigned char in C, say can i store 255 in a byte variable? If yes then why is it that in LittleEndian.getunsignedByte is returning an int ? Cant we typecast it to

Re: CVS sucks (was: "Re: Praveen...your deadline?")

2003-07-02 Thread Praveen Mathew
Yes i am new to CVS as u guessed. I have Eclipse , so let me try out that combination as many have pointed out here. what is the GUI client , do i need this if I have Eclipse?? Thanks & Regards Praveen "Ryan Ackley" <[EMAIL PROTECTED]> 02/07/2003 19:41 Please respond to "POI Developers List

Re: Praveen...your deadline?

2003-07-02 Thread Praveen Mathew
Avik Sengupta" <[EMAIL PROTECTED]> wrote: > Are you using CVS? do: > cvs update -dP > > to get new files and directories. > > > On Wed, 2003-07-02 at 19:10, Praveen Mathew wrote: >> Andy, is there a better way to get all the newly checked in file

Re: Java IDE and CVS Re: Praveen...your deadline?

2003-07-02 Thread Praveen Mathew
thanks Conrad for the info... I am using Eclipse so may be I can use CVS also from Eclipse.. let me try out Thanks & Regards Praveen "[EMAIL PROTECTED]" 02/07/2003 08:25 Please respond to "POI Developers List" To: POI Developers List <[EMAIL PROTECTED]> cc:

Re: Praveen...your deadline?

2003-07-02 Thread Praveen Mathew
Andy, is there a better way to get all the newly checked in files?. Currently I am going to scratchpad & downloading each .java files seperately. Thanks & Regards Praveen "Andrew C. Oliver" <[EMAIL PROTECTED]> 02/07/2003 08:25 Please respond to "POI Developers List" To: POI

Re: Praveen...your deadline?

2003-07-02 Thread Praveen Mathew
Ryan I will do that.today itself Thanks & Regards Praveen Praveen Mathew IBM Software Labs,Airport Road, Bangalore - 560 017,India. Ph : +91- 80 - 504 4609 (Direct) +91 - 80 - 5262355 Extn: 3609 Email: [EMAIL PROTECTED] "Ryan Ackley" <[EMAIL PROTECTED]> 02/

Re: Praveen...your deadline?

2003-07-01 Thread Praveen Mathew
ll these testCases , BuGzilla, PATCH etc.but yes if you and Andy can guide me I can make it.. In my next code I will stick to your coding style. Thanks & Regards Praveen Praveen Mathew IBM Software Labs,Airport Road, Bangalore - 560 017,India. Ph : +91- 80 - 504 4609 (Direct) +91 - 80 -

Re: HWPF again

2003-06-30 Thread Praveen Mathew
It will be great if we can acheive that within 2 weeks. I will give my full support. Thanks & Regards Praveen "Ryan Ackley" <[EMAIL PROTECTED]> 30/06/2003 22:20 Please respond to "POI Developers List" To: "POI Developers List" <[EMAIL PROTECTED]> cc: Subject:

Re: HWPF again

2003-06-30 Thread Praveen Mathew
converting an existing OpenOffice document to Doc Thanks & Regards Praveen Praveen Mathew IBM Software Labs,Airport Road, Bangalore - 560 017,India. Ph : +91- 80 - 504 4609 (Direct) +91 - 80 - 5262355 Extn: 3609 Email: [EMAIL PROTECTED] "Ryan Ackley" <[EMAIL PROT

Re: HWPF again

2003-06-30 Thread Praveen Mathew
Thanks Ryan. I really want to help you. I have never wriiten testcases in my life !!. But if you can explain me what to do then I can give a try. But atleast for next 2 days (my Deadline) I am too busy to complete the code I mentionedand this is too urgent!!! Thanks & Regards Praveen

Re: HWPF again

2003-06-30 Thread Praveen Mathew
u can write unit tests for what is already there. Ryan - Original Message - From: "Praveen Mathew" <[EMAIL PROTECTED]> To: "POI Developers List" <[EMAIL PROTECTED]> Sent: Wednesday, June 25, 2003 12:22 PM Subject: Re: HWPF again > Hi, &

Re: HWPF again

2003-06-25 Thread Praveen Mathew
return fontNames[chpFtc].GetAltFontName(); } public short SetStringCount(short stringCount) { this.stringCount = stringCount; } } Thanks & Regards Praveen Praveen Mathew IBM Software Labs,Airport Road, Bangalore - 560 017,India. Ph

Re: HWPF again

2003-06-25 Thread Praveen Mathew
Ryan, In Pascal style strings they are talking about an Extra Data with each String. For an FFn structure is this extra Data going to be the alternate Font in each XCHAR[] Thanks & Regards Praveen Praveen Mathew IBM Software Labs,Airport Road, Bangalore - 560 017,India

Re: HWPF again

2003-06-25 Thread Praveen Mathew
file structure definition. So I assume that we will have an array of FFN structures in Sttbfffn ( whose nth entry is the font of chp.ftc = n). And the length of this array can be read from "stringCount" field (short) in the STTBF header. Thanks & Regards Praveen Praveen Mathe

Re: HWPF again

2003-06-24 Thread Praveen Mathew
Thanks Ryan for your detailed explanations Thanks & Regards Praveen Praveen Mathew IBM Software Labs,Airport Road, Bangalore - 560 017,India. Ph : +91- 80 - 504 4609 (Direct) +91 - 80 - 5262355 Extn: 3609 Email: [EMAIL PROTECTED] "Ryan Ackley" <[EMAIL PROTECTED]&

Re: HWPF again

2003-06-24 Thread Praveen Mathew
? is it using lcbSttbfffn ??? sorry for the long mail.. Thanks & Regards Praveen Praveen Mathew IBM Software Labs,Airport Road, Bangalore - 560 017,India. Ph : +91- 80 - 504 4609 (Direct) +91 - 80 - 5262355 Extn: 3609 Email: [EMAIL PROTECTED] "Ryan Ackley" <[EMAI

Re: HWPF again

2003-06-24 Thread Praveen Mathew
alse; } } } Thanks & Regards Praveen Praveen Mathew IBM Software Labs,Airport Road, Bangalore - 560 017,India. Ph : +91- 80 - 504 4609 (Direct) +91 - 80 - 5262355 Extn: 3609 Email: [EMAIL PROTECTED] "Ryan Ackley" <[EMAIL PROTECTED]> 23/06/2003 18:04 Please re

Re: HWPF again

2003-06-23 Thread Praveen Mathew
e all the code written. I am sure it will take some tweaking to work. I am currently writing test cases to see which parts aren't working. I have something you could do if you would like to help me. I need a FontTable class. Search for "sttbfffn" in the spec. that is what I need.

Re: HWPF again

2003-06-23 Thread Praveen Mathew
Hi, I tried creating a Doc from a String, and read the "WordDocument" stream from that Doc file , but there was no FIB in it... So no other go except to create all these Datastructures Thanks & Regards Praveen Praveen Mathew/India/[EMAIL PROTECTED] 23/06/2003 15:23

HWPF again

2003-06-23 Thread Praveen Mathew
Hi all, I am back to HWPF after a good vacation... I have gone through the codes which Ryan has added. Thanks Ryan for your work. I am planning to create a Doc file with just 1 character in it...say "H". This means I only have to deal with the minimum datastructures and that too fo

Re: test cases

2003-06-23 Thread Praveen Mathew
t;1Table" stream. Since I have only one character "H" I will have only 1 instance of all the dataStructures. How will I link the FIB in "WordDocument" stream with "1Table" stream?. Also If I need to show the "H" font = Arial, which datastructure should

Re: PROPOSAL:for better documentation

2003-06-12 Thread Praveen Mathew
Hi, Anybody knows about a C++ compiler which comes as a freeware?? Thanks & Regards Praveen Praveen Mathew IBM Software Labs,Airport Road, Bangalore - 560 017,India. Ph : +91- 80 - 504 4609 (Direct) +91 - 80 - 5262355 Extn: 3609 Email: [EMAIL PROTE

Re: cvs commit: jakarta-poi/src/types/styles hdftype.xsl

2003-06-05 Thread Praveen Mathew
Hey this is indeed a very good news!!! I havnt seen the code, but thanks a lot to Ryan. Thanks & Regards Praveen Praveen Mathew IBM Software Labs,Airport Road, Bangalore - 560 017,India. Ph : +91- 80 - 504 4609 (Direct) +91 - 80 - 5262355 Extn: 3609 Email: [EMAIL PROTE

Re: HDF status

2003-06-04 Thread Praveen Mathew
l the Ms Files. Thanks & Regards Praveen Praveen Mathew IBM Software Labs,Airport Road, Bangalore - 560 017,India. Ph : +91- 80 - 504 4609 (Direct) +91 - 80 - 5262355 Extn: 3609 Email

Re: HDF status

2003-06-04 Thread Praveen Mathew
Hi folks, I was comparing the Contents of Fib from an existing Doc printed out with the same Doc file opened in Binary format in TextPad. I could not get what the initial 512 bytes correspond to. The FIB starts only from the 512thy byte, whereas the Word Spec says that its th

Re: HDF status

2003-06-02 Thread Praveen Mathew
what all DtaStructures I need to edit like..TextPieces, Papx,Chpx...?? I am not able to understand the Word Documentation properly till now... so please help Thanks & Regards Praveen Praveen Mathew IBM Software Labs,Airport Road, Bangalore - 560 017,India. Ph : +91-

Re: HPSF (Was: Re: HDF)

2003-06-02 Thread Praveen Mathew
Actually the Tittle, no: of words, no: of characters and many other ..are all different... Thanks & Regards Praveen Praveen Mathew IBM Software Labs,Airport Road, Bangalore - 560 017,India. Ph : +91- 80 - 504 4609 (Direct) +91 - 80 - 5262355 Extn: 3609 Email: [EMAIL PROTE

Re: HPSF (Was: Re: HDF)

2003-06-01 Thread Praveen Mathew
I dont know why this happened.. I had made 2 different Doc files using the WordWriter.java code i,e 1. with only mainStream & tableStream 2. with SummaryStream also included. surprisingly when I opened both these files in StarOffice (OpenOffice.org)

Re: HPSF (Was: Re: HDF)

2003-06-01 Thread Praveen Mathew
Hey I forgot to add this line in writeWordStream() method ... directory.createDocument("SummaryInformation", baisSs); But this too works... Thanks & Regards Praveen - To uns

Re: HPSF (Was: Re: HDF)

2003-06-01 Thread Praveen Mathew
I am not sure I completely understand you. You would name the main stream "WordDocument", and the table stream either "0Table" or "1Table". You have to

Re: If you want to stay on the list, clean out your mailbox or get yourmailserver configured correctly

2003-05-31 Thread Praveen Mathew
Sorry , I have only important mails in my mailbox...so How should I configure the mailserver Thanks & Regards Praveen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: HPSF (Was: Re: HDF)

2003-05-31 Thread Praveen Mathew
I am not sure I completely understand you. You would name the main stream "WordDocument", and the table stream either "0Table" or "1Table". You have to put the one you plan on using in the FIB. It defaults to "0Table". To create 2 stre

Re: HPSF (Was: Re: HDF)

2003-05-30 Thread Praveen Mathew
Hi, After thinking on the lines of Rainer's suggestion , I have made a plan. Please tell me if this will work? According to HDFObjectFactory.java it seems that the main stream is collected in _mainDocument and the table stream is collected in _tableBuffer. and all the data structures cre

Re: HPSF (Was: Re: HDF)

2003-05-30 Thread Praveen Mathew
Thanks Rainer for your detailed explanation for Summarystream!! Thanks & Regards Praveen Rainer Klute

Re: HPSF (Was: Re: HDF)

2003-05-30 Thread Praveen Mathew
copy one from an existing Word document using POIFS' functionality. How can I do this using POIFS functionality?? Thanks & Regards Praveen Praveen Mathew IBM Software Labs,Airport Road, Bangalore - 560 017,India. Ph : +91- 80 - 504 4609 (Direct) +91 - 80 - 5262355 Extn: 3609 E

Re: HDF

2003-05-30 Thread Praveen Mathew
Hi, The Word Documentation says.. Information on the layout of the SummaryInformation stream can be found in Appendix B of the OLE 2 Programmers Reference. Any body has seen this? Where is this available? Thanks & Regards Praveen

Re: HDF

2003-05-30 Thread Praveen Mathew
If all you need is simple text without formatting then you may have stumbled upon the answer already. Ryan - Original Message - From: "Praveen Mathew" <[EMAIL PROTECTED]> To: "POI Developers List" <[EMAIL PROTECTED]> Sent: Thursday, May 29, 2003 1

Re: HDF

2003-05-30 Thread Praveen Mathew
Sorry If you got offended from my mail. I didnt mean that in anyway, I am breaking my head to create FIB, FKP etc.. so that I can create a simple Doc with text, when the same is done by createDocument() smoothly , I became eager to know its implementation...thats all. Also I am not comfortable u

Re: HDF

2003-05-30 Thread Praveen Mathew
does createDocument() method or its implementation knows the byteArrayInputStream being passed is just text data, Thanks & Regards Praveen Praveen Mathew IBM Software Labs,Airport Road, Bangalore - 560 017,India. Ph : +91- 80 - 504 4609 (Direct) +91 - 80 - 5262355 Extn: 3609 Email

Re: HDF

2003-05-30 Thread Praveen Mathew
eam(b); POIFSFileSystem fs = new POIFSFileSystem(); DirectoryEntry directory = fs.getRoot(); directory.createDocument("WordDocument", bais); FileOutputStream ostream = new FileOutputStream(outfile); fs.writeFilesystem(ostream); bais.close(); ostream.close(); } Thanks & Regards Praveen

Re: HDF

2003-05-30 Thread Praveen Mathew
Bob, Thats Right!!, But where do the information about an actual table stored?? Thanks & Regards Praveen Praveen Mathew IBM Software Labs,Airport Road, Bangalore - 560 017,India. Ph : +91- 80 - 504 4609 (Direct) +91 - 80 - 5262355 Extn: 3609 Email: [EMAIL PROTE

Re: HDF

2003-05-29 Thread Praveen Mathew
veen Praveen Mathew IBM Software Labs,Airport Road, Bangalore - 560 017,India. Ph : +91- 80 - 504 4609 (Direct) +91 - 80 - 5262355 Extn: 3609 Email: [EMAIL PROTE

  1   2   >