Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
onlyoffice_core
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
onlyoffice_core
Commits
3813be21
Commit
3813be21
authored
Oct 09, 2017
by
Oleg Korshul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
--all-fonts-path param
parent
68c8c0cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
DesktopEditor/doctrenderer/docbuilder_p.h
DesktopEditor/doctrenderer/docbuilder_p.h
+9
-1
No files found.
DesktopEditor/doctrenderer/docbuilder_p.h
View file @
3813be21
...
...
@@ -546,6 +546,7 @@ namespace NSDoctRenderer
std
::
wstring
m_strFilePath
;
std
::
wstring
m_strAllFonts
;
bool
m_bIsNotUseConfigAllFontsDir
;
std
::
wstring
m_sTmpFolder
;
std
::
wstring
m_sFileDir
;
...
...
@@ -585,6 +586,8 @@ namespace NSDoctRenderer
m_sGlobalVariable
=
""
;
m_bIsGlobalVariableUse
=
false
;
m_bIsNotUseConfigAllFontsDir
=
false
;
}
void
Init
()
...
...
@@ -634,7 +637,7 @@ namespace NSDoctRenderer
oNodes
.
GetAt
(
i
,
_node
);
std
::
wstring
strFilePath
=
_node
.
GetText
();
if
(
std
::
wstring
::
npos
!=
strFilePath
.
find
(
L"AllFonts.js"
))
if
(
std
::
wstring
::
npos
!=
strFilePath
.
find
(
L"AllFonts.js"
)
&&
!
m_bIsNotUseConfigAllFontsDir
)
{
m_strAllFonts
=
strFilePath
;
...
...
@@ -1717,6 +1720,11 @@ namespace NSDoctRenderer
m_pInternal
->
m_bIsCacheScript
=
(
std
::
wstring
(
value
)
==
L"true"
);
else
if
(
sParam
==
"--save-use-only-names"
)
m_pInternal
->
m_sFolderForSaveOnlyUseNames
=
std
::
wstring
(
value
);
else
if
(
sParam
==
"--all-fonts-path"
)
{
m_pInternal
->
m_strAllFonts
=
std
::
wstring
(
value
);
m_pInternal
->
m_bIsNotUseConfigAllFontsDir
=
true
;
}
else
if
(
sParam
==
"--argument"
)
{
std
::
wstring
sArg
(
value
);
...
...
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