Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
web-apps
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
web-apps
Commits
05d813e9
Commit
05d813e9
authored
Feb 22, 2017
by
Julia Radzhabova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[DE] Fix Bug 34140.
parent
aceb1fed
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
apps/documenteditor/main/app/view/NoteSettingsDialog.js
apps/documenteditor/main/app/view/NoteSettingsDialog.js
+9
-9
No files found.
apps/documenteditor/main/app/view/NoteSettingsDialog.js
View file @
05d813e9
...
...
@@ -161,11 +161,11 @@ define([
menuStyle
:
'
min-width: 150px;
'
,
editable
:
false
,
data
:
[
{
displayValue
:
'
1, 2, 3,...
'
,
value
:
c_oAscNumberingFormat
.
Decimal
,
maskExp
:
/
[
0-9
]
/
,
defValue
:
1
},
{
displayValue
:
'
a, b, c,...
'
,
value
:
c_oAscNumberingFormat
.
LowerLetter
,
maskExp
:
/
[
a-z
]
/
,
defValue
:
'
a
'
},
{
displayValue
:
'
A, B, C,...
'
,
value
:
c_oAscNumberingFormat
.
UpperLetter
,
maskExp
:
/
[
A-Z
]
/
,
defValue
:
'
A
'
},
{
displayValue
:
'
i, ii, iii,...
'
,
value
:
c_oAscNumberingFormat
.
LowerRoman
,
maskExp
:
/
[
ivxlcdm
]
/
,
defValue
:
'
i
'
},
{
displayValue
:
'
I, II, III,...
'
,
value
:
c_oAscNumberingFormat
.
UpperRoman
,
maskExp
:
/
[
IVXLCDM
]
/
,
defValue
:
'
I
'
}
{
displayValue
:
'
1, 2, 3,...
'
,
value
:
Asc
.
c_oAscNumberingFormat
.
Decimal
,
maskExp
:
/
[
0-9
]
/
,
defValue
:
1
},
{
displayValue
:
'
a, b, c,...
'
,
value
:
Asc
.
c_oAscNumberingFormat
.
LowerLetter
,
maskExp
:
/
[
a-z
]
/
,
defValue
:
'
a
'
},
{
displayValue
:
'
A, B, C,...
'
,
value
:
Asc
.
c_oAscNumberingFormat
.
UpperLetter
,
maskExp
:
/
[
A-Z
]
/
,
defValue
:
'
A
'
},
{
displayValue
:
'
i, ii, iii,...
'
,
value
:
Asc
.
c_oAscNumberingFormat
.
LowerRoman
,
maskExp
:
/
[
ivxlcdm
]
/
,
defValue
:
'
i
'
},
{
displayValue
:
'
I, II, III,...
'
,
value
:
Asc
.
c_oAscNumberingFormat
.
UpperRoman
,
maskExp
:
/
[
IVXLCDM
]
/
,
defValue
:
'
I
'
}
]
});
this
.
cmbFormat
.
setValue
(
this
.
FormatType
);
...
...
@@ -291,19 +291,19 @@ define([
var
me
=
this
;
switch
(
record
.
value
)
{
case
c_oAscNumberingFormat
.
UpperRoman
:
// I, II, III, ...
case
Asc
.
c_oAscNumberingFormat
.
UpperRoman
:
// I, II, III, ...
this
.
spnStart
.
options
.
toCustomFormat
=
this
.
_10toRome
;
this
.
spnStart
.
options
.
fromCustomFormat
=
this
.
_Rometo10
;
break
;
case
c_oAscNumberingFormat
.
LowerRoman
:
// i, ii, iii, ...
case
Asc
.
c_oAscNumberingFormat
.
LowerRoman
:
// i, ii, iii, ...
this
.
spnStart
.
options
.
toCustomFormat
=
function
(
value
)
{
return
me
.
_10toRome
(
value
).
toLocaleLowerCase
();
};
this
.
spnStart
.
options
.
fromCustomFormat
=
function
(
value
)
{
return
me
.
_Rometo10
(
value
.
toLocaleUpperCase
());
};
break
;
case
c_oAscNumberingFormat
.
UpperLetter
:
// A, B, C, ...
case
Asc
.
c_oAscNumberingFormat
.
UpperLetter
:
// A, B, C, ...
this
.
spnStart
.
options
.
toCustomFormat
=
this
.
_10toS
;
this
.
spnStart
.
options
.
fromCustomFormat
=
this
.
_Sto10
;
break
;
case
c_oAscNumberingFormat
.
LowerLetter
:
// a, b, c, ...
case
Asc
.
c_oAscNumberingFormat
.
LowerLetter
:
// a, b, c, ...
this
.
spnStart
.
options
.
toCustomFormat
=
function
(
value
)
{
return
me
.
_10toS
(
value
).
toLocaleLowerCase
();
};
this
.
spnStart
.
options
.
fromCustomFormat
=
function
(
value
)
{
return
me
.
_Sto10
(
value
.
toLocaleUpperCase
());
};
break
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment