pdfdata
Syntax and description
The pdfdata command generates an FDF file or XML file from the PDF file that is submitted as the InputPDF argument.
stylevisionserver pdfdata [options] InputPDF |
•The InputPDF argument specifies the path to the PDF file, from which the output FDF or XML file will be generated. If the PDF file does not have any form data, the generated file will contain no form data.
•Use the --outfdf option to specify the location of the generated FDF file or the --outxml option to specify the location of the generated XML file.
For information about setting up FOP, which StyleVision Server uses by default to generate PDF, see the topic FOP Requirements.
For more information about FDF files and designing fillable PDF forms, see the Altova StyleVision (Enterprise Edition) documentation.
StyleVisionServer on Windows stylevisionserver on Windows and Unix (Linux, Mac)
* Note that lowercase (stylevisionserver) works on all platforms (Windows, Linux, and Mac), while upper-lower (StyleVisionServer) works only on Windows and Mac. * Use forward slashes on Linux and Mac, backslashes on Windows.
|
On Windows systems: When spaces or special characters occur in strings (for example in file or folder names, or company, person or product names), use quotes: for example, "My File". Note, however, that a backslash followed by a double-quotation mark (for example, "C:\My directory\") might not be read correctly. This is because the backslash character is also used to indicate the start of an escape sequence, and the escape sequence \" stands for the double-quotation mark character. If you want to escape this sequence of characters, use a preceding backslash, like this: \\". To summarize: If you need to write a file path that contains spaces or an end backslash, write it like this: "C:\My Directory\\".
|
Examples
Examples of the pdfdata command:
stylevisionserver pdfdata --outfdf=C:\test\forms\FDFData.fdf C:\test\forms\TestForm.pdf
stylevisionserver pdfdata --outxml=C:\test\forms\XMLData.xml C:\test\forms\TestForm.pdf
The examples above create, respectively, and FDF file and an XML file from the same PDF input.
Options
--outfdf = FilePath The path to the generated FDF file.
|
--outxml = FilePath The path to the generated XML file.
|
Use the --h, --help option to display information about the command.
Options are listed in short form (if available) and long form. You can use one or two dashes for both short and long forms. An option may or may not take a value. If it takes a value, it is written like this: --option=value. Values can be specified without quotes except in two cases: (i) when the value string contains spaces, or (ii) when explicitly stated in the description of the option that quotes are required. If an option takes a Boolean value and no value is specified, then the option's default value is TRUE. Use the --h, --help option to display information about the command.