You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by Fabio Alves de Araujo Ebner - Dna <fa...@dnasolution.com.br> on 2008/06/17 16:31:52 UTC

Help search and replace

Can anyone tell me if i can search an replace some text into a .doc without lost the the format(bold, italic, text align) 

please i need help

tanks

Re: Help search and replace

Posted by Fabio Alves de Araujo Ebner - Dna <fa...@dnasolution.com.br>.
HIRA.  i got the new .jars i look the attachment, but when i try to use i 
got error, because he needs 5 parans, and when i try to do like u (3parans) 
i got error :/


----- Original Message ----- 
From: "N. Hira" <nh...@cognocys.com>
To: "POI Developers List" <de...@poi.apache.org>
Sent: Wednesday, June 18, 2008 8:23 PM
Subject: Re: Help search and replace


> Fabio, I would recommend that you take a look at the attachment I  just 
> added to bug 45001.  It has a patch to replaceText() and a test  case, 
> which would illustrate how to use this method.
>
> https://issues.apache.org/bugzilla/show_bug.cgi?id=45001#attach_22139
>
> Cheers!
>
> -h
>
> On 18-Jun-2008, at 12:08 PM, Fabio Alves de Araujo Ebner - Dna wrote:
>
>> nick that link u send me open the old version of api with not the 
>> replaceText but i found the class Range( http://svn.apache.org/ 
>> viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/usermodel/ 
>> Range.java?view=markup&pathrev=668143)  and need one last help..  can u 
>> tel me what is this:
>>
>>  @param pStartOffset    The offset or index where the 
>> <code>CharacterRun</code> begins
>>    * @param pPlaceHolderIndex   The offset or index of the  placeholder,
>>    *  relative to the <code>CharacterRun</code> where
>>    *  <code>pPlaceHolder</code> was foundi dont undersand how i got 
>> thats paranstks
>>
>>
>> ----- Original Message -----
>> From: "Nick Burch" <ni...@torchbox.com>
>> To: "POI Developers List" <de...@poi.apache.org>
>> Sent: Wednesday, June 18, 2008 12:44 PM
>> Subject: Re: Help search and replace
>>
>>
>>> On Wed, 18 Jun 2008, Fabio Alves de Araujo Ebner - Dna wrote:
>>>> nice i've found.. but do you know here i got some documentation from
>>>> that method??
>>>
>>> Have you tried the online version of the javadocs?
>>> http://poi.apache.org/apidocs/org/apache/poi/hwpf/usermodel/ 
>>> Range.html#replaceText(java.lang.String,%20java.lang.String,%20int, 
>>> %20int,%20org.apache.poi.hwpf.HWPFDocument)
>>>
>>> Nick
>>>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
> For additional commands, e-mail: dev-help@poi.apache.org
> 


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


Re: Help search and replace

Posted by "N. Hira" <nh...@cognocys.com>.
:-)

You can use the SVN code to do a build yourself, or pick up a nightly  
build tomorrow.

-h

On 19-Jun-2008, at 9:00 AM, Fabio Alves de Araujo Ebner - Dna wrote:

> hira.. now i see the patch u send.. and u update the replaceText  
> method :p so when i can take the jar with that new replaceText??
>
> tanks..
> ----- Original Message ----- From: "N. Hira" <nh...@cognocys.com>
> To: "POI Developers List" <de...@poi.apache.org>
> Sent: Wednesday, June 18, 2008 8:23 PM
> Subject: Re: Help search and replace
>
>
>> Fabio, I would recommend that you take a look at the attachment I   
>> just added to bug 45001.  It has a patch to replaceText() and a  
>> test  case, which would illustrate how to use this method.
>>
>> https://issues.apache.org/bugzilla/show_bug.cgi?id=45001#attach_22139
>>
>> Cheers!
>>
>> -h
>>
>>


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


Re: Help search and replace

Posted by Fabio Alves de Araujo Ebner - Dna <fa...@dnasolution.com.br>.
hira.. now i see the patch u send.. and u update the replaceText method :p 
so when i can take the jar with that new replaceText??

tanks..
----- Original Message ----- 
From: "N. Hira" <nh...@cognocys.com>
To: "POI Developers List" <de...@poi.apache.org>
Sent: Wednesday, June 18, 2008 8:23 PM
Subject: Re: Help search and replace


