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
4a68a5f3
Kaydet (Commit)
4a68a5f3
authored
Ock 13, 2012
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
return status never checked
üst
ccd71637
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
9 deletions
+8
-9
msdffimp.hxx
filter/inc/filter/msfilter/msdffimp.hxx
+1
-1
msdffimp.cxx
filter/source/msfilter/msdffimp.cxx
+7
-8
No files found.
filter/inc/filter/msfilter/msdffimp.hxx
Dosyayı görüntüle @
4a68a5f3
...
@@ -639,7 +639,7 @@ public:
...
@@ -639,7 +639,7 @@ public:
static
sal_Bool
MakeContentStream
(
SotStorage
*
pStor
,
const
GDIMetaFile
&
);
static
sal_Bool
MakeContentStream
(
SotStorage
*
pStor
,
const
GDIMetaFile
&
);
static
sal_Bool
ConvertToOle2
(
SvStream
&
rStm
,
sal_uInt32
nLen
,
const
GDIMetaFile
*
,
static
sal_Bool
ConvertToOle2
(
SvStream
&
rStm
,
sal_uInt32
nLen
,
const
GDIMetaFile
*
,
const
SotStorageRef
&
rDest
);
const
SotStorageRef
&
rDest
);
static
bool
ReadDffString
(
SvStream
&
rSt
,
String
&
rTx
t
,
DffRecordHeader
aStrHd
=
DffRecordHeader
());
static
rtl
::
OUString
ReadDffString
(
SvStream
&
rS
t
,
DffRecordHeader
aStrHd
=
DffRecordHeader
());
static
bool
ReadObjText
(
SvStream
&
rSt
,
SdrObject
*
pObj
);
static
bool
ReadObjText
(
SvStream
&
rSt
,
SdrObject
*
pObj
);
void
SetModel
(
SdrModel
*
pModel
,
long
nApplicationScale
);
void
SetModel
(
SdrModel
*
pModel
,
long
nApplicationScale
);
...
...
filter/source/msfilter/msdffimp.cxx
Dosyayı görüntüle @
4a68a5f3
...
@@ -3736,23 +3736,22 @@ Color SvxMSDffManager::MSO_CLR_ToColor( sal_uInt32 nColorCode, sal_uInt16 nConte
...
@@ -3736,23 +3736,22 @@ Color SvxMSDffManager::MSO_CLR_ToColor( sal_uInt32 nColorCode, sal_uInt16 nConte
return aColor;
return aColor;
}
}
bool SvxMSDffManager::ReadDffString(SvStream& rSt, String& rTx
t, DffRecordHeader aStrHd)
rtl::OUString SvxMSDffManager::ReadDffString(SvStream& rS
t, DffRecordHeader aStrHd)
{
{
bool bRet=sal_False
;
String aRet
;
if( aStrHd.nRecType == 0x0 && !ReadCommonRecordHeader(aStrHd, rSt) )
if( aStrHd.nRecType == 0x0 && !ReadCommonRecordHeader(aStrHd, rSt) )
rSt.Seek( aStrHd.nFilePos );
rSt.Seek( aStrHd.nFilePos );
else if ( aStrHd.nRecType == DFF_PST_TextBytesAtom || aStrHd.nRecType == DFF_PST_TextCharsAtom )
else if ( aStrHd.nRecType == DFF_PST_TextBytesAtom || aStrHd.nRecType == DFF_PST_TextCharsAtom )
{
{
bool bUniCode=aStrHd.nRecType==DFF_PST_TextCharsAtom;
bool bUniCode=aStrHd.nRecType==DFF_PST_TextCharsAtom;
bRet=sal_True;
sal_uLong nBytes = aStrHd.nRecLen;
sal_uLong nBytes = aStrHd.nRecLen;
MSDFFReadZString( rSt,
rTx
t, nBytes, bUniCode );
MSDFFReadZString( rSt,
aRe
t, nBytes, bUniCode );
if( !bUniCode )
if( !bUniCode )
{
{
for ( xub_StrLen n = 0; n < nBytes; n++ )
for ( xub_StrLen n = 0; n < nBytes; n++ )
{
{
if(
rTx
t.GetChar( n ) == 0x0B )
if(
aRe
t.GetChar( n ) == 0x0B )
rTx
t.SetChar( n, ' ' ); // Weicher Umbruch
aRe
t.SetChar( n, ' ' ); // Weicher Umbruch
// TODO: Zeilenumbruch im Absatz via Outliner setzen.
// TODO: Zeilenumbruch im Absatz via Outliner setzen.
}
}
}
}
...
@@ -3760,7 +3759,7 @@ bool SvxMSDffManager::ReadDffString(SvStream& rSt, String& rTxt, DffRecordHeader
...
@@ -3760,7 +3759,7 @@ bool SvxMSDffManager::ReadDffString(SvStream& rSt, String& rTxt, DffRecordHeader
}
}
else
else
aStrHd.SeekToBegOfRecord( rSt );
aStrHd.SeekToBegOfRecord( rSt );
return
b
Ret;
return
a
Ret;
}
}
// sj: I just want to set a string for a text object that may contain multiple
// sj: I just want to set a string for a text object that may contain multiple
...
@@ -3881,7 +3880,7 @@ bool SvxMSDffManager::ReadObjText(SvStream& rSt, SdrObject* pObj)
...
@@ -3881,7 +3880,7 @@ bool SvxMSDffManager::ReadObjText(SvStream& rSt, SdrObject* pObj)
//case TextSpecInfoAtom
//case TextSpecInfoAtom
case DFF_PST_TextBytesAtom:
case DFF_PST_TextBytesAtom:
case DFF_PST_TextCharsAtom:
case DFF_PST_TextCharsAtom:
ReadDffString(rSt, aTex
t, aHd);
aText = ReadDffString(rS
t, aHd);
break;
break;
case DFF_PST_TextRulerAtom :
case DFF_PST_TextRulerAtom :
{
{
...
...
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