Added greek extended conversion to Tinos, extended latin and letter-like symbols to base font.
This commit is contained in:
parent
ef9c8d8fff
commit
ffbca8cc0a
3 changed files with 8 additions and 4 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 mark3
|
||||
<script:module xmlns:script="http://openoffice.org/2000/script" script:name="Clean" script:language="StarBasic">Sub mark4
|
||||
|
||||
End Sub
|
||||
|
||||
|
@ -55,12 +55,13 @@ Private Sub unicodeSymbolsConversion
|
|||
RAtts(0).Value = newFontName
|
||||
RAtts(1).Value = newFontName
|
||||
RAtts(2).Value = newFontName
|
||||
'Letterlike Symbols 2100—214F
|
||||
'Extended latin-1 0080—00FF
|
||||
'Cyrillic unicode block range \u0400-\u04FF
|
||||
'Basic Latin \u0020-\u007E
|
||||
'Combining diacritical marks 0301 0304 0323 032e 0331 035f
|
||||
'General Punctuation \u2000-\u206f
|
||||
unicodeConversionEverywhere("[\u0400-\u04FF,\u0020-\u007E,\u2000-\u206f,\u0301,\u0304,\u0323,\u032e,\u0331,\u035f]+",RAtts)
|
||||
|
||||
unicodeConversionEverywhere("[\u2100-\u214F,\u0080-\u00FF,\u0400-\u04FF,\u0020-\u007E,\u2000-\u206f,\u0301,\u0304,\u0323,\u032e,\u0331,\u035f]+",RAtts)
|
||||
'Arabic Scheherazade
|
||||
newFontName = "Scheherazade"
|
||||
RAtts(0).Value = newFontName
|
||||
|
@ -75,6 +76,8 @@ Private Sub unicodeSymbolsConversion
|
|||
RAtts(2).Value = newFontName
|
||||
'Greek and Coptic
|
||||
unicodeConversionEverywhere("[\u0370-\u03FF]+",RAtts)
|
||||
'Greek extended
|
||||
unicodeConversionEverywhere("[\u1F00-\u1FFF]+",RAtts)
|
||||
'DejaVu Sans Mathematical operators
|
||||
newFontName = "DejaVu Sans"
|
||||
RAtts(0).Value = newFontName
|
||||
|
|
|
@ -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.3.6" />
|
||||
<version value="0.3.7" />
|
||||
<platform value="all" />
|
||||
<display-name>
|
||||
<name lang="en">Cleaning and validation documents for publishing in html and epub with pagination</name>
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
0.3.7 Added greek extended conversion to Tinos, extended latin and letter-like symbols to base font
|
||||
0.3.6 Added check for null EmbeededObject (13.01.2019)
|
||||
0.0.1 (18.10.2019)
|
||||
initial release
|
||||
|
|
Loading…
Add table
Reference in a new issue