Example to Input Data
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 20/100
- Tipo de issue
- Documentación
- Claridad
- Necesita aclaración
- Estado de actividad
- Estancado
- Stack tecnológico
- csharp
- Área
- documentation
Línea de trabajo
Start with the Invoice Sample and the existing documentation, then trace the CreateInvoice() and CustomProperty examples mentioned in the issue. Determine whether MVC/Razor form values can populate the invoice data and generate a Word file, and document the relevant resources or usage path.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
I'm wondering if there is a way to set this up using an intranet. I was looking at the Invoice Sample, and it's actually spot on with what I am looking to do. I just can't figure out the best way to hook this up so that I can just input the information into some text fields or other controls (radio button, etc.). I use MVC/Razor web pages to input data for other stuff, and I was thinking to leverage that to just fill in the Invoice data and then click a button to generate a Word file.
I was thinking to just try using a call to, for example, CreateInvoice() on a button click and then hooking my models properties in to replace the CustomProperty, but it isn't that easy, is it? So, something like:
templateDoc.AddCustomProperty( new CustomProperty( "InvoiceNumber", new invoiceNumber ) );
Basically, I am just trying to determine if DocX would work for me before I go further, and needed to test it out.
Does anyone know of any resources to accomplish something like this. I tried looking through the documentation but nothing stood out. If I missed something obvious forgive me in advance.
- Lenguaje dominante
- C#
- Estrellas
- 1.9k
- Forks
- 482
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de xceedsoftware/DocX
-
Dificultad 3/5 1-2 días Aptitud para principiantes 48/100
xceedsoftware/DocX#489 · 1 comentario ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
xceedsoftware/DocX#488 · 1 comentario · 1 reacción ·
-
keep formatAbierto
Dificultad 3/5 1-2 días Aptitud para principiantes 25/100
xceedsoftware/DocX#487 · 3 comentarios ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 45/100
xceedsoftware/DocX#485 · 1 comentario ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
xceedsoftware/DocX#482 · 4 comentarios ·
Todos los issues de xceedsoftware/DocX
Issues similares
-
S: Untriaged
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
space-wizards/space-station-14#46357 ·
Los mantenedores suelen responder en 1 día
-
Versioning_oM: Remove unneeded depeendecy on Test_oMPosiblemente ocupada @IsakNaslundBh la tomó hoy. Abiertotype:bug type:compliance
Dificultad 2/5 Menos de una hora Aptitud para principiantes 85/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
MicrosoftLearning/PL-400_Microsoft-Power-Platform-Developer#231 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
joinrpg/joinrpg-net#5313 ·
Los mantenedores suelen responder en 1 día