Please see the attached picture.
LibreOffice the converted code:
Public String Dodoctofdplibre () {File Inputfile = new file ("D:/1.txt");File Inputfile = new file ("D:/ppt.ppt");File Inputfile = new file ("D:/pptx.pptx");File Inputfile = new file ("D:/doc.doc");File Inputfile = new file ("D:/docx.docx");File Inputfile = new file ("D:/xls.xls");File Inputfile = new file ("D:/jpg.jpg");File Inputfile = new file ("D:/gif.gif");System.out.println ("LibreOffice start the conversion .... ...)" ......
1 ,__ name _ attribute
The _ name _ attribute is used to determine whether the current module is a program entry. If the current program is in use, the value of __name _ is _ main __.
When writing a program, you usually need to add conditional statements to each module to test the function of this module separately.
2 ,__ doc _ Properties
The module itself is an object, and each object has a _ doc _
Many friends have started using Word 2007 instead of the lower version of Word 2003, but Word 2007 uses the *.docx format as a document by default, and it is generally recommended that you save it as a *.doc format, given the ease of communication, but this often requires you to click the Office Button. Choosing to save as a/word97-2003 document in turn, or selecting a word97-2003 document in the save type for the Save As dialog box, is cumbersome reg
Environment preparationTXT using Common-ioPDF using PDFBoxThe rest with POIAbout POI, reading XLS is nothing special, mainly reading doc and ppt,You need to download the POI source code, then copy all the files under Poi-src-3.7-20101029.zip\poi-3.7\src\scratchpad\src to the project, or encapsulate a jar package yourselfJar Package DependencyCode is as follows:Package test;import Java.io.BufferedInputStream;import Java.io.File;import Java.io.FileInput
How can I submit the txt and doc files to textarea? How can I submit the txt and doc files to textarea? There are txt and doc files, and then you want to create a button on the page. click this button to select the txt or doc file and read the contents of these files into textarea, how can I write this code when textar
I haven't been studying c ++ for a long time. I went to the forum yesterday and encountered such a question. I found the relevant content on the Internet.
My experience is summarized.
First, create a win32 console program. Be sure to select the support for MFC option.
Select View> Class Wizard, click Add Class, select Import from Type Library, and open MSWORD. OLB in the installation directory of Office. The following dialog box is displayed:
Import four classes: _ Application, Documents, _ Do
How to not generate. to download the DOC file, extract the database content and download it. do not generate the DOC file on the server, you can only directly generate a file in the cache when you click it and download the generated file now. I have already done this. I just don't know how to directly click download without generating the file. ------ solution ---------------- In after the HEADER is configu
How to not generate. to download the DOC file, extract the database content and download it. do not generate the DOC file on the server, you only need to generate a file in the cache when you click it and download the generated file. I have already done so, but I do not know how to directly click download without generating the file, after the HEADER is configured, how can I not generate the HEADER. provide
Originally wanted to convert the ref file directly into an HTML file, but due to garbled problems can not be solved, so chose a compromise method, first convert RTF to Doc document, and then use the Hwpfdocument class to convert the doc file to an HTML file1. Download OpenOffice installed on the computer that needs to be converted to the instrument: Http://rj.baidu.com/soft/detail/15989.html?ald2, add jar p
For Android, open the source code for parsing files in doc, docx, xls, xlsx, and ppt formats.
You can directly copy the experiment,Parse doc to tm-extractors-0.4.jar this packageParse the xls and use the jxl. jar package.
import java.io.File;import java.io.FileInputStream;import java.io.FileNotFoundException;import java.io.FileOutputStream;import java.io.IOException;import java.io.InputStream;import java.n
Although most people are currently working to support the domestic WPS, but still have a lot of friends will be more habitual use of Microsoft's classic Office Tools--word. But copyright issues, it is estimated that many people are looking for a variety of word online processing tools, Word online editor, word online editing plug-ins and so on.
Recently, Baidu has belatedly launched the Baidu doc such a project, is generally able to meet the n
Reading doc files on Android requires a third-party Jar pack Tm-extractors-0.4.jar, and the reading process is simple
As with normal file flow operations, write a simple example below:
Package com.word.read;
Import Java.io.File;
Import Java.io.FileInputStream;
Import java.io.FileNotFoundException;
Import Org.textmining.text.extraction.WordExtractor;
Import android.app.Activity;
Import Android.os.Bundle;
Import android.os
inv_move_order_pub. Process_move_order API [Video]?
note.729392.1
how to Create reservations for Items Using inv_reservation_pub. Create_reservation API [Video]?
note.729410.1
how to relieve reservations for Items Using inv_reservation_pub. Relieve_reservation API [Video]?
note.729416.1
how to Update reservations for Items Using inv_reservation_pub. Update_reservation API [Video]?
note.783521.1
how to Alloca
,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t";$alphas =explode (",", $alphas _str);$sheet = $objPHPExcel->setactivesheetindex (0);$i = 0;Print_r ($keys);d ie ();foreach ($keys as $key){$alp = $alphas [$i];// Die ($alp); if ($isFirstTitle) $cell = $key;Else$cell = $line [$key];$sheet->setcellvalue ($alp. $lineNum, $cell);$i + +;}}1.6. process details for Excel export - - Export Data Export data basic and Export header API has been, but the data cell value is different, the table header method is to take
Hosts is a system file without an extension. It can be opened using notepad and other tools. Its function is to associate some common website domain names with their corresponding IP addresses to a "Database ", when a user enters a URL in the browser to log on to, the system will first automatically find the corresponding IP address from the Hosts file. Once found, the system will immediately open the corresponding webpage. If not found, the system then submits the website address to the DNS dom
Compare OOo, WPS, yongzhong, and the standard office software's support for doc-Linux general technology-Linux technology and application information. The following is a detailed description. My system is Hongqi 6.2
OOo comes with the red-flag system.
WPS is rarely provided in the forum. for linux 2005, after the installation, I checked a bunch of dll and several exe files. I will not explain it.
Yongzhong is 5 on the official website
The bid is
parameters, the default is to empty the animation queue, which is similar to stop (true), but stop () can only empty the animation queue, which clears all queues created by. Queue ()Plug-in mechanism$.fn.extend (object)Extend the JQuery element set to provide new methods (usually used to make plugins)ParametersObjectUsed to augment JQuery objects$.fn.extend Creating an JQ objectJQuery.fn.extend ({Property is check example $.checkCheck:function () {Return This.each (function () {this.checked = t
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.