Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SharePoint > SharePoint Development
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 12th, 2011, 12:55 AM
Authorized User
 
Join Date: Mar 2005
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.
 
Old June 6th, 2011, 06:58 AM
Friend of Wrox
 
Join Date: Sep 2005
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)





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





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.