> Fabio, I would recommend that you take a look at the attachment I  just 
> added to bug 45001.  It has a patch to replaceText() and a test  case, 
> which would illustrate how to use this method.
>
> https://issues.apache.org/bugzilla/show_bug.cgi?id=45001#attach_22139
>
> Cheers!
>
> -h
>
> On 18-Jun-2008, at 12:08 PM, Fabio Alves de Araujo Ebner - Dna wrote:
>
>> nick that link u send me open the old version of api with not the 
>> replaceText but i found the class Range( http://svn.apache.org/ 
>> viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/usermodel/ 
>> Range.java?view=markup&pathrev=668143)  and need one last help..  can u 
>> tel me what is this:
>>
>>  @param pStartOffset    The offset or index where the 
>> <code>CharacterRun</code> begins
>>    * @param pPlaceHolderIndex   The offset or index of the  placeholder,
>>    *  relative to the <code>CharacterRun</code> where
>>    *  <code>pPlaceHolder</code> was foundi dont undersand how i got 
>> thats paranstks
>>
>>
>> ----- Original Message -----
>> From: "Nick Burch" <ni...@torchbox.com>
>> To: "POI Developers List" <de...@poi.apache.org>
>> Sent: Wednesday, June 18, 2008 12:44 PM
>> Subject: Re: Help search and replace
>>
>>
>>> On Wed, 18 Jun 2008, Fabio Alves de Araujo Ebner - Dna wrote:
>>>> nice i've found.. but do you know here i got some documentation from
>>>> that method??
>>>
>>> Have you tried the online version of the javadocs?
>>> http://poi.apache.org/apidocs/org/apache/poi/hwpf/usermodel/ 
>>> Range.html#replaceText(java.lang.String,%20java.lang.String,%20int, 
>>> %20int,%20org.apache.poi.hwpf.HWPFDocument)
>>>
>>> Nick
>>>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
> For additional commands, e-mail: dev-help@poi.apache.org
> 


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


Re: Help search and replace

Posted by Fabio Alves de Araujo Ebner - Dna <fa...@dnasolution.com.br>.
Hira.. if i got some erros what i want to do to warning you??

tks
----- Original Message ----- 
From: "N. Hira" <nh...@cognocys.com>
To: "POI Developers List" <de...@poi.apache.org>
Sent: Wednesday, June 18, 2008 8:23 PM
Subject: Re: Help search and replace


> Fabio, I would recommend that you take a look at the attachment I  
> just added to bug 45001.  It has a patch to replaceText() and a test  
> case, which would illustrate how to use this method.
> 
> https://issues.apache.org/bugzilla/show_bug.cgi?id=45001#attach_22139
> 
> Cheers!
> 
> -h
> 
> On 18-Jun-2008, at 12:08 PM, Fabio Alves de Araujo Ebner - Dna wrote:
> 
>> nick that link u send me open the old version of api with not the  
>> replaceText but i found the class Range( http://svn.apache.org/ 
>> viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/usermodel/ 
>> Range.java?view=markup&pathrev=668143)  and need one last help..  
>> can u tel me what is this:
>>
>>  @param pStartOffset    The offset or index where the  
>> <code>CharacterRun</code> begins
>>    * @param pPlaceHolderIndex   The offset or index of the  
>> placeholder,
>>    *  relative to the <code>CharacterRun</code> where
>>    *  <code>pPlaceHolder</code> was foundi dont undersand how i got  
>> thats paranstks
>>
>>
>> ----- Original Message -----
>> From: "Nick Burch" <ni...@torchbox.com>
>> To: "POI Developers List" <de...@poi.apache.org>
>> Sent: Wednesday, June 18, 2008 12:44 PM
>> Subject: Re: Help search and replace
>>
>>
>>> On Wed, 18 Jun 2008, Fabio Alves de Araujo Ebner - Dna wrote:
>>>> nice i've found.. but do you know here i got some documentation from
>>>> that method??
>>>
>>> Have you tried the online version of the javadocs?
>>> http://poi.apache.org/apidocs/org/apache/poi/hwpf/usermodel/ 
>>> Range.html#replaceText(java.lang.String,%20java.lang.String,%20int, 
>>> %20int,%20org.apache.poi.hwpf.HWPFDocument)
>>>
>>> Nick
>>>
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
> For additional commands, e-mail: dev-help@poi.apache.org
>

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


