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
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
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
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
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]
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]
-
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
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
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,
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 &
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
>>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
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
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
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
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
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
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
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
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,
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 :
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
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]&
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
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
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
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,
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
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
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
) 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
>
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
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
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]&
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
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
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
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
.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
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
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
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
Its 10:20 pm at night
Thanks & Regards
Praveen
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
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
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]>
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:
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
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
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
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
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
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
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
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
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]>
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
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
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
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
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
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:
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
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/
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 -
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:
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
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
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,
&
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
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
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
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]&
?
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
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
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.
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
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
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
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
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
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
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
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-
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
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)
Hey I forgot to add this line in writeWordStream() method ...
directory.createDocument("SummaryInformation", baisSs);
But this too works...
Thanks & Regards
Praveen
-
To uns
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
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]
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
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
Thanks Rainer for your detailed explanation for Summarystream!!
Thanks & Regards
Praveen
Rainer Klute
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
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
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
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
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
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
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
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 - 100 of 101 matches
Mail list logo