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
152cd455
Commit
152cd455
authored
Apr 01, 2016
by
Julia Radzhabova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SSE] Отладка настроек печати.
parent
89e4aae0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
apps/spreadsheeteditor/main/app/controller/Print.js
apps/spreadsheeteditor/main/app/controller/Print.js
+7
-7
No files found.
apps/spreadsheeteditor/main/app/controller/Print.js
View file @
152cd455
...
@@ -107,13 +107,13 @@ define([
...
@@ -107,13 +107,13 @@ define([
if
(
item
)
panel
.
cmbPaperOrientation
.
setValue
(
item
.
get
(
'
value
'
));
if
(
item
)
panel
.
cmbPaperOrientation
.
setValue
(
item
.
get
(
'
value
'
));
opt
=
props
.
asc_getPageMargins
();
opt
=
props
.
asc_getPageMargins
();
panel
.
spnMarginLeft
.
setValue
(
Common
.
Utils
.
Metric
.
fnRecalcFromMM
(
opt
.
asc_getLeft
()));
panel
.
spnMarginLeft
.
setValue
(
Common
.
Utils
.
Metric
.
fnRecalcFromMM
(
opt
.
asc_getLeft
())
,
true
);
panel
.
spnMarginTop
.
setValue
(
Common
.
Utils
.
Metric
.
fnRecalcFromMM
(
opt
.
asc_getTop
()));
panel
.
spnMarginTop
.
setValue
(
Common
.
Utils
.
Metric
.
fnRecalcFromMM
(
opt
.
asc_getTop
())
,
true
);
panel
.
spnMarginRight
.
setValue
(
Common
.
Utils
.
Metric
.
fnRecalcFromMM
(
opt
.
asc_getRight
()));
panel
.
spnMarginRight
.
setValue
(
Common
.
Utils
.
Metric
.
fnRecalcFromMM
(
opt
.
asc_getRight
())
,
true
);
panel
.
spnMarginBottom
.
setValue
(
Common
.
Utils
.
Metric
.
fnRecalcFromMM
(
opt
.
asc_getBottom
()));
panel
.
spnMarginBottom
.
setValue
(
Common
.
Utils
.
Metric
.
fnRecalcFromMM
(
opt
.
asc_getBottom
())
,
true
);
panel
.
chPrintGrid
.
setValue
(
props
.
asc_getGridLines
());
panel
.
chPrintGrid
.
setValue
(
props
.
asc_getGridLines
()
,
true
);
panel
.
chPrintRows
.
setValue
(
props
.
asc_getHeadings
());
panel
.
chPrintRows
.
setValue
(
props
.
asc_getHeadings
()
,
true
);
},
},
fillPrintOptions
:
function
(
props
)
{
fillPrintOptions
:
function
(
props
)
{
...
@@ -149,7 +149,7 @@ define([
...
@@ -149,7 +149,7 @@ define([
var
value
=
panel
.
cmbLayout
.
getValue
();
var
value
=
panel
.
cmbLayout
.
getValue
();
opt
.
asc_setFitToWidth
(
value
==
1
||
value
==
2
);
opt
.
asc_setFitToWidth
(
value
==
1
||
value
==
2
);
opt
.
asc_
g
etFitToHeight
(
value
==
1
||
value
==
3
);
opt
.
asc_
s
etFitToHeight
(
value
==
1
||
value
==
3
);
props
.
asc_setPageSetup
(
opt
);
props
.
asc_setPageSetup
(
opt
);
...
...
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