|
-
Sep 15th, 2009, 03:48 PM
#1
Thread Starter
Frenzied Member
Aspose Word Alternative
Hi guys.
I'm using Aspose Word and embed it in C# application. However, there are some limitations to Aspose compared of course to Microsoft Word.
Is there any other alternative besides the 2 mentioned above. Like a word processing SDK that can be embedded in a .Net application?
-
Sep 15th, 2009, 03:55 PM
#2
Re: Aspose Word Alternative
For what it is worth, I have found Aspose to be one of the more complete non word based APIs. What issues are you having with it? The only issues I have had recently are with some of the Content Controls that were added as part of office 2007.
-
Sep 15th, 2009, 04:07 PM
#3
Thread Starter
Frenzied Member
Re: Aspose Word Alternative
It won't highlight and won't support headers and footers.
-
Sep 15th, 2009, 04:29 PM
#4
Re: Aspose Word Alternative
I have been using headers and footers in it for years. Here is an example that uses both:
Code:
Dim Lic As New Aspose.Words.License
Lic.SetLicense(Application.StartupPath & "\Aspose.Words.lic")
Dim doc As New Aspose.Words.Document()
Dim docBuilder As New Aspose.Words.DocumentBuilder(doc)
docBuilder.InsertParagraph()
docBuilder.MoveToHeaderFooter(HeaderFooterType.HeaderPrimary)
docBuilder.Write("Hello World")
docBuilder.MoveToSection(0)
Dim f As Aspose.Words.Font = docBuilder.Font
f.HighlightColor = Color.Yellow
f.Size = 16
f.Name = "Courier New"
docBuilder.Write("hola")
doc.Save("C:\temp\testheader.doc")
-
Sep 16th, 2009, 08:27 AM
#5
Thread Starter
Frenzied Member
Re: Aspose Word Alternative
Hey thanks for the code. How about the highlighting part?
-
Sep 16th, 2009, 08:46 AM
#6
Re: Aspose Word Alternative
That code has highlighting in it, notice the f.HighlightColor = Color.Yellow
-
Sep 16th, 2009, 09:15 AM
#7
Thread Starter
Frenzied Member
Re: Aspose Word Alternative
Is this embedded in the app. I mean you don't need to write code. In the aspose editor i can't see insert header or footer or even the highlight part. The user will do the action.
Thanks for the quick response.
-
Sep 16th, 2009, 10:22 AM
#8
Re: Aspose Word Alternative
Ahhh... You are using the viewer. That is the piece of information I was missing. I haven't used their viewer much, but from what I understand it is rather limited. The viewer is not meant to be a word replacement, but rather it is used to render the document. So you can render the document to the screen, or to XPS, PDF, TIF, or to a printer.
I don't know of any other viewers out there that are going to provide a lot of word like functionality, without relying on word. You could always go the OpenOffice route and open the documents using that.
-
Sep 16th, 2009, 12:24 PM
#9
Thread Starter
Frenzied Member
Re: Aspose Word Alternative
Does OpenOffice have SDKs? Have you seen someone done that?
-
Sep 16th, 2009, 07:10 PM
#10
Re: Aspose Word Alternative
There are some SDKs for OOo, but I have never used them, so you will have to look to someone else to help you with that, though a quick google search showed a few decent sites that have info on it.
-
Sep 17th, 2009, 06:53 PM
#11
Thread Starter
Frenzied Member
Re: Aspose Word Alternative
Okay thanks very much for the help.
I found this site and it seems feasible. It's programming with open office with c#.net.
http://www.opendocument4all.com/down...Office.net.pdf
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|