We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Pre Sales Questions regarding ASPOSE.Words

Hello ASPOSE,

We have an online service (www.MetroScript.com) that is used mainly by transcriptionists who upload their finished reports. These reports are typically Microsoft Word. There are 2 features we'd like to develop in our application and we are hoping you can tell us whether or not your WORDS component can help.

First off -- when the transcriptionist uploads a Word file, can we use your component to return for us a line count? That is, calculate the number of lines in the Word document, on the fly? If so, are their certain parameters we can pass to the component to "define" a line? That is -- some transcriptionists work with "raw" line counts while others work with "character lines" (55 characters equals one line, for example). What sort of flexibility is their in getting line count info.?

Secondly -- if the transcriptionist uploads a WordPerfect file, can your component work with that, by chance, or only Microsoft Word?

Finally, can your component allow us to "open" the Word file, find the end of the document, paste an image at the end (a signature image -- doctors doing electronic signatures), save the file and close the file?

What sort of "overhead" does the use of your component present? Do you have any metrics for that? Just wondering how much resources it will eat up on the server as hundreds or thousands of documents are procesed each day.

Thanks for the help!

Charlie

Hi<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thank you for your interest in Aspose.Words.

1. Aspose.Words document represents content and formatting of a document, not its layout into lines and pages. This feature is called pagination and it is not released yet. Please see FAQ for more information.

You can try using BuildInDocumentProperties.Lines to get count of lines.

http://www.aspose.com/documentation/file-format-components/aspose.words-for-.net-and-java/aspose.words.properties.builtindocumentproperties.lines.html

But this count could be not actual.

However you can get actual cont of characters and words in the document. To achieve this you should call UpdateWordsCount method and use BuildInDocumentProperties.Characters and BuildInDocumentProperties.Words.

http://www.aspose.com/documentation/file-format-components/aspose.words-for-.net-and-java/aspose.words.document.updatewordcount.html

2. Currently Aspose.Words does not support WordPerfect. You can find list of supported format here:

http://www.aspose.com/documentation/file-format-components/aspose.words-for-.net-and-java/file-formats-and-conversions.html

3. Yes you can open word document and insert an image at the end of this document. For example see the following code:

//Open document

Document doc = new Document("in.doc");

//Create Documentbuildr

DocumentBuilder builder = new DocumentBuilder(doc);

//Move cursor to the end of document.

builder.MoveToDocumentEnd();

//Insert an image

builder.InsertImage("myimg.jpg");

//Save document

doc.Save("out.doc");

4. Aspose components are designed to be simultaneously used by 100s and 1000s of users. Unfortunately, we don’t have any particular performance testing results. But you are free to evaluate the performance of the product to your satisfaction.

Best regards.