This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > September 2005 > Importing Word document loses formatting





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Importing Word document loses formatting
Lauramodlin

2005-08-20, 11:16 pm

Hello. I am using Dreamweaver MX 2004, MS Office Word 2003 and Windows XP home...

I try importing on DW as well as copy and paste. Neither will keep formatting for my Word files. Any ideas?
master_fard

2005-08-20, 11:22 pm

I had a client mention the same thing...I thinking about referring he purchase "Contribute 3" which supports formatted text from Word and works great with DreamWeaver.
Murray *TMM*

2005-08-21, 7:16 pm

It would make no difference whether it were in an editable region or not.
What might make a difference would be the HTML context of the editable
region, however. You would have the same problem on a non-template
controlled page. It would be impossible to say what might be causing this
without seeing your code.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"Lauramodlin" <webforumsuser@macromedia.com> wrote in message
news:de8ped$oh6$1@forums.macromedia.com...
> Thanks guys. Here's the weird thing... It only does it in the editable
> region
> of a template.
>
> On a normal HTML page without a template importing works fine. In the
> editable
> region of the template the spacing (paragraph returns) doesn't translate
> right
> and the fonts (bold, size, etc.) does not come through right. Just checked
> or
> would have mentioned sooner.
>



Lauramodlin

2005-08-21, 7:21 pm

Murray,

You're so smart. Yes, the template does have a style (on CSS style sheet) for
that area (where I want to import Word doc). Here's the info:

#maincontent {
float: left;
font-size: .8em;
line-height: 1.4em;
text-align: justify;
width: 446px; /*446+30+52=528*/
padding: 16px 30px 0 52px;
}

So of course it's not letting me keep formatting from the Word doc.
The Div ID is not showing as editable (div id="maincontent"). What do you
suggest?

Thank you,

Laura

Murray *TMM*

2005-08-21, 11:15 pm

> So of course it's not letting me keep formatting from the Word doc.
> The Div ID is not showing as editable (div id="maincontent"). What do you
> suggest?


Show me the code, please.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"Lauramodlin" <webforumsuser@macromedia.com> wrote in message
news:deamu9$7v1$1@forums.macromedia.com...
> Murray,
>
> You're so smart. Yes, the template does have a style (on CSS style sheet)
> for
> that area (where I want to import Word doc). Here's the info:
>
> #maincontent {
> float: left;
> font-size: .8em;
> line-height: 1.4em;
> text-align: justify;
> width: 446px; /*446+30+52=528*/
> padding: 16px 30px 0 52px;
> }
>
> So of course it's not letting me keep formatting from the Word doc.
> The Div ID is not showing as editable (div id="maincontent"). What do you
> suggest?
>
> Thank you,
>
> Laura
>



Lauramodlin

2005-08-21, 11:15 pm

<div id="maincontent">
<!-- TemplateBeginEditable name="bodyContent" -->
<p>bodyContent</p>
<!-- TemplateEndEditable -->
</div>

Thanks Murray!
Murray *TMM*

2005-08-21, 11:15 pm

The div is not editable. Its content is, however.

So - what about the rest of the code? Or what is the question again?

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"Lauramodlin" <webforumsuser@macromedia.com> wrote in message
news:debb37$2t9$1@forums.macromedia.com...
> <div id="maincontent">
> <!-- TemplateBeginEditable name="bodyContent" -->
> <p>bodyContent</p>
> <!-- TemplateEndEditable -->
> </div>
>
> Thanks Murray!



Lauramodlin

2005-08-21, 11:15 pm

The question is how to keep formatting from a Word document when I paste it into the div. Right now, when I paste a Word doc into the div the doc's formatting is not retained.
Murray *TMM*

2005-08-22, 4:14 am

OK - I feel like I'm trying to guess what a jigsaw puzzle is by looking at
the pieces one by one.

Can you post a link to the whole page, and the Word document so I can see
what you are describing?

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"Lauramodlin" <webforumsuser@macromedia.com> wrote in message
news:debbqe$3ni$1@forums.macromedia.com...
> The question is how to keep formatting from a Word document when I paste
> it into the div. Right now, when I paste a Word doc into the div the doc's
> formatting is not retained.



Lauramodlin

2005-08-24, 4:14 am

Hi Murray,

Thanks for trying to help. I'm going to just enter the text by hand and revisit this issue later on. Thank you so much!!

Laura
Murray *TMM*

2005-08-24, 7:34 pm

You're welcome. Sorry I wasn't able to help more.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"Lauramodlin" <webforumsuser@macromedia.com> wrote in message
news:deh324$egn$1@forums.macromedia.com...
> Hi Murray,
>
> Thanks for trying to help. I'm going to just enter the text by hand and
> revisit this issue later on. Thank you so much!!
>
> Laura



Murray *TMM*

2005-09-05, 11:36 pm

Not true.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"master_fard" <webforumsuser@macromedia.com> wrote in message
news:dfhsma$966$1@forums.macromedia.com...
> If you copy text from Microsoft Word directly into Dreamweaver, only the
> text
> will appear?minus all formatting. To preserve the text's formatting, save
> the
> Word document as an HTML page and then open it in Dreamweaver, as follows:
>
> Preserving Microsoft Word text formatting in Dreamweaver
>
> 1 In Microsoft Word, create your document.
> 2 Choose File > Save As.
> 3 In the Save As Type text box, choose Web page (*.htm; *.html).
> 4 Name your document.
> 5 Choose Save.
> 6 In Dreamweaver, open the file by choosing File > Open.
> 7 Choose Commands > Clean Up Word HTML.
>



Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews