Only for writer documents
This commit is contained in:
parent
b4f564676a
commit
fd046e8ebf
2 changed files with 4 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<description xmlns="http://openoffice.org/extensions/description/2006" xmlns:dep="http://openoffice.org/extensions/description/2006" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<identifier value="pro.litvinovg.libreoffice.docsettings"/>
|
||||
<version value="0.0.2"/>
|
||||
<version value="0.0.3"/>
|
||||
<platform value="all"/>
|
||||
<display-name>
|
||||
<name lang="ru">Исправление свойств документов</name>
|
||||
|
|
|
@ -6,7 +6,9 @@
|
|||
If fixCompatibilityOption Then
|
||||
Dim oDocSettings As Object
|
||||
oDocSettings = ThisComponent.createInstance( "com.sun.star.document.Settings" )
|
||||
oDocSettings.setPropertyValue("AddParaSpacingToTableCells", false)
|
||||
If oDocSettings.supportsService("com.sun.star.text.DocumentSettings") Then
|
||||
oDocSettings.setPropertyValue("AddParaSpacingToTableCells", false)
|
||||
EndIf
|
||||
EndIf
|
||||
End Sub
|
||||
</script:module>
|
Loading…
Add table
Reference in a new issue