RE: new code

2004-08-11 Thread Alexandru, Ionita
Did you public those classes? Is there a way that I can see this classes? Thanks! -Original Message- From: Tim Forbis [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 11, 2004 5:37 PM To: 'POI Users List' Subject: RE: new code Thanks a lot for all the help you guys have provided the l

Insert table

2004-05-21 Thread Alexandru, Ionita
How can I insert a table in a word document, and how can I set cell properties, for example to set the invisibility for the upper line of cell or other line of cell on printing process.

HWPF header and footer

2004-05-21 Thread Alexandru, Ionita
Do you have any idea when HWPF will be able to handle with headers and footers? Thanks!

Paragraph

2004-05-10 Thread Alexandru, Ionita
Why when I try to put a paragraph in a table, the word document gets corrupted? Is there possible to do this? And another thing, how can I assign a bullet (number) to a paragraph?

Again paragraph :(

2004-05-05 Thread Alexandru, Ionita
Finally I've succeed inserting a paragraph, but how can I set it numbered? I mean how can I bullet them, using numbers or letters?

RE: HWpf Paragraph contradictions..

2004-05-05 Thread Alexandru, Ionita
ginal Message - From: "Alexandru, Ionita" <[EMAIL PROTECTED]> To: "POI User" <[EMAIL PROTECTED]> Sent: Tuesday, May 04, 2004 1:42 PM Subject: HWpf Paragraph contradictions.. Hi . I got some problems inserting a new paragraph in Wor

HWpf Paragraph contradictions..

2004-05-04 Thread Alexandru, Ionita
Hi . I got some problems inserting a new paragraph in Word doc. I received from Ryan couple weeks ago some code sample for doing this. That code looks like this: Range r = doc.getRange(); Paragraph p = r.insertPargraph(new ParagraphProper

error

2004-05-04 Thread Alexandru, Ionita
Why I get this error? java.lang.NullPointerException at org.apache.poi.hwpf.sprm.ParagraphSprmCompressor.compressParagraphProperty(P aragraphSprmCompressor.java:41) at org.apache.poi.hwpf.usermodel.Range.insertAfter(Range.java:482) at org.apache.poi.hwpf.usermod

RE: header and footer

2004-05-04 Thread Alexandru, Ionita
(); header.setCenter("bla bla"); header.setLeft("ok "); header.setRight(HSSFHeader.font("Stencil-Normal", "Italic") + HSSFHeader.fontSize((short) 10) + "Test Workbook"); -Message d'origine- De : Alexandru, Ionita [mailto:[EMAIL PROTECTE

header and footer

2004-05-04 Thread Alexandru, Ionita
Are supported?

buil

2004-05-03 Thread Alexandru, Ionita
Hi! I sent a mail to list on 26th April about an inconvenience building javadoc from POI. Here is the message body of that mail: Why I cannot build the javadocs of POI? I've check-out the latest version of POI from CVS, and when I'm tr

RE: Issue about first character...

2004-04-30 Thread Alexandru, Ionita
... er...no, but you are welcome to attempt to fix it and submit a patch. -Ryan - Original Message - From: "Alexandru, Ionita" <[EMAIL PROTECTED]> To: "POI User" <[EMAIL PROTECTED]> Sent: Friday, April 30, 2004 7:53 AM Subject: Issue about first charact

Issue about first character...

2004-04-30 Thread Alexandru, Ionita
What's happened with that issue? It was fixed? It was about that the first character in a text sequence that I want to insert after a range using insertAfter() does not apply the CharacterProperties that the rest of text apply.

Error

2004-04-30 Thread Alexandru, Ionita
Why these errors occur? java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 at java.util.ArrayList.RangeCheck(ArrayList.java:508) at java.util.ArrayList.get(ArrayList.java:320) at org.apache.poi.hwpf.usermodel.Range.findRange(Range.java:803) at org.apa

Another think

2004-04-29 Thread Alexandru, Ionita
And another think, is there possible to insert images in Word Docs using POI? Or other OLE objects, or VB macros? Thanks again!

Word crash

2004-04-29 Thread Alexandru, Ionita
I'm trying to create to populate a "WORD template" using POI. If I want to make some modifications in Word at the final document, and then save the document, the Word crashes.why? But if I'm saving the document in RTF format (save as RTF), the

bug HWPF?

2004-04-27 Thread Alexandru, Ionita
Why when I'm trying to insert after a range using InsertAfter, the first character in the text that I wanna to insert, does not apply text properties, but the rest of text it does apply text properties that I mentioned in CharacterProperties. Thanks!

Build

2004-04-26 Thread Alexandru, Ionita
Why I cannot build the javadocs of POI? I've check-out the latest version of POI from CVS, and when I'm trying to build this exception in thrown: [javadoc] Building tree for all the packages and classes... [javadoc] javadoc: In doclet class com.sun.tool

RE: Insert formated text!

2004-04-16 Thread Alexandru, Ionita
r = doc.getRange(); > Paragraph p = r.insertPargraph(new ParagraphProperties()); > p.insertAfter("hell world", new CharacterProperties()); > > as far as what properties to set, go look at the javadoc of > character and paragraph properties > > ----- Original Me

RE: Insert formated text!

2004-04-16 Thread Alexandru, Ionita
racterProperties(); > chp.setBold(true); chp.setItalic(true); > > Range r = doc.getRange(); > r.insertAfter("hello world!", chp); > > > > - Original Message - > From: "Alexandru, Ionita" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED

Create new Word doc!

2004-04-16 Thread Alexandru, Ionita
And another thing... is there a way to create a new word document and write in it, only using POI, and then save it?

Insert formated text!

2004-04-15 Thread Alexandru, Ionita
How can I insert in a word document formated text, for example Bold text, or Italic, or to insert a bullet/numberd paragraph. How can I do that? Thanks!

Table in word doc!

2004-04-15 Thread Alexandru, Ionita
Can access text within a table structure in a word doc? Is there posible?

Character position!

2004-04-14 Thread Alexandru, Ionita
Is there a way to find out at what position a set of known characters is? By position I refer to the character offset in the whole document. I'm trying to insert a text after a known text in a word document! or...can I define a range in a paragraph if I know only Section, Para

RE: Exception

2004-04-14 Thread Alexandru, Ionita
; > - Original Message ----- > From: "Alexandru, Ionita" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, April 14, 2004 2:31 AM > Subject: Exception > > > > Can somebody tell me why this exception is thrown

Exception

2004-04-14 Thread Alexandru, Ionita
Can somebody tell me why this exception is thrown? Invalid header signature; read 7015536635646467195, expected -2226271756974174256 Thkx!

RE: Example

2004-04-08 Thread Alexandru, Ionita
-poi/src/scratchpad/s > rc/org/apache/poi/hwpf/usermodel/Range.java > > Just delete your cvs directory and checkout the whole project again. > > -Ryan > > - Original Message - > From: "Alexandru, Ionita" <[EMAIL PROTECTED]> > To: "'POI Us

RE: Example

2004-04-08 Thread Alexandru, Ionita
x27;t help you! > > -Ryan > > > - Original Message - > > From: "Alexandru, Ionita" <[EMAIL PROTECTED]> > > To: "'POI Users List'" <[EMAIL PROTECTED]>; > "'Ryan Ackley'" > > <[

RE: Example

2004-04-08 Thread Alexandru, Ionita
ers List > Subject: Re: Example > > > I fixed this problem please try again > > > - Original Message - > From: "Alexandru, Ionita" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, April 07, 2004 11:41 AM > Subject

Example

2004-04-07 Thread Alexandru, Ionita
can someone tell me where can I find some read/write word documents samples? I have to insert some text in a word document, after a specified sequence of known text. I've tried some code, but, the final word doc was corrupted ==