A PDF generálásának javítása
This commit is contained in:
@@ -41,7 +41,11 @@ namespace WorkFlowCheck.BL.DocumentGenerator
|
||||
// LibreOffice parancssori konverzió
|
||||
ProcessStartInfo startInfo = new ProcessStartInfo
|
||||
{
|
||||
#if !DEBUG
|
||||
FileName = "e:\\LibreOffice\\program\\soffice", // LibreOffice parancs
|
||||
#else
|
||||
FileName = "c:\\Program Files\\LibreOffice\\program\\soffice", // LibreOffice parancs
|
||||
#endif
|
||||
Arguments = $"--headless --convert-to pdf \"{tempWordPath}\" --outdir \"{pdfDirectory}",
|
||||
RedirectStandardOutput = true,
|
||||
UseShellExecute = false,
|
||||
@@ -169,8 +173,6 @@ namespace WorkFlowCheck.BL.DocumentGenerator
|
||||
body.Append(new Paragraph(new Run(new Break() { Type = BreakValues.Page })));
|
||||
body.Append(table);
|
||||
}
|
||||
|
||||
|
||||
private static Drawing CreateImageDrawing(string relationshipId, long width, long height)
|
||||
{
|
||||
return new Drawing(
|
||||
|
||||
Reference in New Issue
Block a user