c# pdf viewer dll : Reorder pdf pages online SDK application API .net azure winforms sharepoint user-manual-screen7-part133

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.
Reorder pdf pages online - re-order PDF pages in C#.net, ASP.NET, MVC, Ajax, WinForms, WPF
Support Customizing Page Order of PDF Document in C# Project
pdf rearrange pages online; pdf rearrange pages
Reorder pdf pages online - VB.NET PDF Page Move Library: re-order PDF pages in vb.net, ASP.NET, MVC, Ajax, WinForms, WPF
Sort PDF Document Pages Using VB.NET Demo Code
how to rearrange pages in a pdf document; pdf reorder pages
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.
C# TIFF: How to Reorder, Rearrange & Sort TIFF Pages Using C# Code
Reorder, Rearrange and Sort TIFF Document Pages in C#.NET Application. C# TIFF Page Sorting Overview. Reorder TIFF Pages in C#.NET Application.
change page order pdf; reorder pages of pdf
C# PDF: C# Code to Process PDF Document Page Using C#.NET PDF
C# PDF Page Processing: Sort PDF Pages - online C#.NET tutorial page for how to reorder, sort, reorganize or re-arrange PDF document files using C#.NET code.
change pdf page order; how to move pages within a pdf document
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 PowerPoint: Sort and Reorder PowerPoint Slides by Using VB.
Sort and Reorder PowerPoint Slides Range with VB amount of robust PPT slides/pages editing methods powerful & profession imaging controls, PDF document, image
pdf reverse page order online; rearrange pages in pdf file
VB.NET PDF: Create PDF Document Viewer in C#.NET for Document
"This online guide content is Support navigating to the previous or next page of the PDF document; Able to insert, delete or reorder PDF document page in VB.NET
how to reorder pdf pages; change page order in pdf reader
"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 TIFF: Modify TIFF File by Adding, Deleting & Sort TIFF
Users can use it to reorder TIFF pages in ''' &ltsummary> ''' Sort TIFF document pages in designed powerful & profession imaging controls, PDF document, image
rearrange pages in pdf reader; move pages in pdf
VB.NET PDF: VB.NET Guide to Process PDF Document in .NET Project
This online guide content It can be used to add or delete PDF document page(s), sort the order of PDF pages, add image to PDF document page and extract page(s
how to reorder pdf pages in reader; change page order pdf reader
}
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
C# PDF Page Rotate Library: rotate PDF page permanently in C#.net
Online C# class source codes enable the ability to rotate single NET, add new PDF page, delete certain PDF page, reorder existing PDF pages and split
move pages in pdf acrobat; how to move pdf pages around
VB.NET TIFF: VB.NET Sample Code to Process & Manage TIFF Page
certain TIFF page, and sort & reorder TIFF pages in Process TIFF Pages Independently in VB.NET Code. powerful & profession imaging controls, PDF document, image
switch page order pdf; reverse page order pdf
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