Indent Hanging

Feb 26, 2011 at 9:34 PM

I cannot get indent hanging to work as I would expect.

If I have a paragrah I would expect the indent hanging to indent the 2nd and other lines one tab to the right but it seems to pull the first line to the left and then hold all other lines at the same margin. Ie

What I expect

Line before indent hanging
This is a test indent and my next line should be here
     This is my next line on indent hanging.
Line after indent Hanging

What I get

        Line before indent hanging
This is a test indent and my next line should be here
        This is my next line on indent hanging.
        Line after indent Hanging

Is this the way indent hanging should work or is there a bug?

Mar 4, 2012 at 6:01 AM

I am seeing something strange in there also

 

 

Paragraph p = worddoc.InsertParagraph();

p.IndentationHanging = 2.0f;

Takes my first line and drags it back off the actual page by about 3 characters.  The rest of the paragraph seems to stay right at the margin.

I thought from another post it described it as the above poster thought it would work.

 

Going to keep playing with it - could just be me

?

Mar 4, 2012 at 6:06 AM

Hardsoft - I don't think this solution is optimal, but I have gotten the effect we are looking for by using:

 p.IndentationBefore = 1.0f;               

p.IndentationHanging = 1.0f;

Basically moves it all over 1, then gets what we are talking about by doing the hanging which brings the first line back one.

Hope that helps you

 

Mar 4, 2012 at 11:16 PM

...and that does not work in another part of my document.   I did however notice that if i do:

 

Paragraph p = worddoc.InsertParagraph();           

p.IndentationBefore = 0.0f;           

p.AppendLine("RESOLVED").Bold();

 

It starts the first line at the right spot than if I do:

Paragraph p = worddoc.InsertParagraph();

p.AppendLine("RESOLVED").Bold();

 

Which is strange because if i check the value before setting it reads 0 anyway