Changeset 1592 for trunk/docx4j/src/main
- Timestamp:
- 07/08/11 01:29:48 (11 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/docx4j/src/main/java/org/docx4j/samples/OpenAndSaveRoundTripTest.java
r615 r1592 36 36 37 37 38 public class OpenAndSaveRoundTripTest {38 public class OpenAndSaveRoundTripTest extends AbstractSample { 39 39 40 40 public static JAXBContext context = org.docx4j.jaxb.Context.jc; … … 45 45 public static void main(String[] args) throws Exception { 46 46 47 //String inputfilepath = "/home/dev/workspace/docx4j/sample-docs/jpeg.docx"; 48 String inputfilepath = "/home/dev/simple-out.docx"; 49 //String inputfilepath = System.getProperty("user.dir") + "/sample-docs/AutoOpen.docm"; 50 47 try { 48 getInputFilePath(args); 49 } catch (IllegalArgumentException e) { 50 inputfilepath = System.getProperty("user.dir") + "/sample-docs/word/2010/2010-sample1.docx"; 51 } 52 System.out.println(inputfilepath); 53 51 54 boolean save = true; 52 String outputfilepath = "/home/dev/simple-out-rtt2.docx";55 String outputfilepath = System.getProperty("user.dir") + "/OUT-roundtrip.docx"; 53 56 54 57
Note: See TracChangeset
for help on using the changeset viewer.
