SaveDOCXToFile
Document conversion, extraction, DOCX, files
Opis
Konvertuje rozsah PDF stránok na editovateľný DOCX súbor obsahujúci natívne odseky, nadpisy, zoznamy, tabuľky, štýly, zalomenia stránok a voliteľné obrázky
Syntax
Delphi
Function TPDFlib.SaveDOCXToFile(Const PageRange: WideString;
Options: Integer; Const FileName: WideString): Integer;ActiveX
Function PDFlib::SaveDOCXToFile(PageRange As String,
Options As Long, FileName As String) As LongDLL
int DLSaveDOCXToFile(int InstanceID, const wchar_t* PageRange,
int Options, const wchar_t* FileName);
int DLSaveDOCXToFileA(int InstanceID, const char* PageRange,
int Options, const char* FileName);Parameters
| PageRange | A one-based page range, or an empty string for every page |
|---|---|
| Options | The option mask documented by SaveDOCXToStream |
| FileName | The destination DOCX file path |
Return values
Vráti počet skonvertovaných stránok, alebo nulu, keď zlyhá validácia, extrakcia, balenie alebo zápis súboru
Poznámky
Súbor je štandardný WordprocessingML balík a nevyžaduje Office automatizáciu ani externý konverzný proces
Images are written page by page and the selected PDF page is restored before the call returnsLastErrorCode is 114 for invalid arguments and 518 for extraction, packaging, or file failures