Search for formatting in text with styles

This commit is contained in:
Georgy Litvinov 2020-06-25 11:50:45 +02:00
parent 6c8186d552
commit f4b6801a94
3 changed files with 4 additions and 3 deletions

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE script:module PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "module.dtd"> <!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 mark55 <script:module xmlns:script="http://openoffice.org/2000/script" script:name="Clean" script:language="StarBasic">Sub mark56
End Sub End Sub
@ -1382,7 +1382,7 @@ Private Sub convertFormatToUserFields(identifier As String, styleNames, styleVal
SDesc.SearchAll = true SDesc.SearchAll = true
SDesc.SearchRegularExpression = true SDesc.SearchRegularExpression = true
SDesc.SearchString = &quot;&quot; SDesc.SearchString = &quot;&quot;
SDesc.searchStyles = false SDesc.searchStyles = true
SDesc.SetSearchAttributes(SrchAttributes) SDesc.SetSearchAttributes(SrchAttributes)
found = Thiscomponent.findFirst(SDesc) found = Thiscomponent.findFirst(SDesc)
i = 0 i = 0

View file

@ -3,7 +3,7 @@
xmlns:dep="http://openoffice.org/extensions/description/2006" xmlns:dep="http://openoffice.org/extensions/description/2006"
xmlns:xlink="http://www.w3.org/1999/xlink"> xmlns:xlink="http://www.w3.org/1999/xlink">
<identifier value="pro.litvinovg.Redaction" /> <identifier value="pro.litvinovg.Redaction" />
<version value="0.7.13" /> <version value="0.7.14" />
<platform value="all" /> <platform value="all" />
<display-name> <display-name>
<name lang="en">Cleaning and validation documents for publishing in html and epub with pagination</name> <name lang="en">Cleaning and validation documents for publishing in html and epub with pagination</name>

View file

@ -1,3 +1,4 @@
0.7.14 Search for formatting in styles
0.7.13 Added conversion to doc and back to odt to filter broken default paragraph style settings 0.7.13 Added conversion to doc and back to odt to filter broken default paragraph style settings
0.7.12 Transaltions update, fix for mistakes added 0.7.12 Transaltions update, fix for mistakes added
0.7.11 Serbian, Croatian, Bosnian translations added 0.7.11 Serbian, Croatian, Bosnian translations added