Added validation for headings in footnotes and endnotes.
This commit is contained in:
parent
4a9611ce1a
commit
ed6bb42085
4 changed files with 69 additions and 21 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="Clean" script:language="StarBasic">Sub mark60
|
||||
<script:module xmlns:script="http://openoffice.org/2000/script" script:name="Clean" script:language="StarBasic">Sub mark61
|
||||
|
||||
End Sub
|
||||
|
||||
|
@ -531,13 +531,13 @@ End Function
|
|||
|
||||
Private Sub removeHyperlinks()
|
||||
Dim aNote As Object
|
||||
Dim i As Long
|
||||
Dim x As Long
|
||||
removeHLInText(ThisComponent.Text)
|
||||
For i = 0 to ThisComponent.FootNotes.Count -1
|
||||
For x = 0 to ThisComponent.FootNotes.Count -1
|
||||
aNote = ThisComponent.FootNotes.getByIndex(x)
|
||||
removeHLInText(aNote.Text)
|
||||
Next
|
||||
For i = 0 to ThisComponent.EndNotes.Count -1
|
||||
For x = 0 to ThisComponent.EndNotes.Count -1
|
||||
aNote = ThisComponent.EndNotes.getByIndex(x)
|
||||
removeHLInText(aNote.Text)
|
||||
Next
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue