Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
In an effort to create efficient workflows, Adobe has integrated Dreamweaver with many other programs that you or your team members are likely to use. Most integration is understandably within Adobe's Creative Suite, but other programs like Word feature differing levels of integration as well. It's not often that I have to break bad news to Mac folks, but this is sadly one of those times. The integration between Word and Dreamweaver that I'm about to show you only works on the PC version of Dreamweaver. Still, the Mac folks should keep watching, no need to stop and go to the next movie, because there is one option in the following example that does work for you and it's something you might want to take advantage of later on.
So I have the programs.htm file open from the 04_02 directory, and once again, we are sort of presented with this blank space over here and remain content region. So I am going to click inside that and the first think I am going to show you is Menu option. So I can go right up to the Menu, go to File and when I choose Import you will notice that one of the options in Import is to import a Word document. So rather than copying and pasting, I can just import this. So if I go to File>Import Word Document, I can just browse out of the 04_02>_assets directory, find the program's Word Document and click Open.
As soon as I do that it just takes its content and drops it right into the area that I have selected. How cool is that? It's a very quick, it's very easy. Now one of the things that you are going to notice about this is it didn't prompt me in terms of how it wanted to process this copy and bring it in. It's basing its settings off of the preferences that I have set in the copy and paste preferences that we covered in the last movie. So if you're looking for a prompt, if you ever want to change that, you either need to change the preferences before you do the import, or you need to use the second method that I'm about to show you.
So if I undo this and I go over to my Files panel, you will notice again, here is the _assets directory, here is programs.doc. I can actually grab the programs.doc file and drag and drop it into the region that I want the text to appear in. As soon as I let go of the mouse, my preferences come up and now Dreamweaver is actually prompting me in saying, okay, well how do you want to inset this? You will notice it's the exact same preferences that you have within your Copy and Paste preferences except for one down here on the bottom. So I am going to make sure that it stays as Text with structure plus basic formatting and the Clean up Word paragraph spacing.
Now I am going to come back to this option in just a moment. So when I click OK, you will notice I get the exact same results, the text comes in and it's formatted exactly the way I want to format it based upon structure that it's grabbing from the Word Document and the styles that I have applied to my site. That last option, I want to talk to you about that for just a moment. What if you had a Word Document that you wanted to give the users of your site an option to download? So if I go to the next line here for example, and just create sort of an empty paragraph over there, well if go over to the Files panel and I grab the Word document and I drag it to that empty paragraph, I can choose this last option which is to Create a link.
Now for you guys that are on the Mac, this is the option that works for you. So although, it's not going to bring in the content as quickly and easily as it will for PC users, if you want to give people the option of clicking and downloading this file to their hard drive, you can use this option to Create a link. I will click OK and you can see there is a link to programs. It just uses the title of the document and it just creates a link to that. You can see _assets right here in the Properties Inspector, programs.doc. So if that's up live online, if somebody clicks on that, since the browser doesn't understand how to read a Word Document you are going to be prompted to download that, and of course you can change to the text over here.
You can say something like download the programs word doc. That would prompt people when they click that to download the document to the local hard drive. So there you go, that's it, it's quick and easy. What's easier than dragging and dropping right? Now I'm sorry to say this feature doesn't work on the Mac. I have been waiting for it for years, but unfortunately it still doesn't work. But do take note of the fact that if you want to link to an external Word file for users of your site to download, it as easy as dragging and dropping as well.
Get unlimited access to all courses for just $25/month.Become a member