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!
Thank you for your interest in Aspose.Words.
- 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.
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.
- Currently Aspose.Words does not support WordPerfect. You can find list of supported format here:
- 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.
// Insert an image
// Save document
- 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.**