EmbedPDFPluginMany browsers can show PDF documents embedded just like pictures within HTML documents using the<embed> HTML tag. Unfortunately, they are usually unable to detect the preferred (screen) size and aspect ratio of the PDF document and display only a little unreadable thumbnail version of the PDF file.
| ||||||||
Line: 39 to 39 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
| ||||||||
Line: 62 to 62 | ||||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
|
EmbedPDFPluginMany browsers can show PDF documents embedded just like pictures within HTML documents using the<embed> HTML tag. Unfortunately, they are usually unable to detect the preferred (screen) size and aspect ratio of the PDF document and display only a little unreadable thumbnail version of the PDF file.
| ||||||||
Line: 62 to 62 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
| ||||||||
Line: 81 to 81 | ||||||||
| ||||||||
Changed: | ||||||||
< < |
Related Topics: TWikiPreferences, TWikiPlugins | |||||||
> > |
Related Topics: TWiki:Plugins.EmbedPDFPluginDev, TWikiPreferences, TWikiPlugins | |||||||
|
EmbedPDFPluginMany browsers can show PDF documents embedded just like pictures within HTML documents using the<embed> HTML tag. Unfortunately, they are usually unable to detect the preferred (screen) size and aspect ratio of the PDF document and display only a little unreadable thumbnail version of the PDF file.
| ||||||||
Line: 44 to 44 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Added: | ||||||||
> > |
| |||||||
Plugin Installation InstructionsNote: You do not need to have a PDF plugin installed in your browser for this plugin to be useful.install anything on the browser to use this plugin. The following instructions are for the administrator who installs the plugin on the server where TWiki is running. | ||||||||
Line: 62 to 65 | ||||||||
| ||||||||
Added: | ||||||||
> > |
| |||||||
Plugin Info | ||||||||
Line: 80 to 84 | ||||||||
Related Topics: TWikiPreferences, TWikiPlugins
| ||||||||
Added: | ||||||||
> > |
| |||||||
|
EmbedPDFPlugin | ||||||||
Changed: | ||||||||
< < |
Many browsers can show PDF documents embedded just like pictures within HTML documents using the <EMBED> HTML tag. Unfortunately, they are usually unable to detect the preferred (screen) size and aspect ratio of the PDF document and display only a little unreadable thumbnail version of the PDF file.
| |||||||
> > |
Many browsers can show PDF documents embedded just like pictures within HTML documents using the <embed> HTML tag. Unfortunately, they are usually unable to detect the preferred (screen) size and aspect ratio of the PDF document and display only a little unreadable thumbnail version of the PDF file.
| |||||||
Changed: | ||||||||
< < |
This plugin adds %EMBEDPDF{...}% and %EMBEDPDFSIZE{...}% variables. These variables are helpful for embedding PDF documents in TWiki webs. %EMBEDPDF{...}% will create an <EMBED> HTML tag to show the specified PDF file in a reasonable size (as specified within that PDF file). %EMBEDPDFSIZE{...}% will expand to the width and height of the file.
| |||||||
> > |
This plugin adds %EMBEDPDF{...}% and %EMBEDPDFSIZE{...}% variables. These variables are helpful for embedding PDF documents in TWiki webs. %EMBEDPDF{...}% will create an <embed> HTML tag to show the specified PDF file in a reasonable size (as specified within that PDF file). %EMBEDPDFSIZE{...}% will expand to the width and height of the file.
| |||||||
Caution | ||||||||
Line: 23 to 23 | ||||||||
---|---|---|---|---|---|---|---|---|
Assume that test.pdf has a height of 40 points and a width of 100 points. Then:
| ||||||||
Changed: | ||||||||
< < |
<EMBED SRC="%ATTACHURL%/test" WIDTH="100" HEIGHT="40"> , and
| |||||||
> > |
<embed src="%ATTACHURL%/test" width="100" height="40"> , and
| |||||||
| ||||||||
Changed: | ||||||||
< < |
WIDTH="100" HEIGHT="40"
| |||||||
> > |
width="100" height="40"
| |||||||
Note that the .pdf extension is automatically added to the attachment name.
| ||||||||
Added: | ||||||||
> > |
The plugin checks the user agent setting reported by your browser to detect IE. For IE, the width and height will be enlarged since IE displays the PDF viewer controls within the HTML document along with the PDF document itself. | |||||||
EmbedPDFPlugin Global SettingsPlugin settings are stored as preferences variables. To reference a plugin setting write%<plugin>_<setting>% , i.e. %INTERWIKIPLUGIN_SHORTDESCRIPTION%
| ||||||||
Line: 38 to 41 | ||||||||
| ||||||||
Added: | ||||||||
> > |
| |||||||
Plugin Installation InstructionsNote: You do not need to have a PDF plugin installed in your browser for this plugin to be useful.install anything on the browser to use this plugin. The following instructions are for the administrator who installs the plugin on the server where TWiki is running. | ||||||||
Line: 53 to 59 | ||||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
| ||||||||
Line: 61 to 67 | ||||||||
Plugin Info
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
| ||||||||
Added: | ||||||||
> > |
| |||||||
|
Line: 1 to 1 | |||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Added: | |||||||||||||||||||||||||||||||||||||
> > |
EmbedPDFPluginMany browsers can show PDF documents embedded just like pictures within HTML documents using the<EMBED> HTML tag. Unfortunately, they are usually unable to detect the preferred (screen) size and aspect ratio of the PDF document and display only a little unreadable thumbnail version of the PDF file.
This plugin adds %EMBEDPDF{...}% and %EMBEDPDFSIZE{...}% variables. These variables are helpful for embedding PDF documents in TWiki webs. %EMBEDPDF{...}% will create an <EMBED> HTML tag to show the specified PDF file in a reasonable size (as specified within that PDF file). %EMBEDPDFSIZE{...}% will expand to the width and height of the file.
Caution
Syntax Rules
ExamplesAssume that test.pdf has a height of 40 points and a width of 100 points. Then:
.pdf extension is automatically added to the attachment name.
EmbedPDFPlugin Global SettingsPlugin settings are stored as preferences variables. To reference a plugin setting write%<plugin>_<setting>% , i.e. %INTERWIKIPLUGIN_SHORTDESCRIPTION%
Plugin Installation InstructionsNote: You do not need to have a PDF plugin installed in your browser for this plugin to be useful.install anything on the browser to use this plugin. The following instructions are for the administrator who installs the plugin on the server where TWiki is running.
Plugin Info
|