trichview.com

trichview.support




Re: Save as text


Return to index


Author

Message

Sean Cross

Posted: 04/05/2004 12:27:06


I am using the rvf editor SaveRVFToStream.  I have the rvfSaveBinary option

set to false.  Inside the editor I have text and a table.  When it is saved

to stream, the table is still saved as binary so I can't to searching within

it.  EVrything else in the editor is saved as text.


Hope that makes more sense.


Sean

---------------------------------------

Sean Cross

mailto:[email protected]


Pics Print - The photo printing solution for Windows. http://www.picsprint.com


http://www.Intuitex.com - Multimedia software for Windows  



"Sergey Tkachenko" <[email protected]> wrote:

>Do you mean table.SaveToStream? It does not save table as a text.

>You can select the table in richview (SetSelectionBounds) then use

>GetSelText.

>Or you can use function

>

>function GetItemText2(RVData: TCustomRVData; ItemNo: Integer): String;

>from RVGetText.pas

>(in the registered version or here -

>http://www.trichview.com/support/files/rvgettext.zip)

>

>(add

>function GetItemText2(RVData: TCustomRVData; ItemNo: Integer): String;

>in the interface section of this unit, or copy this function to your unit)

>

>

>>

>> In my richview componet, I have it set to save as text so that i can

>search/replace

>> in the saved stream.  Howver when I save a table, it seems that the

>contents

>> of the cells are saved as binary and not text.  How do I change that?

>

>





Powered by ABC Amber Outlook Express Converter