Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
814b7dd2
Kaydet (Commit)
814b7dd2
authored
Ock 29, 2001
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#80205# Default FormTextField Text import
üst
26a6d4e1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
3 deletions
+30
-3
ww8par3.cxx
sw/source/filter/ww8/ww8par3.cxx
+30
-3
No files found.
sw/source/filter/ww8/ww8par3.cxx
Dosyayı görüntüle @
814b7dd2
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
*
*
* $RCSfile: ww8par3.cxx,v $
* $RCSfile: ww8par3.cxx,v $
*
*
* $Revision: 1.
2
$
* $Revision: 1.
3
$
*
*
* last change: $Author: cmc $ $Date: 200
0-10-10 16:54:06
$
* last change: $Author: cmc $ $Date: 200
1-01-29 10:17:21
$
*
*
* The Contents of this file are made available subject to the terms of
* The Contents of this file are made available subject to the terms of
* either of the following licenses
* either of the following licenses
...
@@ -385,6 +385,30 @@ eF_ResT SwWW8ImplReader::Read_F_FormTextBox( WW8FieldDesc* pF, String& rStr )
...
@@ -385,6 +385,30 @@ eF_ResT SwWW8ImplReader::Read_F_FormTextBox( WW8FieldDesc* pF, String& rStr )
{
{
if
(
!
pFormImpl
)
if
(
!
pFormImpl
)
pFormImpl
=
new
SwMSConvertControls
(
rDoc
.
GetDocShell
(),
pPaM
);
pFormImpl
=
new
SwMSConvertControls
(
rDoc
.
GetDocShell
(),
pPaM
);
/*
Here we have a small complication. This formula control contains
the default text that is displayed if you edit the form field in
the "default text" area. But MSOffice does not display that
information, instead it display the result of the field,
MSOffice just uses the default text of the control as its
initial value for the displayed default text. So we will swap in
the field result into the formula here in place of the default
text.
*/
aFormula
.
sDefault
=
GetFieldResult
(
pF
);
/*
And also a blank TextBox is indicated by 5 of these
placeholder chars, convert a field result of this stuff
into an empty string.
*/
static
sal_Unicode
__READONLY_DATA
aFormTextBoxBlank
[]
=
{
0x2002
,
0x2002
,
0x2002
,
0x2002
,
0x2002
};
if
(
aFormula
.
sDefault
==
aFormTextBoxBlank
)
aFormula
.
sDefault
.
Erase
();
if
(
pFormImpl
->
InsertFormula
(
aFormula
))
if
(
pFormImpl
->
InsertFormula
(
aFormula
))
return
F_OK
;
return
F_OK
;
}
}
...
@@ -2085,12 +2109,15 @@ BOOL SwMSConvertControls::InsertControl(
...
@@ -2085,12 +2109,15 @@ BOOL SwMSConvertControls::InsertControl(
Source Code Control System - Header
Source Code Control System - Header
$Header: /zpool/svn/migration/cvs_rep_09_09_08/code/sw/source/filter/ww8/ww8par3.cxx,v 1.
2 2000-10-10 16:54:06
cmc Exp $
$Header: /zpool/svn/migration/cvs_rep_09_09_08/code/sw/source/filter/ww8/ww8par3.cxx,v 1.
3 2001-01-29 10:17:21
cmc Exp $
Source Code Control System - Update
Source Code Control System - Update
$Log: not supported by cvs2svn $
$Log: not supported by cvs2svn $
Revision 1.2 2000/10/10 16:54:06 cmc
MSOffice 97/2000 Controls {Im|Ex}port
Revision 1.1.1.1 2000/09/18 17:14:58 hr
Revision 1.1.1.1 2000/09/18 17:14:58 hr
initial import
initial import
...
...
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