Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > SharePoint > SharePoint Development
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
SharePoint Development Programming and development for SharePoint Portal Server and Windows SharePoint Services
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SharePoint Development section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old May 12th, 2011, 12:55 AM
Authorized User
 
Join Date: Mar 2005
Location: Bangalore, Karnataka, India.
Posts: 36
Thanks: 2
Thanked 1 Time in 1 Post
Default Content Migration - Doc to sharepoint

Hi, I am working on a content migration project where in we are migrating documents (.doc) to sharepoint. Here is the approach we are following.
  • Doc is converted into HTML.
  • We use some tool to convert HTML to ASPX.
  • ASPX is pushed into sharepoint.
I am facing some problem WRT images in document. I face no issues when an image is copied in a document. As I can retrieve this image from the content folder ("FileName_Files"). However I cannot get the image if this is embedded (Insert--> Object--> selected an image and checked the "Display as icon" check box). When I convert the doc file to HTML I get one.emz file and one gif file which is an icon image(in the folder filename_files). I want to retrieve the image which is embedded.
I have tried unzipping this emz file with gzip but it again gave me the icon not the real image.
Can any one help me in this? I just need to be able to retrieve the image.
Reply With Quote
  #2 (permalink)  
Old June 6th, 2011, 06:58 AM
Friend of Wrox
Points: 3,060, Level: 23
Points: 3,060, Level: 23 Points: 3,060, Level: 23 Points: 3,060, Level: 23
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2005
Location: , , .
Posts: 812
Thanks: 1
Thanked 53 Times in 49 Posts
Default

Not sure if you need to get the source of the embedded image. Sometime back I used similar thing to extract content from Excel file

http://vbadud.blogspot.com/2010/08/h...bedded-in.html

Hope you need to do something to get Images.

Cheers
Shasur
__________________
C# Code Snippets (http://www.dotnetdud.blogspot.com)

VBA Tips & Tricks (http://www.vbadud.blogspot.com)
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Textual content in mixed content model flockofcode BOOK: Beginning XML, 4th Ed ISBN: 978-0-470-11487-2 2 May 11th, 2011 03:54 PM
Using SharePoint Designer with SharePoint Online tkent_dna@hotmail.com BOOK: Professional Microsoft Office SharePoint Designer 2007 ISBN: 978-0-470-28761-3 0 April 21st, 2010 04:51 PM
DB content migration from Sharepoint 2003 to MOSS bilal.lodhi SharePoint Development 2 August 28th, 2007 11:58 AM
Copy text from 1 doc to other doc thru vba in word itchock Word VBA 2 December 29th, 2006 02:47 AM
Choosing content depending on content of other ele dsekar_nat XSLT 1 February 27th, 2006 05:58 AM



All times are GMT -4. The time now is 01:43 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.