Bugfix
This commit is contained in:
parent
ad7febac11
commit
f810750b0c
3 changed files with 11 additions and 7 deletions
|
@ -1,6 +1,6 @@
|
|||
<?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="Validation" script:language="StarBasic">Sub markZZZ
|
||||
<script:module xmlns:script="http://openoffice.org/2000/script" script:name="Validation" script:language="StarBasic">Sub markZZZX
|
||||
|
||||
End Sub
|
||||
|
||||
|
@ -89,11 +89,15 @@ Private Function checkGraphics
|
|||
drawingN = drawingN + 1
|
||||
EndIf
|
||||
If InStr(shapeType,"FrameShape") = 1 Then
|
||||
embeededObject = draw.getEmbeddedObject()
|
||||
If Not embeededObject.supportsService("com.sun.star.formula.FormulaProperties") Then
|
||||
badFrame = badFrame + 1
|
||||
Else
|
||||
'Formula
|
||||
' Globalscope.BasicLibraries.LoadLibrary( "MRILib" )
|
||||
' MRI draw
|
||||
If draw.supportsService("com.sun.star.text.TextEmbeddedObject") Then
|
||||
embeededObject = draw.getEmbeddedObject()
|
||||
If Not embeededObject.supportsService("com.sun.star.formula.FormulaProperties") Then
|
||||
badFrame = badFrame + 1
|
||||
Else
|
||||
'Formula
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
Next i
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
xmlns:dep="http://openoffice.org/extensions/description/2006"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<identifier value="pro.litvinovg.Redaction" />
|
||||
<version value="0.2.1" />
|
||||
<version value="0.2.2" />
|
||||
<platform value="all" />
|
||||
<display-name>
|
||||
<name lang="en">Redaction for publishing in Institute of philosophy</name>
|
||||
|
|
BIN
redaction.oxt
BIN
redaction.oxt
Binary file not shown.
Loading…
Add table
Reference in a new issue