質問編集履歴

1

PDF作成のロジックを追加いたしました。

2018/12/15 06:38

投稿

aallaall88
aallaall88

スコア20

test CHANGED
File without changes
test CHANGED
@@ -24,11 +24,35 @@
24
24
 
25
25
  objSheet1 = objSheets.getByIndex(objSheets.getCount() - 1)
26
26
 
27
+
28
+
29
+
30
+
31
+ 'PDFの作成
32
+
33
+ args(0) = New Object
34
+
35
+ args(0) = objServiceManager.Bridge_GetStruct("com.sun.star.beans.PropertyValue")
36
+
37
+ args(0).Name = "FilterName"
38
+
39
+ args(0).Value = "writer_pdf_Export"
40
+
41
+ objNewDocument = objDocument.storeToURL("file:///" & CopyFile, args)
42
+
43
+
44
+
45
+ 'PDFオープン
46
+
47
+ System.Diagnostics.Process.Start(CopyFile)
48
+
27
49
  ```
28
50
 
29
51
 
30
52
 
31
53
  上記のようにコピーをしておりますが、誤りがあるでしょうか。
54
+
55
+ 追記:PDFの作成ロジックを追加いたしました。
32
56
 
33
57
 
34
58