Re: Help search and replace

Posted by "N. Hira" <nh...@cognocys.com>.
Fabio, I would recommend that you take a look at the attachment I  
just added to bug 45001.  It has a patch to replaceText() and a test  
case, which would illustrate how to use this method.

https://issues.apache.org/bugzilla/show_bug.cgi?id=45001#attach_22139

Cheers!

-h

On 18-Jun-2008, at 12:08 PM, Fabio Alves de Araujo Ebner - Dna wrote:

> nick that link u send me open the old version of api with not the  
> replaceText but i found the class Range( http://svn.apache.org/ 
> viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/usermodel/ 
> Range.java?view=markup&pathrev=668143)  and need one last help..  
> can u tel me what is this:
>
>  @param pStartOffset    The offset or index where the  
> <code>CharacterRun</code> begins
>    * @param pPlaceHolderIndex   The offset or index of the  
> placeholder,
>    *  relative to the <code>CharacterRun</code> where
>    *  <code>pPlaceHolder</code> was foundi dont undersand how i got  
> thats paranstks
>
>
> ----- Original Message -----
> From: "Nick Burch" <ni...@torchbox.com>
> To: "POI Developers List" <de...@poi.apache.org>
> Sent: Wednesday, June 18, 2008 12:44 PM
> Subject: Re: Help search and replace
>
>
>> On Wed, 18 Jun 2008, Fabio Alves de Araujo Ebner - Dna wrote:
>>> nice i've found.. but do you know here i got some documentation from
>>> that method??
>>
>> Have you tried the online version of the javadocs?
>> http://poi.apache.org/apidocs/org/apache/poi/hwpf/usermodel/ 
>> Range.html#replaceText(java.lang.String,%20java.lang.String,%20int, 
>> %20int,%20org.apache.poi.hwpf.HWPFDocument)
>>
>> Nick
>>





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


Re: Help search and replace

Posted by Fabio Alves de Araujo Ebner - Dna <fa...@dnasolution.com.br>.
nick that link u send me open the old version of api with not the replaceText but i found the class Range( http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/usermodel/Range.java?view=markup&pathrev=668143)  and need one last help.. can u tel me what is this: 

 @param pStartOffset    The offset or index where the <code>CharacterRun</code> begins
   * @param pPlaceHolderIndex   The offset or index of the placeholder, 
   *  relative to the <code>CharacterRun</code> where 
   *  <code>pPlaceHolder</code> was foundi dont undersand how i got thats paranstks


----- Original Message ----- 
From: "Nick Burch" <ni...@torchbox.com>
To: "POI Developers List" <de...@poi.apache.org>
Sent: Wednesday, June 18, 2008 12:44 PM
Subject: Re: Help search and replace


> On Wed, 18 Jun 2008, Fabio Alves de Araujo Ebner - Dna wrote:
>> nice i've found.. but do you know here i got some documentation from 
>> that method??
> 
> Have you tried the online version of the javadocs?
> http://poi.apache.org/apidocs/org/apache/poi/hwpf/usermodel/Range.html#replaceText(java.lang.String,%20java.lang.String,%20int,%20int,%20org.apache.poi.hwpf.HWPFDocument)
> 
> Nick
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
> For additional commands, e-mail: dev-help@poi.apache.org
>

Re: Help search and replace

Posted by Nick Burch <ni...@torchbox.com>.
On Wed, 18 Jun 2008, Fabio Alves de Araujo Ebner - Dna wrote:
> nice i've found.. but do you know here i got some documentation from 
> that method??

Have you tried the online version of the javadocs?
http://poi.apache.org/apidocs/org/apache/poi/hwpf/usermodel/Range.html#replaceText(java.lang.String,%20java.lang.String,%20int,%20int,%20org.apache.poi.hwpf.HWPFDocument)

Nick

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


Re: Help search and replace

Posted by Fabio Alves de Araujo Ebner - Dna <fa...@dnasolution.com.br>.
nice i've found.. but do you know here i got some documentation from that 
method?? because i need to send 2 int parans.. and i dont know what is 
this..

