Search found 70 matches

by saeid2016
Tue Oct 17, 2017 9:37 am
Forum: Support
Topic: How to convert list markers to plain text
Replies: 4
Views: 14260

Re: How to convert list markers to plain text

If you need a text representation of all items, use SaveTextToStream instead of GetSelText. Now, with TextOnly parameter, a text representation of all non text items will be saved or not. I suggest you add a parameter to SaveTextToStream to choose what non text items we want t save their text repre...
by saeid2016
Sat Oct 14, 2017 3:48 pm
Forum: Support
Topic: How to convert list markers to plain text
Replies: 4
Views: 14260

How to convert list markers to plain text

Hello, I want to save text of RichViewEdit1 to DB as plain text. if I use the following code, The list markers does not save. RichViewEdit1.SelectAll; RichViewEdit1.GetSelText; if I use SaveTextToStream, all non text items such as footnotes , ... are saved. How I save the list markers with main text...
by saeid2016
Sat Oct 07, 2017 1:48 pm
Forum: Support
Topic: Problem with importing docx and doc
Replies: 11
Views: 24864

Re: Problem with importing docx and doc

Importing some doc files (not all) gives an error. it's ErrorCode is 0. what does it mean?
by saeid2016
Mon Sep 18, 2017 11:52 am
Forum: Support
Topic: Problem with importing docx and doc
Replies: 11
Views: 24864

Re: Problem with importing docx and doc

Please see my attached sample. When I import the Doc1.doc it gives error: Division by zero.
by saeid2016
Mon Sep 18, 2017 10:38 am
Forum: Support
Topic: Problem with importing docx and doc
Replies: 11
Views: 24864

Re: Problem with importing docx and doc

1) I do not know why. No, the converters specification states that file names must be in OEM. 2) I recommend not changing file system options, but simply writing a code in your application that copies the specified file to a temporal location under a simple name, loading this copy, deleting this co...
by saeid2016
Thu Sep 14, 2017 10:02 am
Forum: Support
Topic: Problem with importing docx and doc
Replies: 11
Views: 24864

Re: Problem with importing docx and doc

2 questions:

1. why converters accept paths in OEM (i.e. DOS) encoding? Is there a convertor that does not use OEM encoding?

2. Some of my docx files are on my server that it's OS is Linux. Is it possible to enable short file name creation on Linux?
by saeid2016
Mon Sep 11, 2017 2:05 pm
Forum: Support
Topic: Problem with importing docx and doc
Replies: 11
Views: 24864

Re: Problem with importing docx and doc

Sergey Tkachenko wrote: Mon Sep 11, 2017 1:41 pm However, as I said, it does not help on my computer (Win10, NTFS): it simply returns sLongName.
Like your computer, My operating system is Win10 and my drives format is NTFS. but in my computer it works correctly. why?
by saeid2016
Mon Sep 11, 2017 1:03 pm
Forum: Support
Topic: Problem with importing docx and doc
Replies: 11
Views: 24864

Re: Problem with importing docx and doc

Thanks for help. I found a function that converts long file names to the 8.3 DOS format and it works correctly. uses Windows, SysUtils; function GetShortName(sLongName: string): string; var sShortName : string; nShortNameLen : integer; begin SetLength(sShortName, MAX_PATH); nShortNameLen := GetShort...
by saeid2016
Mon Sep 11, 2017 10:47 am
Forum: Support
Topic: Problem with importing docx and doc
Replies: 11
Views: 24864

Problem with importing docx and doc

Hello support,

By TRVOfficeConverter1.ImportRV I import docx and doc files to RichViewEdit. The problem is that when the file name or file path directories name is Arabic word, it doesn't work and gets error. The TRVOfficeConverter1.ErrorCode is -1 .

Is there a way to solve this problem?
by saeid2016
Tue Sep 05, 2017 4:54 pm
Forum: Support
Topic: Problem with saving/loading RTF text to/from DB
Replies: 14
Views: 44016

Re: Problem with saving/loading RTF text to/from DB

Thank you for very useful help.
by saeid2016
Mon Sep 04, 2017 6:44 pm
Forum: Support
Topic: Problem with saving/loading RTF text to/from DB
Replies: 14
Views: 44016

Re: Problem with saving/loading RTF text to/from DB

Does it fix the problem? Sorry, it's very hard for me to test this application, because I do not know Arabic. At least, after that, it looks like pages stored in DB have the same text as in the original document. I tested a lot of my docs, The main problem has been solved. thank you very much. But ...
by saeid2016
Wed Aug 23, 2017 4:13 pm
Forum: Support
Topic: Problem with saving/loading RTF text to/from DB
Replies: 14
Views: 44016

Re: Problem with saving/loading RTF text to/from DB

Hello, Is there a way to solve the problem?
by saeid2016
Tue Aug 08, 2017 4:46 am
Forum: Support
Topic: Problem with saving/loading RTF text to/from DB
Replies: 14
Views: 44016

Re: Problem with saving/loading RTF text to/from DB

Please give me step-by-step instructions how to reproduce the problem. Which doc? Which page? Where I can see what the result is wrong? For example when we load Doc3.rtf with Load RTF button, It loads successfully. In page 3 of this doc there is an item from position 3489 to 3623 with text color: R...
by saeid2016
Mon Aug 07, 2017 11:54 am
Forum: Support
Topic: Problem with saving/loading RTF text to/from DB
Replies: 14
Views: 44016

Re: Problem with saving/loading RTF text to/from DB

Can you reproduce the problem in a simple project, using files instead of DB? If yes, please send it to me I made a sample with mdb database. my sample docs are in Docs folder. install fonts in Fonts folder before you test the project. Reminder: The problem is that in some Docs, when I save their t...