Added on document load event
This commit is contained in:
parent
8a99a25f43
commit
9a72d7d7e0
4 changed files with 26 additions and 0 deletions
12
ePublishing/Events.xba
Normal file
12
ePublishing/Events.xba
Normal file
|
@ -0,0 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE script:module PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "module.dtd">
|
||||
<script:module xmlns:script="http://openoffice.org/2000/script" script:name="Events" script:language="StarBasic" script:moduleType="normal">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
|
||||
</script:module>
|
|
@ -11,4 +11,5 @@
|
|||
<library:element library:name="MakeUp"/>
|
||||
<library:element library:name="PageStyles"/>
|
||||
<library:element library:name="Translations"/>
|
||||
<library:element library:name="Events"/>
|
||||
</library:library>
|
Loading…
Add table
Add a link
Reference in a new issue