Fix font report
This commit is contained in:
parent
435d010536
commit
291674982b
3 changed files with 15 additions and 10 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 markval12
|
||||
<script:module xmlns:script="http://openoffice.org/2000/script" script:name="Validation" script:language="StarBasic">Sub markval13
|
||||
|
||||
End Sub
|
||||
|
||||
|
@ -602,6 +602,7 @@ Function getODGFontNames() As Variant
|
|||
elementCount = page.getCount()
|
||||
For j = 0 To elementCount - 1
|
||||
element = page.getByIndex(j)
|
||||
If element.supportsService("com.sun.star.drawing.Text") Then
|
||||
elementText = element.getText()
|
||||
enum1 = elementText.createEnumeration()
|
||||
While enum1.hasMoreElements
|
||||
|
@ -619,6 +620,7 @@ Function getODGFontNames() As Variant
|
|||
Wend
|
||||
EndIf
|
||||
Wend
|
||||
EndIf
|
||||
Next j
|
||||
Next i
|
||||
getODGFontNames = fontNames
|
||||
|
@ -706,6 +708,7 @@ Function getCharsInFont(fontName As String) As String
|
|||
elementCount = page.getCount()
|
||||
For j = 0 To elementCount - 1
|
||||
element = page.getByIndex(j)
|
||||
If element.supportsService("com.sun.star.drawing.Text") Then
|
||||
elementText = element.getText()
|
||||
enum1 = elementText.createEnumeration()
|
||||
While enum1.hasMoreElements
|
||||
|
@ -727,6 +730,7 @@ Function getCharsInFont(fontName As String) As String
|
|||
Wend
|
||||
EndIf
|
||||
Wend
|
||||
EndIf
|
||||
Next j
|
||||
Next i
|
||||
resultString = ""
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
def releaseVersion = "0.9.2"
|
||||
def releaseVersion = "0.9.3"
|
||||
task oxt(type: Zip) {
|
||||
dependsOn = [ 'setVersion','setVersionInBasicCode' ]
|
||||
from './'
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
0.9.3 Fix for font report function
|
||||
0.9.2 Font report in Draw added
|
||||
0.8.6 Validation status indicator added
|
||||
0.8.4 Added check for headings in footers and headers
|
||||
|
|
Loading…
Add table
Reference in a new issue