Skip to content

Commit

Permalink
Fix bug #63683
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexeyMatveev686 authored and GoshaZotov committed Aug 28, 2023
1 parent 178b87f commit cec95e5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions common/editorscommon.js
Original file line number Diff line number Diff line change
Expand Up @@ -12559,6 +12559,9 @@
} else if (-1 !== value.indexOf("pc")) {
oType = "pc";
oVal *= AscCommonWord.g_dKoef_pc_to_mm;
} else if (-1 !== value.indexOf("em")) {
oType = "em";
oVal *= AscCommonWord.g_dKoef_em_to_mm;
} else {
oType = "none";
}
Expand Down
2 changes: 2 additions & 0 deletions word/Editor/Styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ var g_dKoef_emu_to_twips = g_dKoef_emu_to_mm * g_dKoef_mm_to_twips;
var g_dKoef_pt_to_twips = 20;
var g_dKoef_twips_to_emu = 1 / g_dKoef_emu_to_twips;
var g_dKoef_twips_to_pt = 1 / g_dKoef_pt_to_twips;
var g_dKoef_em_to_mm = 4.21752;

var tblwidth_Auto = 0x00;
var tblwidth_Mm = 0x01;
Expand Down Expand Up @@ -18295,6 +18296,7 @@ window["AscCommonWord"].g_dKoef_mm_to_pt = g_dKoef_mm_to_pt;
window["AscCommonWord"].g_dKoef_mm_to_emu = g_dKoef_mm_to_emu;
window["AscCommonWord"].g_dKoef_twips_to_pt = g_dKoef_twips_to_pt;
window["AscCommonWord"].g_dKoef_twips_to_emu = g_dKoef_twips_to_emu;
window["AscCommonWord"].g_dKoef_em_to_mm = g_dKoef_em_to_mm;
window["AscCommonWord"].g_dKoef_pt_to_twips = g_dKoef_pt_to_twips;
window["AscCommonWord"].border_Single = border_Single;
window["AscCommonWord"].Default_Tab_Stop = Default_Tab_Stop;
Expand Down

0 comments on commit cec95e5

Please sign in to comment.