Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. Request for code

Request for code

Scheduled Pinned Locked Moved ASP.NET
helpxmltutorial
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Rashmi_Karnam
    wrote on last edited by
    #1

    i am doing a project of converting a word document to xml.... i am able to read a word document and even i am converting it into xml.. but the problem is how to find forecolor of a line while reading a word document using streamreader..... at run time... plz this is very urgent... can any one help me out in this.... thnk u...

    Rashmi.M.K

    S 1 Reply Last reply
    0
    • R Rashmi_Karnam

      i am doing a project of converting a word document to xml.... i am able to read a word document and even i am converting it into xml.. but the problem is how to find forecolor of a line while reading a word document using streamreader..... at run time... plz this is very urgent... can any one help me out in this.... thnk u...

      Rashmi.M.K

      S Offline
      S Offline
      Sathesh Sakthivel
      wrote on last edited by
      #2

      To use the GDI classes we need to include System.Drawing.Imaging namespace in the "using" section of the code. Go to the source view and add a string variable and a property to the class. This string variable is used in the property to store and retrieve the output file name.

      SSK. Anyone who says sunshine brings happiness has never danced in the rain.

      R 1 Reply Last reply
      0
      • S Sathesh Sakthivel

        To use the GDI classes we need to include System.Drawing.Imaging namespace in the "using" section of the code. Go to the source view and add a string variable and a property to the class. This string variable is used in the property to store and retrieve the output file name.

        SSK. Anyone who says sunshine brings happiness has never danced in the rain.

        R Offline
        R Offline
        Rashmi_Karnam
        wrote on last edited by
        #3

        hello sir! thnks for reply... but still i am facing problem.. i am unable to read the color of text from word document... here the codes on which i have used,, streamreader sr = new streamreader("file.xml"); string s1 = sr.readline(); here if "s1" color is red then it must move further else it must come out of the loop... so i tried with if condition if(Forecolor.name.equals(color.red)) but i dint get the output.. plz advice me in some easiest way so that i can finish this work today.. its really very urgent sir.. plz help me out...

        Rashmi.M.K

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups