| | |
| | | <fork>true</fork> |
| | | <mainClass>com.doumee.CompanyApplication</mainClass> |
| | | <layout>ZIP</layout> |
| | | <includeSystemScope>true</includeSystemScope> |
| | | </configuration> |
| | | <executions> |
| | | <execution> |
| | |
| | | <fork>true</fork> |
| | | <mainClass>com.doumee.PlatformApplication</mainClass> |
| | | <layout>ZIP</layout> |
| | | <includeSystemScope>true</includeSystemScope> |
| | | </configuration> |
| | | <executions> |
| | | <execution> |
| | |
| | | </dependency> |
| | | |
| | | <!--jacob依赖--> |
| | | <dependency> |
| | | <groupId>com.jacob</groupId> |
| | | <artifactId>jacob</artifactId> |
| | | <version>1.19</version> |
| | | <scope>system</scope> |
| | | <!--本地的jacob.jar的路径--> |
| | | <systemPath>${project.basedir}/src/lib/jacob.jar</systemPath> |
| | | </dependency> |
| | | </dependencies> |
| | | <properties> |
| | | <maven.compiler.source>8</maven.compiler.source> |
| | |
| | | // 获取页面设置 |
| | | Dispatch pageSetup = Dispatch.get(currentSheet, "PageSetup") .toDispatch(); |
| | | Dispatch.put(pageSetup, "Orientation", new Variant(2)); |
| | | Dispatch.put(pageSetup, "FitToPagesTall", new Variant(false)); |
| | | Dispatch.put(pageSetup, "FitToPagesWide", new Variant(false)); |
| | | Dispatch.put(pageSetup, "FitToPagesTall", new Variant(0)); |
| | | Dispatch.put(pageSetup, "FitToPagesWide", new Variant(1)); |
| | | // 获取页面设置 |
| | | // Dispatch.put(pageSetup, "PaperSize", pageSize); |
| | | // 内容缩放 |
| | |
| | | <fork>true</fork> |
| | | <mainClass>com.doumee.ShopApplication</mainClass> |
| | | <layout>ZIP</layout> |
| | | <includeSystemScope>true</includeSystemScope> |
| | | </configuration> |
| | | <executions> |
| | | <execution> |