diff --git a/src/UglyToad.PdfPig/Writer/ITokenWriter.cs b/src/UglyToad.PdfPig/Writer/ITokenWriter.cs
index 1445f1e4..a8efc980 100644
--- a/src/UglyToad.PdfPig/Writer/ITokenWriter.cs
+++ b/src/UglyToad.PdfPig/Writer/ITokenWriter.cs
@@ -1,37 +1,41 @@
-namespace UglyToad.PdfPig.Writer;
-
-using Core;
-using System.Collections.Generic;
-using System.IO;
-using Tokens;
-
-///
-/// Writes any type of to the corresponding PDF document format output.
-///
-public interface ITokenWriter
+namespace UglyToad.PdfPig.Writer
{
- ///
- /// Writes the given input token to the output stream with the correct PDF format and encoding including whitespace and line breaks as applicable.
- ///
- /// The token to write to the stream.
- /// The stream to write the token to.
- void WriteToken(IToken token, Stream outputStream);
+ using Core;
+ using System.Collections.Generic;
+ using System.IO;
+ using Tokens;
///
- /// Writes pre-serialized token as an object token to the output stream.
+ /// Writes any type of to the corresponding PDF document format output.
///
- /// Object number of the indirect object.
- /// Generation of the indirect object.
- /// Pre-serialized object contents.
- /// The stream to write the token to.
- void WriteObject(long objectNumber, int generation, byte[] data, Stream outputStream);
+ public interface ITokenWriter
+ {
+ ///
+ /// Writes the given input token to the output stream with the correct PDF format and encoding including whitespace and line breaks as applicable.
+ ///
+ /// The token to write to the stream.
+ /// The stream to write the token to.
+ void WriteToken(IToken token, Stream outputStream);
- ///
- /// Writes a valid single section cross-reference (xref) table plus trailer dictionary to the output for the set of object offsets.
- ///
- /// The byte offset from the start of the document for each object in the document.
- /// The object representing the catalog dictionary which is referenced from the trailer dictionary.
- /// The output stream to write to.
- /// The object reference for the document information dictionary if present.
- void WriteCrossReferenceTable(IReadOnlyDictionary objectOffsets, IndirectReference catalogToken, Stream outputStream, IndirectReference? documentInformationReference);
+ ///
+ /// Writes pre-serialized token as an object token to the output stream.
+ ///
+ /// Object number of the indirect object.
+ /// Generation of the indirect object.
+ /// Pre-serialized object contents.
+ /// The stream to write the token to.
+ void WriteObject(long objectNumber, int generation, byte[] data, Stream outputStream);
+
+ ///
+ /// Writes a valid single section cross-reference (xref) table plus trailer dictionary to the output for the set of object offsets.
+ ///
+ /// The byte offset from the start of the document for each object in the document.
+ /// The object representing the catalog dictionary which is referenced from the trailer dictionary.
+ /// The output stream to write to.
+ /// The object reference for the document information dictionary if present.
+ void WriteCrossReferenceTable(
+ IReadOnlyDictionary objectOffsets,
+ IndirectReference catalogToken, Stream outputStream,
+ IndirectReference? documentInformationReference);
+ }
}
\ No newline at end of file