Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7025067
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T23:55:31+00:00 2026-05-27T23:55:31+00:00

It must be able to handle css and javascript as the page contains highcharts

  • 0

It must be able to handle css and javascript as the page contains “highcharts” javascript charts.

It doesn’t have to be an external process, a library would be great too.

Basically I need to be able to create a word document containing highcharts as images along with some text and other graphics.

Any ideas would be great.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T23:55:32+00:00Added an answer on May 27, 2026 at 11:55 pm

    Look at this as an example

    It depends a lot on the nature of the html document you are trying to convert. One simple way is just to use the Word automation to open an .html document and then save it as a .doc document.

            object readOnly = false;
            object isVisible = true;
            object missing = System.Reflection.Missing.Value; // Values we don't care about
            object fileName = "C:/webpage.htm";
            object newFileName = "C:/webpage.doc";       
    
            Microsoft.Office.Interop.Word.Application word = new Microsoft.Office.Interop.Word.Application();
    
            // word.Visible = true; // To see what's happening
    
            Microsoft.Office.Interop.Word.Document document = word.Documents.Open(ref fileName, ref missing, ref readOnly, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing);
    
            document.Activate();
    
            object saveFormat = Microsoft.Office.Interop.Word.WdSaveFormat.wdFormatDocument;
    
            document.SaveAs(ref newFileName, ref saveFormat, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing);
    
            document.Close(ref missing, ref missing, ref missing);
    

    Note

    • You have to add a reference to Microsoft.Office.Interop.Word or something similar
    • The number of ref missing arguments depends on wich version of Word you are using
    • You have to use full paths in the filename as the Word instance starts from the System folder.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

It must be: easily skinnable with css be able to handle forms and not
My C# class must be able to process a high volume of events received
I'm writing a parser in PHP which must be able to handle large in-memory
Requirements: Must be able to use C strings as well as C++ strings Fast
Our software must be able to run on SQL Server 2000 and 2005. To
Given that users must be able to define their own fields on an object,
This must be a very simple question, but I don't seem to be able
I need to IMPLEMENT(not to use some library/open source) an event/message system. I have
I am creating a TCP server which receives multiple clients and must be able
I'm working on a project in which a client must be able to communicate

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.