Specidev.Word 3.2.0
Specidev.Lib
Exemple d'utilisation des attributs Token
internal class ExempleGeneration : IGenerationDocument
{
[TextToken("#numerocontrat")]
public string NumeroContrat { get; set; }
[TextToken("#datedebutcontrat")]
public string DateDebutContrat { get; set; }
[TextToken("#commentairecontrat")]
public string CommentaireContrat { get; set; }
[HiddenToken("#signatureresponsable")]
public string SignatureResponsable => "{{s1|signature|170|74}}";
public IEnumerable<TableauFormationsPrestataireItem> TableauFormationsPrestataire { get; set; } = [];
[TableToken("#tableauformationsrpprestataire")]
public string[][] TableauFormationsPrestataireMatrice
{
get
{
string[][] matrice = new string[TableauFormationsPrestataire.Count() + 1][];
matrice[0] = new string[3];
matrice[0][0] = "Formation";
matrice[0][1] = "Montant RP mensuel";
matrice[0][2] = "Montant contrat";
int index = 1;
foreach (TableauFormationsPrestataireItem item in TableauFormationsPrestataire)
{
matrice[index] = new string[3];
matrice[index][0] = item.Formation;
matrice[index][1] = item.MontantRpMensuel.ToEuros();
matrice[index][2] = item.MontantContrat.ToEuros();
index++;
}
return matrice;
}
}
}
No packages depend on Specidev.Word.
support net10 et ajout module IWordTokenSource
.NET 8.0
- OfficeIMO.Word-ImageSharp3 (>= 2.1.0)
.NET 9.0
- OfficeIMO.Word-ImageSharp3 (>= 2.1.0)
.NET 10.0
- OfficeIMO.Word-ImageSharp3 (>= 2.1.0)
| Version | Downloads | Last updated |
|---|---|---|
| 3.2.0 | 445 | 03/26/2026 |
| 3.1.1 | 801 | 09/23/2025 |
| 3.1.0 | 18 | 09/23/2025 |
| 3.0.2 | 29 | 09/22/2025 |
| 3.0.1 | 13 | 09/22/2025 |
| 3.0.0 | 14 | 09/22/2025 |
| 2.1.0 | 15 | 09/17/2025 |
| 2.0.2 | 580 | 08/28/2025 |
| 2.0.1 | 16 | 08/28/2025 |
| 2.0.0 | 135 | 08/21/2025 |
| 1.2.0 | 2,672 | 04/18/2024 |
| 1.1.0 | 1,091 | 11/10/2023 |
| 1.0.0 | 45 | 10/26/2023 |