Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,24 @@
namespace DocumentFormat.OpenXml;

/// <summary>
/// Settings for the OpenXmlPartWriter.
/// Settings for the <see cref="OpenXmlPartWriter" /> .
/// </summary>
public class OpenXmlPartWriterSettings
{
#if FEATURE_ASYNC_SAX_XML
/// <summary>
/// Gets or sets a value indicating whether asynchronous OpenXmlPartWriter methods can be used.
/// Gets or sets a value indicating whether asynchronous <see cref="OpenXmlPartWriter" /> methods can be used.
/// </summary>
public bool Async { get; set; }
#endif

/// <summary>
/// Gets or sets a value indicating whether the OpenXmlPartWriter should check to ensure that all characters in the document conform to the "2.2 Characters" section of the W3C XML 1.0 Recommendation.
/// Gets or sets a value indicating whether the <see cref="OpenXmlPartWriter" /> should also close the underlying stream or TextWriter when the Close() method is called.
/// </summary>
public bool CloseOutput { get; set; }

/// <summary>
/// Gets or sets a value indicating whether the OpenXmlPartWriter should also close the underlying stream or TextWriter when the Close() method is called.
/// Gets or sets the type of text encoding to use.
/// </summary>
public Encoding Encoding { get; set; } = Encoding.UTF8;
}
Loading