Skip to content

Commit e4d9183

Browse files
committed
Merge pull request '[macos] fix bug 75302' (#327) from fix/fix-bugs into release/v9.0.0
Reviewed-on: https://git.onlyoffice.com/ONLYOFFICE/desktop-apps/pulls/327
2 parents 143bc2c + 5b3ae20 commit e4d9183

File tree

3 files changed

+304
-1
lines changed

3 files changed

+304
-1
lines changed

macos/ONLYOFFICE/Code/Controllers/Common/ASCCommonViewController.mm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1617,9 +1617,10 @@ - (void)onCEFEditorDocumentReady:(NSNotification *)notification {
16171617
int cefViewId = [viewId intValue];
16181618
CCefView * cef = appManager->GetViewById(cefViewId);
16191619
if (cef && cef->GetType() == cvwtEditor) {
1620+
NSString * def_printer_name = arr[0][@"name"];
16201621
NSMutableDictionary * json = [[NSMutableDictionary alloc] initWithDictionary:
16211622
@{
1622-
@"current_printer": arr[0],
1623+
@"current_printer": def_printer_name,
16231624
@"printers": arr
16241625
}];
16251626

Lines changed: 151 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,151 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8">
5+
<title>ONLYOFFICE Release Notes</title>
6+
<style type="text/css">
7+
/* variables */
8+
:root {
9+
--color-black: #141923;
10+
--color-white: #fff;
11+
--color-gray-100: #f7fafc;
12+
--color-gray-200: #edf2f7;
13+
--color-gray-300: #e2e8f0;
14+
--color-gray-400: #cbd5e0;
15+
--color-gray-500: #a0aec0;
16+
--color-gray-600: #718096;
17+
--color-gray-700: #4a5568;
18+
--color-gray-800: #2d3748;
19+
--color-gray-900: #1a202c;
20+
}
21+
body {
22+
background: var(--color-white);
23+
color: var(--color-gray-800);
24+
font: 12px "Lucida Grande", "Lucida Sans Unicode", Verdana, Lucida, Helvetica, sans-serif;
25+
}
26+
h1, h2, h3 {
27+
color: var(--color-gray-800);
28+
font-weight: normal;
29+
font-style: normal;
30+
}
31+
h1 {
32+
font-size: 1.7em;
33+
}
34+
h2 {
35+
font-size: 1.4em;
36+
font-weight: lighter;
37+
}
38+
h4 {
39+
font-size: 1.2em;
40+
font-weight: lighter;
41+
}
42+
code {
43+
background: var(--color-gray-200);
44+
font-family: monospace;
45+
padding: 1px 5px;
46+
}
47+
ul {
48+
padding: 8.1.0 20px;
49+
}
50+
li {
51+
margin-left: 20px;
52+
margin-bottom: 0.2em;
53+
padding: 0;
54+
}
55+
hr {
56+
margin: 20px 0;
57+
border: var(--color-gray-400) solid 0.5px;
58+
}
59+
.releasedate {
60+
color: var(--color-gray-600);
61+
font-weight: lighter;
62+
}
63+
64+
/* prefers light mode */
65+
@media (prefers-color-scheme: dark) {
66+
body {
67+
background: var(--color-gray-900);
68+
color: var(--color-gray-200);
69+
}
70+
71+
h1, h2, h3 {
72+
color: var(--color-white);
73+
}
74+
75+
code {
76+
background: var(--color-gray-800);
77+
color: var(--color-gray-200);
78+
}
79+
80+
.releasedate {
81+
color: var(--color-gray-600);
82+
}
83+
}
84+
</style>
85+
</head>
86+
<body>
87+
<div class="version">
88+
<h1>ONLYOFFICE 9.0.0<span class="releasedate"> - {{DATE}}</span></h1>
89+
90+
<h2>New Features</h2>
91+
92+
<h4>All Editors</h4>
93+
<ul>
94+
<li>Redesigned interface of the main application window</li>
95+
<li>Merged local and cloud template lists into a unified view</li>
96+
<li>The list of templates is now processed on the client side, not on the server</li>
97+
<li>The installed system languages are now displayed at the top of the text/document/dictionary list</li>
98+
<li>Added a contrast-reducing effect for control buttons in inactive windows</li>
99+
<li>Added the option to select a printer in the print preview menu</li>
100+
<li>The <code>Print using the system dialog</code> option has been added to the print preview menu</li>
101+
<li>Added new interface themes: Modern Light and Modern Dark</li>
102+
<li>Added saving of the last selected languages in spellcheck lists</li>
103+
<li>Added Arabic spellcheck dictionary used in sixteen dialects</li>
104+
<li>Added AI-powered macro generation from descriptions and VBA-to-JavaScript conversion</li>
105+
<li>Added the interface translation into Urdu (ur-PK, Urdu (Pakistan))</li>
106+
<li>Added support for TextArt text settings inside chart labels</li>
107+
<li>Added support for drawing the Up/Down Bars chart elements</li>
108+
</ul>
109+
<h4>Document Editor</h4>
110+
<ul>
111+
<li>Added correct display of previews for paragraph numbers for RTL</li>
112+
<li>Improved positioning and settings of TextArt for RTL</li>
113+
<li>Improved drawing of borders and fill for paragraphs with RTL direction</li>
114+
<li>Enabled accurate cursor navigation with arrow keys based on the paragraph's text direction</li>
115+
<li>Added the ability to display numbers using Hindi digits</li>
116+
<li>Added a setting in the File menu for selecting the preferred font size: Western/Chinese for the Chinese interface language (Chinese (Simplified))</li>
117+
<li>Added a Borders button to the Home toolbar to quickly set paragraph settings</li>
118+
<li>Added support for the <code>MD</code> format for reading</li>
119+
</ul>
120+
<h4>Spreadsheet Editor</h4>
121+
<ul>
122+
<li>Added support for displaying bidirectional text</li>
123+
<li>Added the ability to select external data from another spreadsheet</li>
124+
</ul>
125+
<h4>Presentation Editor</h4>
126+
<ul>
127+
<li>Added the ability to set the paragraph direction (Text Direction > RTL) on the toolbar and in the advanced settings</li>
128+
<li>Added the ability to view animations with text</li>
129+
<li>Added the "Preserve" option to the Slide Master context menu</li>
130+
</ul>
131+
<h4>Forms</h4>
132+
<ul>
133+
<li>Changed the appearance of the Signature and Image fields: the placeholder and signature icon are now always displayed</li>
134+
<li>Improved user experience when filling in the Signature and Image fields</li>
135+
<li>Added a new "type": "signature" for the Signature field, used in the process of filling out forms</li>
136+
</ul>
137+
<h4>PDF Editor</h4>
138+
<ul>
139+
<li>Added the ability to set RTL direction for text</li>
140+
<li>The Edit Text option is available in the Community Edition build</li>
141+
<li>Implemented a <code>PDF</code> form editor</li>
142+
<li>Added copying pages between <code>PDF</code> files</li>
143+
</ul>
144+
<h4>Diagrams</h4>
145+
<ul>
146+
<li>Release of the first version of the Diagram Viewer with the ability to open <code>VSD</code> and <code>VSDX</code></li>
147+
</ul>
148+
149+
</div>
150+
</body>
151+
</html>
Lines changed: 151 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,151 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8">
5+
<title>История изменений ONLYOFFICE</title>
6+
<style type="text/css">
7+
/* variables */
8+
:root {
9+
--color-black: #141923;
10+
--color-white: #fff;
11+
--color-gray-100: #f7fafc;
12+
--color-gray-200: #edf2f7;
13+
--color-gray-300: #e2e8f0;
14+
--color-gray-400: #cbd5e0;
15+
--color-gray-500: #a0aec0;
16+
--color-gray-600: #718096;
17+
--color-gray-700: #4a5568;
18+
--color-gray-800: #2d3748;
19+
--color-gray-900: #1a202c;
20+
}
21+
body {
22+
background: var(--color-white);
23+
color: var(--color-gray-800);
24+
font: 12px "Lucida Grande", "Lucida Sans Unicode", Verdana, Lucida, Helvetica, sans-serif;
25+
}
26+
h1, h2, h3 {
27+
color: var(--color-gray-800);
28+
font-weight: normal;
29+
font-style: normal;
30+
}
31+
h1 {
32+
font-size: 1.7em;
33+
}
34+
h2 {
35+
font-size: 1.4em;
36+
font-weight: lighter;
37+
}
38+
h4 {
39+
font-size: 1.2em;
40+
font-weight: lighter;
41+
}
42+
code {
43+
background: var(--color-gray-200);
44+
font-family: monospace;
45+
padding: 1px 5px;
46+
}
47+
ul {
48+
padding: 8.1.0 20px;
49+
}
50+
li {
51+
margin-left: 20px;
52+
margin-bottom: 0.2em;
53+
padding: 0;
54+
}
55+
hr {
56+
margin: 20px 0;
57+
border: var(--color-gray-400) solid 0.5px;
58+
}
59+
.releasedate {
60+
color: var(--color-gray-600);
61+
font-weight: lighter;
62+
}
63+
64+
/* prefers light mode */
65+
@media (prefers-color-scheme: dark) {
66+
body {
67+
background: var(--color-gray-900);
68+
color: var(--color-gray-200);
69+
}
70+
71+
h1, h2, h3 {
72+
color: var(--color-white);
73+
}
74+
75+
code {
76+
background: var(--color-gray-800);
77+
color: var(--color-gray-200);
78+
}
79+
80+
.releasedate {
81+
color: var(--color-gray-600);
82+
}
83+
}
84+
</style>
85+
</head>
86+
<body>
87+
<div class="version">
88+
<h1>ONLYOFFICE 9.0.0<span class="releasedate"> - {{DATE}}</span></h1>
89+
90+
<h2>New Features</h2>
91+
92+
<h4>All Editors</h4>
93+
<ul>
94+
<li>Redesigned interface of the main application window</li>
95+
<li>Merged local and cloud template lists into a unified view</li>
96+
<li>The list of templates is now processed on the client side, not on the server</li>
97+
<li>The installed system languages are now displayed at the top of the text/document/dictionary list</li>
98+
<li>Added a contrast-reducing effect for control buttons in inactive windows</li>
99+
<li>Added the option to select a printer in the print preview menu</li>
100+
<li>The <code>Print using the system dialog</code> option has been added to the print preview menu</li>
101+
<li>Added new interface themes: Modern Light and Modern Dark</li>
102+
<li>Added saving of the last selected languages in spellcheck lists</li>
103+
<li>Added Arabic spellcheck dictionary used in sixteen dialects</li>
104+
<li>Added AI-powered macro generation from descriptions and VBA-to-JavaScript conversion</li>
105+
<li>Added the interface translation into Urdu (ur-PK, Urdu (Pakistan))</li>
106+
<li>Added support for TextArt text settings inside chart labels</li>
107+
<li>Added support for drawing the Up/Down Bars chart elements</li>
108+
</ul>
109+
<h4>Document Editor</h4>
110+
<ul>
111+
<li>Added correct display of previews for paragraph numbers for RTL</li>
112+
<li>Improved positioning and settings of TextArt for RTL</li>
113+
<li>Improved drawing of borders and fill for paragraphs with RTL direction</li>
114+
<li>Enabled accurate cursor navigation with arrow keys based on the paragraph's text direction</li>
115+
<li>Added the ability to display numbers using Hindi digits</li>
116+
<li>Added a setting in the File menu for selecting the preferred font size: Western/Chinese for the Chinese interface language (Chinese (Simplified))</li>
117+
<li>Added a Borders button to the Home toolbar to quickly set paragraph settings</li>
118+
<li>Added support for the <code>MD</code> format for reading</li>
119+
</ul>
120+
<h4>Spreadsheet Editor</h4>
121+
<ul>
122+
<li>Added support for displaying bidirectional text</li>
123+
<li>Added the ability to select external data from another spreadsheet</li>
124+
</ul>
125+
<h4>Presentation Editor</h4>
126+
<ul>
127+
<li>Added the ability to set the paragraph direction (Text Direction > RTL) on the toolbar and in the advanced settings</li>
128+
<li>Added the ability to view animations with text</li>
129+
<li>Added the "Preserve" option to the Slide Master context menu</li>
130+
</ul>
131+
<h4>Forms</h4>
132+
<ul>
133+
<li>Changed the appearance of the Signature and Image fields: the placeholder and signature icon are now always displayed</li>
134+
<li>Improved user experience when filling in the Signature and Image fields</li>
135+
<li>Added a new "type": "signature" for the Signature field, used in the process of filling out forms</li>
136+
</ul>
137+
<h4>PDF Editor</h4>
138+
<ul>
139+
<li>Added the ability to set RTL direction for text</li>
140+
<li>The Edit Text option is available in the Community Edition build</li>
141+
<li>Implemented a <code>PDF</code> form editor</li>
142+
<li>Added copying pages between <code>PDF</code> files</li>
143+
</ul>
144+
<h4>Diagrams</h4>
145+
<ul>
146+
<li>Release of the first version of the Diagram Viewer with the ability to open <code>VSD</code> and <code>VSDX</code></li>
147+
</ul>
148+
149+
</div>
150+
</body>
151+
</html>

0 commit comments

Comments
 (0)