Skip to content

Commit facaff3

Browse files
authored
Fix missing XML comments for Indentation and Alignment
1 parent fbd93f1 commit facaff3

File tree

1 file changed

+36
-1
lines changed

1 file changed

+36
-1
lines changed

FileFormat.Words/FileFormat.Words.IElements.cs

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,55 @@ public interface IElement
1212
/// </summary>
1313
int ElementId { get; }
1414
}
15-
15+
/// <summary>
16+
/// Represents the indentation settings for a paragraph.
17+
/// </summary>
1618
public class Indentation
1719
{
20+
/// <summary>
21+
/// Gets or sets the distance of the left indentation.
22+
/// </summary>
1823
public double Left { get; set; }
24+
25+
/// <summary>
26+
/// Gets or sets the distance of the right indentation.
27+
/// </summary>
1928
public double Right { get; set; }
29+
30+
/// <summary>
31+
/// Gets or sets the distance of the first line indentation.
32+
/// </summary>
2033
public double FirstLine { get; set; }
34+
35+
/// <summary>
36+
/// Gets or sets the distance of the hanging indentation.
37+
/// </summary>
2138
public double Hanging { get; set; }
2239
}
2340

41+
/// <summary>
42+
/// Specifies the alignment of a paragraph within a text block or document.
43+
/// </summary>
2444
public enum ParagraphAlignment
2545
{
46+
/// <summary>
47+
/// Aligns the paragraph to the left.
48+
/// </summary>
2649
Left,
50+
51+
/// <summary>
52+
/// Centers the paragraph within the available space.
53+
/// </summary>
2754
Center,
55+
56+
/// <summary>
57+
/// Aligns the paragraph to the right.
58+
/// </summary>
2859
Right,
60+
61+
/// <summary>
62+
/// Justifies the text within the paragraph, aligning both the left and right edges.
63+
/// </summary>
2964
Justify
3065
}
3166

0 commit comments

Comments
 (0)