Magical dreamweaver mx share word XP files

Source: Internet
Author: User
Tags continue copy insert dreamweaver
Dreamweaver|word our weekday office use the most software is EXECL, Word or WPS office, your computer must be stored in a large number of XLS, DOC, wps file It! How do you deal with the need to convert this type of file into an HTML file when making a Web page? Now let me see the way to convert doc to HTML file!

   I. Copy method
1, if your Word XP files are all text, no forms and images, then use the usual copy Dafa to transfer all the text to Dreamweaver MX, save the success of the success.
2, if there are images in Word XP files, it can not be copied directly into the Dreamweaver MX, can be treated as follows: The image copy to the image processing software such as paint, fireworks, and then save as a JPG or GIF image, Insert a JPG or GIF image into the Dreamweaver mx.

   second, the introduction of the law
If you have a table in your Word XP file, the copy method is not feasible and the processing method is:
1, convert the table to text. Delete all of the text in the Word XP file except the table, click Table/Convert/form to text, and in the table Convert to Text dialog box, type separator, select tab, as shown in the figure.

2. Save Word XP file as txt file. Click files/Save As, save type Select plain Text, and then use the default settings in the File Conversion dialog box that follows, and click OK.
3. Import the text file into the Dreamweaver mx. Click "insert/table objects/import Tabular Data ..." in the Dreamweaver mx edit window to open the Import Tabular Data dialog box, as shown in the figure. Click the Browse ... button in the dialog box to locate the TXT file you want to import, and double-click the file to add it to the data file bar. Other options can be set by default. Click the OK button and the data in the Word XP file is imported to Dreamweaver MX.

Tip: This method is the key to success in the first step, that is, the first to convert the table to text, if you directly save Word XP file as a TXT file, and then import text files into the Dreamweaver MX table will change a lot, continue to adjust the table difficult.

   third, another deposit method
1. In Word XP, click File/Save As to open the Save As dialog box, select Web page (*.htm;*.html) in Save as type, and click the Save button.
2, click the Continue button in the prompt dialog box that appears, and save as an HTML file.
3, save as the HTML file contains a large number of garbage code, the formation of a large file, the need to clear the Dreamweaver MX spam code. Open the saved HTML file with Dreamweaver mx, click "Commands/clean up Word HTML", click the "OK" button in the Open dialog box to automatically clear the junk code, and there is a lot of junk code in the cleared HTML file.

Hint: the Save method supports the conversion of text, images, and tables in Word XP, and the resulting HTML file retains the appearance style of the original word XP and can basically keep the original format unchanged.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.