convert pdf to image c# : Attach file to pdf form software SDK project winforms wpf web page UWP user-manual-screen7-part1211

6. The LaTeX packageooomath.sty
LO Math has a few features that are not available in standard LaTeX packages. Hence Writer2LaTeX
usesanoptionalpackageooomath.sty8 whichimplementsthese constructions. Thispackages isonly
neededfordocuments containingformulas. Ifitisnotavailable,Writer2LaTeXwill insertthenecessary
definitionsintheLaTeXpreamble.
It is sufficientto place ooomath.sty in the same directory as the converted LaTeXdocument. It will
however be more convenient if you install it in your TeX distribution. The proper place will usually
be the “local texmf tree”, please see the documentation of your TeX distribution. Below are specific
instructionsforteTeXandMikTeX:
6.0.1. Instructionsfor teTeXandTeXLive (Linux)
IfyouuseteTeXorTeXLiveonLinuxyoucaninstallooomath.styasfollows:
Openashellandtype
texconfig conf
ThiswilllisttheconfigurationdetailsforTeX.Undertheheading“Kpathsea”youwillseealistofdirec-
toriessearched by TeX.Youcan put ooomath.sty in the subdirectorytexofany ofthesedirectories.
Usuallythedirectory
/home/<user name>/texmf/tex
canbeused(youcan createitifitdoesn’texist).
Nextyoushouldtype
8
Thispakcagereplaces
writer.sty
usedbyolderversionsofWriter2LaTeX.
Attach file to pdf form - C# PDF Form Data fill-in Library: auto fill-in PDF form data in C#.net, ASP.NET, MVC, WinForms, WPF
Online C# Tutorial to Automatically Fill in Field Data to PDF
allow users to attach to pdf form; add signature field to pdf
Attach file to pdf form - VB.NET PDF Form Data fill-in library: auto fill-in PDF form data in vb.net, ASP.NET, MVC, WinForms, WPF
VB.NET PDF Form Data fill-in library: auto fill-in PDF form data in vb.net, ASP.NET, MVC, WinForms, WPF
change pdf to fillable form; create a fillable pdf form from a word document
texconfig rehash
tomakeTeXrefresh it’sfilenamedatabase.
6.0.2. Instructionsfor MikTeX(Windows)
IfyouuseMikTeXyoucaninstallooomath.styasfollows:
Copyooomath.stytothetexsubdirectoryinthelocaltexmftree.Withastandardinstallationthiswill
bethedirectory
c:\localtexmf\tex
Ifthisdirectorydoesnotexistyoushouldstart“MikTeXOptions”(youcanfindthisin theStartMenu).
On thetabpageRootsyoucan seethelocationofthelocaltexmftree.
Ifthesubdirectorytexdoesnotexist,youcancreateit.
Nextyou should start “MikTeXOptions”. On the tab page General,click the button Refresh Now to
makeMikTeXrefreshit’sfilenamedatabase.
VB.NET Image: Image Drawing SDK, Draw Text & Graphics on Image
and graphics drawing function, we attach links to image object that is added to source image file. powerful & profession imaging controls, PDF document, image
attach image to pdf form; convert pdf to fillable form online
VB.NET Image: VB.NET Rectangle Annotation Imaging Control
Able to attach a user-defined shadow to created annotation on source document image file, this VB powerful & profession imaging controls, PDF document, image to
convert pdf into fillable form; convert pdf file to fillable form online
7. Using Writer2LaTeX from another application
7.1. Using Writer2LaTeX from a Java application
Writer2LaTeXfeaturesa simpleAPItoconvertdocumentsfromanotherJavaapplication. Pleaseseethe
javadocforwriter2latex.jar(thepackagewriter2latex.api)fordetails.
TheAPIoffersastreambasedaswellasafilebasedinterfaceforconversions.
Here’sasimpleexampleshowinghowtoconvertafiletoLaTeXusingacustomconfiguration(excluding
exceptionhandling)usingthefilebasedmethodsoftheAPI.
import java.io.File;
import writer2latex.api.
*
;
// Create a LaTeX converter
Converter converter =
ConverterFactory.createConverter("application/x-latex");
// Configure the converter
Config config = converter.getConfig();
config.read(new File("myconfig.xml"));
config.setOption("inputencoding","latin1");
// Convert the document
ConverterResult result =
converter.convert(new File("mydocument.odt"),
VB.NET Word: VB Tutorial to Convert Word to Other Formats in .NET
developers can easily convert Word file that is Word 2007 or later versions into PDF, tiff, bmp Word converting functions but also attach detailed programming
create pdf fill in form; acrobat fill in pdf forms
VB.NET TIFF: VB.NET Code to Scan Document into TIFF Image File
often generate those scanned documents in TIFF or PDF file format page document to a multi-page TIFF file using this Here we attach a link which can lead you to
convert pdf to fillable pdf form; convert pdf to pdf form fillable
"mydocument.tex");
// Write the files
result.write(new File("mydirectory"));
Using the stream based methods the conversion may look like this (assuming the option
save_images_in_subdirissettofalse):
import java.io.FileInputStream;
import java.io.FileOutputStream;
// Convert the document
ConverterResult result =
converter.convert(new FileInputStream("mydocument.odt"),
"mydocument.tex");
// Write the files
Iterator<OutputFile> docs = result.iterator();
while (docs.hasNext()) {
OutputFile docOut = (OutputFile) docs.next();
FileOutputStream fos =
new FileOutputStream("mydirectory/"+docOut.getFileName());
docOut.write(fos);
fos.flush();
fos.close();
VB.NET Image: VB.NET Sample Code to Draw EAN-13 Barcode on Image
How to Attach EAN-13 Barcode Image to Word in VB.NET. linear and 2d barcode drawing tutorial page on how to create & write 30+ barcode types on PDF file using VB
convert pdf form fillable; add fillable fields to pdf
}
Writer2LaTeX also offers an interface for batch conversion of a directory into XHTML. For at simple
example,seethesourceofApplication.java.
7.2. Using Writer2LaTeX from a Basic macro
You can also access Writer2LaTeX through LO’s api. Here’s an example using a Basic macro, but the
principleisthesameforanyotherlanguagewithaUNObinding.
Writer2LaTeX is used as any other filter in LO. Using the parameter FilterData, you can provide
specific options forWriter2LaTeX: You can give an URLfor a configuration file to use and/oryou can
providevalues forsimpleoptions (theorderdoesnotmatter,theconfiguration fileis alwaysreadfirst).
Inaddition (XHTMLexportonly),youcandefineatargettemplateandanincludedstylesheet.
ThisexampleexportsadocumenttoLaTeXusingaspecificconfiguration,butoverridingthevalueofthe
optionuse_colortbl.
Dim sUrl As String
sUrl = <url to document>
Dim sConfigUrl As String
sConfigUrl = <url to config>
Dim oFilterData(1) As New com.sun.star.beans.PropertyValue
oFilterData(0).Name
= "ConfigURL"
oFilterData(0).Value = sConfigUrl
oFilterData(1).Name
= "use_colortbl"
oFilterData(1).Value = "true"
Dim oProps(2) As New com.sun.star.beans.PropertyValue
oProps(0).Name
= "FilterName"
oProps(0).Value = "org.openoffice.da.writer2latex"
oProps(1).Name
= "Overwrite"
oProps(1).Value = true
oProps(2).Name
= "FilterData"
oProps(2).Value = oFilterData
ThisComponent.StoreToURL(sUrl, oProps())
ThetableliststhenamesofthefiltersprovidedbyWriter2LaTeX:
Format
FilterName
LaTeX
org.openoffice.da.writer2latex
BibTeX
org.openoffice.da.writer2bibtex
XHTML(textdocument)
org.openoffice.da.writer2xhtml
XHTML1.1(textdocument)
org.openoffice.da.writer2xhtml11
XHTML(spreadsheet)
org.openoffice.da.calc2xhtml
XHTML1.1(spreadsheet)
org.openoffice.da.calc2xhtml11
XHTML+MathML
org.openoffice.da.writer2xhtml.mathml
XHTML+MathMLusingxsl
org.openoffice.da.writer2xhtml.mathml.xsl
EPUB
org.openoffice.da.writer2xhtml.epub
Thistableliststhespecialpropertiesavailableforthefilterdata(allareoptional):
Property
Purpose
ConfigURL
SetstheURLfortheconfiguration touse
TargetTemplateURL
SetstheURLforanXHTMLtemplatetouse(XHTMLandEPUBonly)
StyleSheetURL
SetstheURLforaCSSstylesheettoinclude(EPUBonly)
ResourceURL
Sets the URL for a folder containing resources (images and fonts) re-
ferredin thestylesheet(EPUB only). All files contained in this folder
will be includedwith thestylesheetin thesamedirectory as the style
sheet.Themediatypewillbedeterminedfromthefileextension.Ifyou
wanttodefinethemediatypeyourself,usethemorecomplexproperty
Resources.
Resources
Sets a list of resources (images and fonts) referred in the style sheet
(EPUB only). This property is a semicolon separated list. Each entry
isoftheform
URL[[::file name]::mime type]
wherethepartsinsquarebracketsareoptional.Forexample
file://mycomputer/home/myself/images/bg.png::background.png::image/png
to point to a png image which is referenced by the file name
background.pngin the style sheet. The resource file will be placed
inthesamedirectoryasthestylesheet.
The URLs can contain variables such as $(user) for the user installation of LO. Thus for example
“$(user)/myconfig.xml”canbeusedtopointtoaconfigurationwithin theuserinstallation.See
http://api.libreoffice.org/docs/idl/ref/servicecom_1_1sun_1_1star_1_1util_1_
1PathSubstitution.html
foralistofavailablevariables.
Asaspecialfeature,youcanrequireoneofWriter2LaTeX’sstandardconfigurations.Todothis,theURL
shouldstartwithan asterisk,forexample“
*
ultraclean.xml”.
7.3. Batch conversion with UNO
Writer2LaTeXalsooffersaunoservice
org.openoffice.da.writer2xhtml.BatchConverter
providing
batch
conversion
of
a
complete
directory
into
another
format (usu-
ally
XHTML)
with
index
pages.
This
service
implements
the
interface
org.openoffice.da.writer2xhtml.XBatchConverter,whichprovidesasinglemethod
// method
// org::openoffice::da::writer2xhtml::XBatchConverter::convert
void convert ( [in] string sSourceURL,
[in] string sTargetURL,
[in] sequence<com::sun::star::beans::PropertyValue> lArguments,
[in] XBatchHandler handler );
ThesSourceURLspecifiestheURLofthesourcedirectory
ThesTargetURLspecifiestheURLofthetargetdirectory
The
handler
is
an
implementation
of
the
call
back
interface
org.openoffice.da.writer2xhtml.XBatchHandler, which is used to provide user
interaction during the conversion process. See the IDL definition for documentation. If
you use the batch conversion from a Basic macro, the interface must be implemented using
CreateUnoListener.
Theavailablearguments(fortheparameterlArguments)arespecifiedinthistable
Argument
Description
Recurse
Settotrue(default)ifyouwanttoconvertsubdirectories
Uplink
YoucansetthistoanURL,whichwillbeusedasanuplinkontheindex
pageforthetopleveldirectory
DirectoryIcon
YoucansetthistoanURLpointingtoan imagethatrepresentsadirec-
tory
DocumentIcon
YoucansetthistoanURLpointingtoan imagethatrepresentsadocu-
ment
TemplateURL
YoucansetthistoanURLpointingtoanXHTMLtemplatethatshould
beusedtogeneratetheindexpage(s).
NotethatifyouwanttoprovideanXHTMLtemplateforthedocuments
aswell,thismustbedoneusingtheFilterData(andthetemplatesmay
bedifferent).
IndcludePdf
Set this totrue (default)if youwant to include a pdf version of each
fileinadditiontotheXHTMLversion
UseTitle
Set this to true (default) if youwant to usethedocumenttitle in the
indexpageratherthanthefilename
UseDescription
Setthis to true(default)ifyouwant to includethedescription of the
documentintheindexpage.
WriterFilterName
Youcansetthistothe nameofanyWriterexportfilteryouhaveavail-
able in your LO installation. The default is the XHTML export filter
providedbyWriter2xhtml(org.openoffice.da.writer2xhtml).
Documents you may be interested
Documents you may be interested