X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=pdf2swf%2Fpdf2swf.cc;h=782e138cea3bd5c2bbaec74d9f7f64e696668085;hp=112212697e22fda5db749b5bb2a1d59c29c79f5a;hb=bcedf5b233ad5148e9f6254fb1134710ad1b7b2a;hpb=f2edb50fa1420cc889950255d2c13b472fa25106 diff --git a/pdf2swf/pdf2swf.cc b/pdf2swf/pdf2swf.cc index 1122126..782e138 100644 --- a/pdf2swf/pdf2swf.cc +++ b/pdf2swf/pdf2swf.cc @@ -115,6 +115,11 @@ int args_callback_option(char*name,char*val) { pdfswf_linksopennewwindow(); return 0; } + else if (!strcmp(name, "t")) + { + pdfswf_insertstop(); + return 0; + } else if (!strcmp(name, "f")) { pdfswf_storeallcharacters(); @@ -231,6 +236,7 @@ struct options_t options[] = {"L","preloader"}, {"b","defaultviewer"}, {"l","defaultpreloader"}, + {"t","stop"}, {0,0} }; @@ -272,6 +278,7 @@ void args_callback_usage(char*name) #endif printf("-f --fonts Store full fonts in SWF. (Don't reduce to used characters)\n"); printf("-V --version Print program version\n"); + printf("-t --stop Insert a \"Stop\" Tag in every frame (don't turn pages automatically)\n"); #ifndef SYSTEM_BACKTICKS printf("The following might not work because your system call doesn't support command substitution:\n"); #endif