SharpDocx icon indicating copy to clipboard operation
SharpDocx copied to clipboard

Lightweight template engine for creating Word documents

Results 35 SharpDocx issues
Sort by recently updated
recently updated
newest added

Whenever a template document is parsed using the `DocumentFactory.Create()` method and the parser find an issue with one of the expressions it the following exception is thrown: ``` Unhandled exception....

I have a template document and added the statement `` into a field that is under *Content Control* in Word. The result of this is, that neither an error was...

Is there a relatively easy way to combine two or more documents into a final document? I could just create one large template and use conditionals to control the display...

Hi. I am using this template: // a table with rows and columns. Some rows contain nested tables as well. which works fine if the data exists in the model....

Hi @egonl , I am using SharpDocx v2.2.0 inside a .NET 6 console app and I am getting SharpDocxCompilationException when using a ViewModel containing a collection of objects residing in...

I want dynamically generate image and without saving, insert in document. It's possible?

Is it possible insert formatted html text ?

```cs Unhandled exception. SharpDocx.SharpDocxCompilationException: Exception of type 'SharpDocx.SharpDocxCompilationException' was thrown. at SharpDocx.DocumentCompiler.Compile(String sourceCode, List`1 referencedAssemblies) at SharpDocx.DocumentCompiler.Compile(String viewPath, String className, String baseClassName, Type modelType, List`1 usingDirectives, List`1 referencedAssemblies) at SharpDocx.DocumentAssembly..ctor(String...

I have created a table in an outer table. Unfortunately, in this case AppendRow(); does not work properly in the child table. Word-File: ![grafik](https://user-images.githubusercontent.com/20139038/107997906-38bbf200-6fe4-11eb-9024-e27316dd2cba.png) What is generated: ![grafik](https://user-images.githubusercontent.com/20139038/107998192-da434380-6fe4-11eb-801e-0dd3f1e35cf1.png) What I...