Skip to content

Commit

Permalink
Fix missing XML comments for Indentation and Alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
sabir-aspose committed Mar 30, 2024
1 parent fbd93f1 commit facaff3
Showing 1 changed file with 36 additions and 1 deletion.
37 changes: 36 additions & 1 deletion FileFormat.Words/FileFormat.Words.IElements.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,55 @@ public interface IElement
/// </summary>
int ElementId { get; }
}

/// <summary>
/// Represents the indentation settings for a paragraph.
/// </summary>
public class Indentation
{
/// <summary>
/// Gets or sets the distance of the left indentation.
/// </summary>
public double Left { get; set; }

/// <summary>
/// Gets or sets the distance of the right indentation.
/// </summary>
public double Right { get; set; }

/// <summary>
/// Gets or sets the distance of the first line indentation.
/// </summary>
public double FirstLine { get; set; }

/// <summary>
/// Gets or sets the distance of the hanging indentation.
/// </summary>
public double Hanging { get; set; }
}

/// <summary>
/// Specifies the alignment of a paragraph within a text block or document.
/// </summary>
public enum ParagraphAlignment
{
/// <summary>
/// Aligns the paragraph to the left.
/// </summary>
Left,

/// <summary>
/// Centers the paragraph within the available space.
/// </summary>
Center,

/// <summary>
/// Aligns the paragraph to the right.
/// </summary>
Right,

/// <summary>
/// Justifies the text within the paragraph, aligning both the left and right edges.
/// </summary>
Justify
}

Expand Down

0 comments on commit facaff3

Please sign in to comment.