Welcome to Macrobject Community Login | Register | Faq  

    Macrobject Community
  Macrobject Software Knowledge Management and Collaboration Platform
Search    
   

Word margin issue when converting to CHM
Started by MasterCephus at 02-18-2009 11:14 AM. Topic has 4 replies.

Print Search « Previous Thread Next Thread »
  02-18-2009, 11:14 AM
MasterCephus is not online. Last active: 10/8/2010 2:27:36 AM MasterCephus

Top 50 Posts
Joined on 12-20-2008
Posts 4
Word margin issue when converting to CHM
Reply Quote
I have a pretty sizable word document that I am creating a CHM file using the 2008 pro version.

I have a couple of pages that are out of the margins (text boxes are out of the margin) and the document prints fine, but when I try to convert it to a CHM file, the page gets cut off from the margin. 

Is this a bug or a desired effect?  I really can't have this in my CHM file.

Any help?
   Report 
  02-18-2009, 7:18 PM
David is not online. Last active: 11/17/2011 8:07:51 AM David

Top 10 Posts
Joined on 01-26-2008
Posts 193
Re: Word margin issue when converting to CHM
Reply Quote
Is the layout of the image floating or not?
If yes, it will be displayed incorrectly after convert into CHM.
Please change the layout to "In Line with Text" and try again.
   Report 
  12-23-2009, 1:23 AM
Kjell is not online. Last active: 1/7/2010 2:34:14 PM Kjell

Top 100 Posts
Joined on 12-23-2009
Posts 2
Re: Word margin issue when converting to CHM
Reply Quote
It does not work with "in line with text".

On the other hand does the other layout options in Word work, but then the following text appears to the right of the picture in a very ugly way (no newlines prevents this)..

The problem is this:
* I have a large picture.
* In order to view most of the picture, the margin of the picture is to the left of normal text.

Word-2-chm crops the part of the picture that is left of the text margin.

I use Word-2-chm 2009.2.1105.2256 Pro edition.
   Report 
  12-26-2009, 6:58 PM
Peter is not online. Last active: 10/31/2011 9:51:29 AM Peter

Top 10 Posts
Joined on 09-27-2007
Posts 171
Re: Word margin issue when converting to CHM
Reply Quote
There are many different between Word and HTML.

Here is the solution:
1. Enable the HTML Replace add-in.
2. In the HTML Replace add-in:
    a. Enable the Use Regex option
    b. In the Find HTML textbox: style='[^'>]*position:\s*relative[^'>]*'
    c. Leave the Replace With textbox empty.



   Report 
  01-06-2010, 10:34 PM
Kjell is not online. Last active: 1/7/2010 2:34:14 PM Kjell

Top 100 Posts
Joined on 12-23-2009
Posts 2
Re: Word margin issue when converting to CHM
Reply Quote
For the record: the solution works. Thanks!
   Report 
Post
Macrobject Comm... » Help Authoring ... » Word-2-CHM Conv... » Word margin issue when converting to CHM

Powered by Community Server, by Telligent Systems