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
43cee9c3
Commit
43cee9c3
authored
Sep 29, 2016
by
ElenaSubbotina
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
RtfFormatWriter - fix locale hyperlink
parent
ba281922
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
ASCOfficeRtfFile/RtfFormatLib/source/Reader/OOXParagraphElementReaders.cpp
...RtfFormatLib/source/Reader/OOXParagraphElementReaders.cpp
+1
-1
ASCOfficeRtfFile/RtfFormatLib/source/RtfField.h
ASCOfficeRtfFile/RtfFormatLib/source/RtfField.h
+1
-1
No files found.
ASCOfficeRtfFile/RtfFormatLib/source/Reader/OOXParagraphElementReaders.cpp
View file @
43cee9c3
...
...
@@ -197,7 +197,7 @@ bool OOXParagraphReader::Parse2( ReaderParameter oParam , RtfParagraph& oOutputP
oCurField
->
m_oResult
=
TextItemContainerPtr
(
new
TextItemContainer
()
);
//добавляем insert
RtfCharPtr
oNewChar
(
new
RtfChar
()
);
oNewChar
->
m_bRtfEncode
=
false
;
oNewChar
->
m_bRtfEncode
=
true
;
//
false;
CString
sFieldText
;
sFieldText
+=
_T
(
"HYPERLINK
\"
"
)
+
sTarget
+
_T
(
"
\"
"
);
oNewChar
->
setText
(
sFieldText
);
...
...
ASCOfficeRtfFile/RtfFormatLib/source/RtfField.h
View file @
43cee9c3
...
...
@@ -207,7 +207,7 @@ public: CString RenderToRtf(RenderParameter oRenderParameter)
}
sResult
+=
_T
(
"{
\\
*
\\
fldinst "
);
RenderParameter
oNewParam
=
oRenderParameter
;
oNewParam
.
nType
=
RENDER_TO_RTF_PARAM_CHAR
;
oNewParam
.
nType
=
RENDER_TO_RTF_PARAM_
PLAIN
;
//RENDER_TO_RTF_PARAM_
CHAR;
oNewParam
.
nValue
=
RENDER_TO_RTF_PARAM_NO_PAR
;
sResult
+=
m_oInsert
->
RenderToRtf
(
oNewParam
);
...
...
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