diff --git a/Events.xcu b/Events.xcu new file mode 100644 index 0000000..2277a09 --- /dev/null +++ b/Events.xcu @@ -0,0 +1,12 @@ + + + + + + + vnd.sun.star.script:Standard.Module1.Main?language=Basic&location=application + + + + + diff --git a/META-INF/manifest.xml b/META-INF/manifest.xml index 1b9f359..417fa9f 100644 --- a/META-INF/manifest.xml +++ b/META-INF/manifest.xml @@ -2,5 +2,6 @@ + diff --git a/ePublishing/Events.xba b/ePublishing/Events.xba new file mode 100644 index 0000000..3bafeb3 --- /dev/null +++ b/ePublishing/Events.xba @@ -0,0 +1,12 @@ + + +Sub execOnDocumentLoad + Dim fixCompatibilityOption As Boolean + fixCompatibilityOption = true + If fixCompatibilityOption Then + Dim oDocSettings As Object + oDocSettings = ThisComponent.createInstance( "com.sun.star.document.Settings" ) + oDocSettings.setPropertyValue("AddParaSpacingToTableCells", false) + EndIf +End Sub + \ No newline at end of file diff --git a/ePublishing/script.xlb b/ePublishing/script.xlb index ea7d1b6..67b4031 100644 --- a/ePublishing/script.xlb +++ b/ePublishing/script.xlb @@ -11,4 +11,5 @@ + \ No newline at end of file