git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
removed \t characters. MacOS X has a problem with them.
[swftools.git]
/
pdf2swf
/
pdf2swf.cc
diff --git
a/pdf2swf/pdf2swf.cc
b/pdf2swf/pdf2swf.cc
index
1122126
..
782e138
100644
(file)
--- a/
pdf2swf/pdf2swf.cc
+++ b/
pdf2swf/pdf2swf.cc
@@
-115,6
+115,11
@@
int args_callback_option(char*name,char*val) {
pdfswf_linksopennewwindow();
return 0;
}
pdfswf_linksopennewwindow();
return 0;
}
+ else if (!strcmp(name, "t"))
+ {
+ pdfswf_insertstop();
+ return 0;
+ }
else if (!strcmp(name, "f"))
{
pdfswf_storeallcharacters();
else if (!strcmp(name, "f"))
{
pdfswf_storeallcharacters();
@@
-231,6
+236,7
@@
struct options_t options[] =
{"L","preloader"},
{"b","defaultviewer"},
{"l","defaultpreloader"},
{"L","preloader"},
{"b","defaultviewer"},
{"l","defaultpreloader"},
+ {"t","stop"},
{0,0}
};
{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");
#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
#ifndef SYSTEM_BACKTICKS
printf("The following might not work because your system call doesn't support command substitution:\n");
#endif