Hello, i’m trying the Trial mode of Gembox.Document. I have a lot of errors while trying to convert : the error “The added or subtracted value results in an un-representable DateTime” is the most recurrent StackTrace :
à System.DateTime.AddTicks(Int64 value)
à External.Office.Doc.PropertySetStream.TypedPropertyValue.GetVtFileTime(Byte[] value, Int32 index)
à .(PropertySet , UInt32 )
à . (PropertySet )
à External.Office.Doc.PropertySetStream.PropertySet.Convert[T](T mapping)
à .(WordDocument , )
à .(Stream , Stream )
à GemBox.Document.DocLoadOptions.7k4lmxmhj5tk8h83eglk6fss34tasuhn (Stream , String )
à GemBox.Document.DocumentModel.Load(String path, LoadOptions options)
à GemBox.Document.DocumentModel.Load(String path)
à ConvertDocRtf.ConversionGEM.DoConversion(Object state) dans C:\Users\gautierd\source\repos\ConvertDocRtf\ConvertDocRtf\ConversionGEM.cs :ligne 25)
I have some The output char buffer is too small to contain the decoded characters, encoding 'Unicode (UTF-8)
Stack trace:
à System.Text.Encoding.ThrowCharsOverflow()
à System.Text.Encoding.ThrowCharsOverflow(DecoderNLS decoder, Boolean nothingDecoded)
à System.Text.UTF8Encoding.GetChars(Byte* bytes, Int32 byteCount, Char* chars, Int32 charCount, DecoderNLS baseDecoder)
à System.Text.DecoderNLS.GetChars(Byte* bytes, Int32 byteCount, Char* chars, Int32 charCount, Boolean flush)
à System.Text.DecoderNLS.GetChars(Byte[] bytes, Int32 byteIndex, Int32 byteCount, Char[] chars, Int32 charIndex, Boolean flush)
à System.Text.DecoderNLS.GetChars(Byte[] bytes, Int32 byteIndex, Int32 byteCount, Char[] chars, Int32 charIndex)
à System.IO.BinaryReader.InternalReadOneChar()
à System.IO.BinaryReader.Read()
à System.IO.BinaryReader.PeekChar()
à .(Boolean )
à .(Func`2 , Boolean )
à . ()
à .()
à .()
à .( , )
à .()
à .(TableCellFormat , TableFormat , Int32 )
à . .()
à .()
à .(ElementType , TableFormat , List`1 , List`1 , Boolean& )
à . .()
à .()
à .(ElementType )
à . .()
à .()
à .(Func`1 , ElementType )
à . ()
à .()
à . ()
à . ()
à GemBox.Document.RtfLoadOptions.7k4lmxmhj5tk8h83eglk6fss34tasuhn (Stream , String )
à GemBox.Document.DocumentModel.Load(String path, LoadOptions options)
à GemBox.Document.DocumentModel.Load(String path)
à ConvertDocRtf.ConversionGEM.DoConversion(Object state) dans C:\Users\gautierd\source\repos\ConvertDocRtf\ConvertDocRtf\ConversionGEM.cs :ligne 25)
and the thirs is : Unexpected ‘ControlWord’ token: \formfield.
StackTrace:
à .()
à .(Func`1 , ElementType )
à . ()
à .()
à . ()
à . ()
à GemBox.Document.RtfLoadOptions.7k4lmxmhj5tk8h83eglk6fss34tasuhn (Stream , String )
à GemBox.Document.DocumentModel.Load(String path, LoadOptions options)
à GemBox.Document.DocumentModel.Load(String path)
à ConvertDocRtf.ConversionGEM.DoConversion(Object state) dans C:\Users\gautierd\source\repos\ConvertDocRtf\ConvertDocRtf\ConversionGEM.cs :ligne 25)