| java.lang.Object | |
| ↳ | com.pdftron.demo.navigation.component.html2pdf.HtmlConversionComponent |
Known Direct Subclasses
|
Component used to convert HTML pages to PDF
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| interface | HtmlConversionComponent.HtmlConversionActionListener | ||||||||||
| interface | HtmlConversionComponent.HtmlConversionListener | Callback for HTML conversion progress | |||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| HtmlConversionComponent(Html2PdfView view, HtmlConversionComponent.HtmlConversionListener listener) | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| void |
fromUrl(Context context, String link, Uri outputFolder)
Converts specified HTML link to PDF and save it to the specified Uri folder
with the output file name speicifed by #mOutputFilename
| ||||||||||
| void | handleWebpageToPDF(FragmentActivity activity, Uri outputFolder, DialogInterface.OnDismissListener dismissListener) | ||||||||||
| void | handleWebpageToPDF(FragmentActivity activity, ImportWebpageUrlSelectorDialogFragment customFragment, Uri outputFolder, DialogInterface.OnDismissListener dismissListener, HtmlConversionComponent.HtmlConversionActionListener actionListener) | ||||||||||
| void |
handleWebpageToPDF(FragmentActivity activity, Uri outputFolder)
Converts HTML, specified in the webpage selector dialog, and outputs to
a PDF stored at the specified folder
| ||||||||||
| void | handleWebpageToPDF(FragmentActivity activity, Uri outputFolder, DialogInterface.OnDismissListener dismissListener, HtmlConversionComponent.HtmlConversionActionListener actionListener) | ||||||||||
| void | handleWebpageToPDF(FragmentActivity activity, ImportWebpageUrlSelectorDialogFragment customFragment, DialogInterface.OnDismissListener dismissListener, ImportWebpageUrlSelectorDialogFragment.OnLinkSelectedListener linkSelectedListener) | ||||||||||
| void |
handleWebpageToPDF(FragmentActivity activity)
Converts HTML, specified in the webpage selector dialog, and outputs to
a PDF stored at the location specified by the folder picker dialog
| ||||||||||
| void |
handleWebpageToPdf(FragmentActivity activity, String link, File outputFolder)
Converts HTML from a specified HTML link and outputs to
a PDF stored at a specified folder.
| ||||||||||
| abstract void | setOutputFilename(String filename) | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Converts specified HTML link to PDF and save it to the specified Uri folder with the output file name speicifed by #mOutputFilename
| context | used to inflate context resolver |
|---|---|
| link | HTML to convert |
| outputFolder | output for the converted PDF |
Converts HTML, specified in the webpage selector dialog, and outputs to a PDF stored at the specified folder
| activity | used to attach fragment dialogs and get content resolver |
|---|---|
| outputFolder | output folder used for conversion |
Converts HTML, specified in the webpage selector dialog, and outputs to a PDF stored at the location specified by the folder picker dialog
| activity | used to attach fragment dialogs and get content resolver |
|---|
Converts HTML from a specified HTML link and outputs to a PDF stored at a specified folder.
| activity | used to attach fragment dialogs and get content resolver |
|---|---|
| link | HTML link to convert to PDF |
| outputFolder | output folder used for conversion |