i try to use but he replace in my 1 parag the 2 letter.. how i find the text 
position in .doc??

tks
----- Original Message ----- 
From: "Nick Burch" <ni...@torchbox.com>
To: "POI Developers List" <de...@poi.apache.org>
Sent: Wednesday, June 18, 2008 10:20 AM
Subject: Re: Help search and replace


> On Wed, 18 Jun 2008, Fabio Alves de Araujo Ebner - Dna wrote:
>> nick tanks.. i got the files poi*2008061.jar
>>
>> but i don't find the method replaceText
>
> In the scratchpad jar, org.apache.poi.hwpf.usermodel.Range has 
> replaceText, and its children inherit it
>
> Nick
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
> For additional commands, e-mail: dev-help@poi.apache.org
> 


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


Re: Help search and replace

Posted by Nick Burch <ni...@torchbox.com>.
On Wed, 18 Jun 2008, Fabio Alves de Araujo Ebner - Dna wrote:
> nick tanks.. i got the files poi*2008061.jar
>
> but i don't find the method replaceText

In the scratchpad jar, org.apache.poi.hwpf.usermodel.Range has 
replaceText, and its children inherit it

Nick

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


Re: Help search and replace

Posted by Fabio Alves de Araujo Ebner - Dna <fa...@dnasolution.com.br>.
nick tanks.. i got the files poi*2008061.jar

