+ printf("Usage: %s [Options] input.pdf [-o output.swf]\n", name);
+ printf("\nBasic options:\n");
+ printf("-p --pages=range Convert only pages in range\n");
+ printf("-P --password=password Use password for deciphering the pdf\n");
+ printf("-v --verbose Be verbose. Use more than one -v for greater effect\n");
+ printf("-q --quiet Suppress normal messages. Use -qq to suppress warnings, also.\n");
+#ifdef HAVE_DIRENT_H
+ printf("-F --fontdir directory Add directory to font search path\n");
+#endif
+ printf("-V --version Print program version\n");
+ printf("\nEnhanced conversion options:\n");
+ printf("-S --shapes Don't use SWF Fonts, but store everything as shape\n");
+ printf("-z --zlib Use Flash 6 (MX) zlib compression (Needs at least Flash 6 Plugin to play)\n");
+ printf("-w --samewindow Don't open a new Browser Window for Links in the SWF\n");
+ printf("-f --fonts Store full fonts in SWF. (Don't reduce to used characters)\n");
+ printf("-T --flashversion=num Set the flash version in the header to num (default: 4)\n");
+ printf("-s insertstop Insert a \"Stop\" Tag in every frame (don't turn pages automatically)\n");
+ printf("-s zoom=factor Scale result, default: 72\n");
+ printf("-s jpegquality=quality Set quality of embedded jpeg pictures (default:85)\n");
+ printf("-s caplinewidth=value Set the minimum line width to trigger cap style handling to value. (3)\n");
+ printf("-s splinequality=value Set the quality of spline convertion to value (0-100, default: 100).\n");
+ printf("-s fontquality=value Set the quality of font convertion to value (0-100, default: 100).\n");
+ printf("-s ignoredraworder Ignore draw order (makes the SWF file smaller and faster, but may produce\n"
+ " graphic errors)\n");
+ printf("-s filloverlap Make intersecting shapes overlap, instead of canceling each\n"
+ " other out. (Needed for some Powerpoint PDFs)\n");
+ printf("Postprocessing options:\n");
+#ifndef SYSTEM_BACKTICKS
+ printf("(They might not work because your system call doesn't support command substitution)\n");
+#endif
+ printf("-b --defaultviewer Link default viewer to the pdf (%s/swfs/default_viewer.swf)\n", SWFTOOLS_DATADIR);
+ printf("-l --defaultpreloader Link default preloader the pdf (%s/swfs/default_loader.swf)\n", SWFTOOLS_DATADIR);
+ printf("-B --viewer=filename Link viewer \"name\" to the pdf (\"%s -B\" for list)\n", name);
+ printf("-L --preloader=filename Link preloader \"name\" to the pdf (\"%s -L\" for list)\n",name);