Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Bezpośrednio z PrepeareDoc

Warning
titleNie zalecane

Jeśli konieczne wywołanie generowanie w Java, to zalecane korzystanie z WordTemplateService.


Przykład uruchomienia :

Code Block
languagejava
themeEclipse
titlePrzykład z podłączeniem do archiwum i procesu
DocumentTemplateService templateService = ServiceFactory.getDocumentTemplateService();
DocumentTemplateTable template = templateService.getByName( "Przykładowy szablon" );
String templatePath = template.getTemplatePath();
String archiveDocumentClassName = "Przykładowa klasa";
Map<String, Object> mOptionalParameters = null;
            
PrepeareDoc.createPdfAndSaveInArchive( templatePath, archiveDocumentClassName, processId, mOptionalParameters );

...