but i don't find the method replaceText
:(

----- Original Message ----- 
From: "Nick Burch" <ni...@torchbox.com>
To: "POI Developers List" <de...@poi.apache.org>
Sent: Wednesday, June 18, 2008 9:18 AM
Subject: Re: Help search and replace


> On Wed, 18 Jun 2008, Fabio Alves de Araujo Ebner - Dna wrote:
>> hira.. can u help me?? i got the poi directorie  from 
>> http://svn.apache.org/repos/asf  but i think i got something wrong.
>
> You might find the nightly builds easier to use:
>  http://encore.torchbox.com/poi-svn-build/
>
>> come +/- 300 M from files
>
> You should be looking at about 150mb for a full svn checkout (most of that 
> space is taken up in files used in the tests)
>
> Nick
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
> For additional commands, e-mail: dev-help@poi.apache.org
> 


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


Re: Help search and replace

Posted by Nick Burch <ni...@torchbox.com>.
On Wed, 18 Jun 2008, Fabio Alves de Araujo Ebner - Dna wrote:
> hira.. can u help me?? i got the poi directorie  from 
> http://svn.apache.org/repos/asf  but i think i got something wrong.

You might find the nightly builds easier to use:
 	http://encore.torchbox.com/poi-svn-build/

> come +/- 300 M from files

You should be looking at about 150mb for a full svn checkout (most of that 
space is taken up in files used in the tests)

Nick

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


Re: Help search and replace

Posted by Fabio Alves de Araujo Ebner - Dna <fa...@dnasolution.com.br>.
hira.. can u help me?? i got the poi directorie  from 
http://svn.apache.org/repos/asf  but i think i got something wrong. because 
come +/- 300 M from files.. and i search for replaceText and don't find 
anything..  is correct that subversion i got?? if yes.. where is the 
replaceText metod?? please. help me

tks
----- Original Message ----- 
From: "N. Hira" <nh...@cognocys.com>
To: "POI Developers List" <de...@poi.apache.org>
Sent: Tuesday, June 17, 2008 2:45 PM
Subject: Re: Help search and replace


> I'm sure you'll get comfortable with it quickly.  It's easy.
>
> Take a look here for POI/SVN:
> http://poi.apache.org/subversion.html
>
> For help on how to build POI:
> http://poi.apache.org/howtobuild.html
>
> Please remember that the POI team recommends that only "final"  releases 
> be used in production environments.
>
> For an office release date, you'd have to follow this list.  ;-)
>
> Good luck.
>
> -h
>
> On 17-Jun-2008, at 12:30 PM, Fabio Alves de Araujo Ebner - Dna wrote:
>
>> Hira sorry but i never work with svn, so i need to download and  compile 
>> de all project?? or i can got some .jar to test? and do you  know when 
>> this will left beta version and start to work ??
>>
>> tks
>> ----- Original Message ----- From: "N. Hira" <nh...@cognocys.com>
>> To: "POI Developers List" <de...@poi.apache.org>
>> Sent: Tuesday, June 17, 2008 12:46 PM
>> Subject: Re: Help search and replace
>>
>>
>>> You can do this in 3.1 Beta2, but it will require some  tinkering.   You 
>>> can look at this code from the trunk for a test  case and a  related 
>>> bug:
>>>
>>> (SVN:  org.apache.poi.hwpf.usermodel.TestRangeInsertion)
>>>
>>> http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/testcases/ org/ 
>>> apache/poi/hwpf/usermodel/TestRangeInsertion.java? 
>>> revision=668143&view=markup
>>>
>>> https://issues.apache.org/bugzilla/show_bug.cgi?id=45001
>>>
>>> -h
>>> --------------------------------------------------------------------- 
>>> -
>>> Hira, N.R.
>>> Solutions Architect
>>> Cognocys, Inc.
>>> (773) 251-7453
>>>
>>>
>>> On 17-Jun-2008, at 9:31 AM, Fabio Alves de Araujo Ebner - Dna wrote:
>>>
>>>> Can anyone tell me if i can search an replace some text into  a .doc 
>>>> without lost the the format(bold, italic, text align)
>>>>
>>>> please i need help
>>>>
>>>> tanks
>>>
>>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
> For additional commands, e-mail: dev-help@poi.apache.org
> 


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


Re: Help search and replace

Posted by Fabio Alves de Araujo Ebner - Dna <fa...@dnasolution.com.br>.
and i where i found the HWPF package??/

tks
----- Original Message ----- 
From: "N. Hira" <nh...@cognocys.com>
To: "POI Developers List" <de...@poi.apache.org>
Sent: Tuesday, June 17, 2008 2:45 PM
Subject: Re: Help search and replace


> I'm sure you'll get comfortable with it quickly.  It's easy.
> 
> Take a look here for POI/SVN:
> http://poi.apache.org/subversion.html
> 
> For help on how to build POI:
> http://poi.apache.org/howtobuild.html
> 
> Please remember that the POI team recommends that only "final"  
> releases be used in production environments.
> 
> For an office release date, you'd have to follow this list.  ;-)
> 
> Good luck.
> 
> -h
> 
> On 17-Jun-2008, at 12:30 PM, Fabio Alves de Araujo Ebner - Dna wrote:
> 
>> Hira sorry but i never work with svn, so i need to download and  
>> compile de all project?? or i can got some .jar to test? and do you  
>> know when this will left beta version and start to work ??
>>
>> tks
>> ----- Original Message ----- From: "N. Hira" <nh...@cognocys.com>
>> To: "POI Developers List" <de...@poi.apache.org>
>> Sent: Tuesday, June 17, 2008 12:46 PM
>> Subject: Re: Help search and replace
>>
>>
>>> You can do this in 3.1 Beta2, but it will require some  
>>> tinkering.   You can look at this code from the trunk for a test  
>>> case and a  related bug:
>>>
>>> (SVN:  org.apache.poi.hwpf.usermodel.TestRangeInsertion)
>>>
>>> http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/testcases/ 
>>> org/ apache/poi/hwpf/usermodel/TestRangeInsertion.java?  
>>> revision=668143&view=markup
>>>
>>> https://issues.apache.org/bugzilla/show_bug.cgi?id=45001
>>>
>>> -h
>>> --------------------------------------------------------------------- 
>>> -
>>> Hira, N.R.
>>> Solutions Architect
>>> Cognocys, Inc.
>>> (773) 251-7453
>>>
>>>
>>> On 17-Jun-2008, at 9:31 AM, Fabio Alves de Araujo Ebner - Dna wrote:
>>>
>>>> Can anyone tell me if i can search an replace some text into  
>>>> a .doc without lost the the format(bold, italic, text align)
>>>>
>>>> please i need help
>>>>
>>>> tanks
>>>
>>>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
> For additional commands, e-mail: dev-help@poi.apache.org
>

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


Re: Help search and replace

Posted by "N. Hira" <nh...@cognocys.com>.
I'm sure you'll get comfortable with it quickly.  It's easy.

Take a look here for POI/SVN:
http://poi.apache.org/subversion.html

For help on how to build POI:
http://poi.apache.org/howtobuild.html

Please remember that the POI team recommends that only "final"  
releases be used in production environments.

For an office release date, you'd have to follow this list.  ;-)

Good luck.

-h

On 17-Jun-2008, at 12:30 PM, Fabio Alves de Araujo Ebner - Dna wrote:

> Hira sorry but i never work with svn, so i need to download and  
> compile de all project?? or i can got some .jar to test? and do you  
> know when this will left beta version and start to work ??
>
> tks
> ----- Original Message ----- From: "N. Hira" <nh...@cognocys.com>
> To: "POI Developers List" <de...@poi.apache.org>
> Sent: Tuesday, June 17, 2008 12:46 PM
> Subject: Re: Help search and replace
>
>
>> You can do this in 3.1 Beta2, but it will require some  
>> tinkering.   You can look at this code from the trunk for a test  
>> case and a  related bug:
>>
>> (SVN:  org.apache.poi.hwpf.usermodel.TestRangeInsertion)
>>
>> http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/testcases/ 
>> org/ apache/poi/hwpf/usermodel/TestRangeInsertion.java?  
>> revision=668143&view=markup
>>
>> https://issues.apache.org/bugzilla/show_bug.cgi?id=45001
>>
>> -h
>> --------------------------------------------------------------------- 
>> -
>> Hira, N.R.
>> Solutions Architect
>> Cognocys, Inc.
>> (773) 251-7453
>>
>>
>> On 17-Jun-2008, at 9:31 AM, Fabio Alves de Araujo Ebner - Dna wrote:
>>
>>> Can anyone tell me if i can search an replace some text into  
>>> a .doc without lost the the format(bold, italic, text align)
>>>
>>> please i need help
>>>
>>> tanks
>>
>>


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


Re: Help search and replace

Posted by Fabio Alves de Araujo Ebner - Dna <fa...@dnasolution.com.br>.
Hira sorry but i never work with svn, so i need to download and compile de 
all project?? or i can got some .jar to test? and do you know when this will 
left beta version and start to work ??

tks
----- Original Message ----- 
From: "N. Hira" <nh...@cognocys.com>
To: "POI Developers List" <de...@poi.apache.org>
Sent: Tuesday, June 17, 2008 12:46 PM
Subject: Re: Help search and replace


> You can do this in 3.1 Beta2, but it will require some tinkering.   You 
> can look at this code from the trunk for a test case and a  related bug:
>
> (SVN:  org.apache.poi.hwpf.usermodel.TestRangeInsertion)
>
> http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/testcases/org/ 
> apache/poi/hwpf/usermodel/TestRangeInsertion.java? 
> revision=668143&view=markup
>
> https://issues.apache.org/bugzilla/show_bug.cgi?id=45001
>
> -h
> ----------------------------------------------------------------------
> Hira, N.R.
> Solutions Architect
> Cognocys, Inc.
> (773) 251-7453
>
>
> On 17-Jun-2008, at 9:31 AM, Fabio Alves de Araujo Ebner - Dna wrote:
>
>> Can anyone tell me if i can search an replace some text into a .doc 
>> without lost the the format(bold, italic, text align)
>>
>> please i need help
>>
>> tanks
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
> For additional commands, e-mail: dev-help@poi.apache.org
> 


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


Re: Help search and replace

Posted by "N. Hira" <nh...@cognocys.com>.
You can do this in 3.1 Beta2, but it will require some tinkering.   
You can look at this code from the trunk for a test case and a  
related bug:

(SVN:  org.apache.poi.hwpf.usermodel.TestRangeInsertion)

http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/testcases/org/ 
apache/poi/hwpf/usermodel/TestRangeInsertion.java? 
revision=668143&view=markup

https://issues.apache.org/bugzilla/show_bug.cgi?id=45001

-h
----------------------------------------------------------------------
Hira, N.R.
Solutions Architect
Cognocys, Inc.
(773) 251-7453


On 17-Jun-2008, at 9:31 AM, Fabio Alves de Araujo Ebner - Dna wrote:

> Can anyone tell me if i can search an replace some text into a .doc  
> without lost the the format(bold, italic, text align)
>
> please i need help
>
> tanks



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