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
b277d9a5
Kaydet (Commit)
b277d9a5
authored
Ara 10, 2011
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sw: tweak comment translations:
5aff8df5
and
ed870efe
üst
9f050aa7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
11 deletions
+14
-11
docdde.cxx
sw/source/core/doc/docdde.cxx
+2
-2
docdesc.cxx
sw/source/core/doc/docdesc.cxx
+12
-9
docedt.cxx
sw/source/core/doc/docedt.cxx
+0
-0
No files found.
sw/source/core/doc/docdde.cxx
Dosyayı görüntüle @
b277d9a5
...
...
@@ -301,7 +301,7 @@ sal_Bool SwDoc::SelectServerObj( const String& rStr, SwPaM*& rpPam,
const
CharClass
&
rCC
=
GetAppCharClass
();
// Extension for
areas: not only link bookmarks/area
s
// Extension for
sections: not only link bookmarks/section
s
// but also frames (text!), tables, outlines:
if
(
STRING_NOTFOUND
!=
nPos
)
{
...
...
@@ -356,7 +356,7 @@ sal_Bool SwDoc::SelectServerObj( const String& rStr, SwPaM*& rpPam,
rOutlNds
.
Seek_Entry
(
pNd
,
&
nTmpPos
);
rpRange
=
new
SwNodeRange
(
aPos
.
nNode
,
0
,
aPos
.
nNode
);
// look for the
area
's end, now
// look for the
section
's end, now
for
(
++
nTmpPos
;
nTmpPos
<
rOutlNds
.
Count
()
&&
nLvl
<
rOutlNds
[
nTmpPos
]
->
GetTxtNode
()
->
...
...
sw/source/core/doc/docdesc.cxx
Dosyayı görüntüle @
b277d9a5
...
...
@@ -212,7 +212,7 @@ void SwDoc::ChgPageDesc( sal_uInt16 i, const SwPageDesc &rChged )
if
(
rChged
.
GetNumType
().
GetNumberingType
()
!=
pDesc
->
GetNumType
().
GetNumberingType
()
)
{
pDesc
->
SetNumType
(
rChged
.
GetNumType
()
);
// Notify page number fields
,
that NumFormat has changed
// Notify page number fields that NumFormat has changed
GetSysFldType
(
RES_PAGENUMBERFLD
)
->
UpdateFlds
();
GetSysFldType
(
RES_REFPAGEGETFLD
)
->
UpdateFlds
();
...
...
@@ -251,7 +251,7 @@ void SwDoc::ChgPageDesc( sal_uInt16 i, const SwPageDesc &rChged )
pDesc
->
GetLeft
().
SetFmtAttr
(
pDesc
->
GetMaster
().
GetHeader
()
);
}
else
if
(
rHead
.
IsActive
()
)
{
// Left gets it
'
s own header if the Format doesn't alrady have one.
{
// Left gets its own header if the Format doesn't alrady have one.
// If it already has one and it points to the same Section as the
// Right one, it needs to get an own Header.
// The content is evidently copied.
...
...
@@ -275,8 +275,9 @@ void SwDoc::ChgPageDesc( sal_uInt16 i, const SwPageDesc &rChged )
SwFrmFmt
*
pFmt
=
new
SwFrmFmt
(
GetAttrPool
(),
"Header"
,
GetDfltFrmFmt
()
);
::
lcl_DescSetAttr
(
*
pRight
,
*
pFmt
,
sal_False
);
// The area which the right header attribute is pointing to is copied,
// and the Index to the StartNode is set to the left header attribute.
// The section which the right header attribute is pointing
// is copied, and the Index to the StartNode is set to
// the left header attribute.
SwNodeIndex
aTmp
(
GetNodes
().
GetEndOfAutotext
()
);
SwStartNode
*
pSttNd
=
GetNodes
().
MakeEmptySection
(
aTmp
,
SwHeaderStartNode
);
SwNodeRange
aRange
(
aRCnt
.
GetCntntIdx
()
->
GetNode
(),
0
,
...
...
@@ -311,7 +312,7 @@ void SwDoc::ChgPageDesc( sal_uInt16 i, const SwPageDesc &rChged )
// Left shares the Header with the Master.
pDesc
->
GetLeft
().
SetFmtAttr
(
pDesc
->
GetMaster
().
GetFooter
()
);
else
if
(
rFoot
.
IsActive
()
)
{
// Left gets it
'
s own Footer if the Format does not already have one.
{
// Left gets its own Footer if the Format does not already have one.
// If the Format already has a Footer and it points to the same section as the Right one,
// it needs to get an own one.
// The content is evidently copied.
...
...
@@ -335,8 +336,9 @@ void SwDoc::ChgPageDesc( sal_uInt16 i, const SwPageDesc &rChged )
SwFrmFmt
*
pFmt
=
new
SwFrmFmt
(
GetAttrPool
(),
"Footer"
,
GetDfltFrmFmt
()
);
::
lcl_DescSetAttr
(
*
pRight
,
*
pFmt
,
sal_False
);
// The Area to which the right header attribute is pointing to is being copied
// and the Index to the StartNode is set to the left header attribute.
// The section to which the right footer attribute is pointing
// is copied, and the Index to the StartNode is set to
// the left footer attribute.
SwNodeIndex
aTmp
(
GetNodes
().
GetEndOfAutotext
()
);
SwStartNode
*
pSttNd
=
GetNodes
().
MakeEmptySection
(
aTmp
,
SwFooterStartNode
);
SwNodeRange
aRange
(
aRCnt
.
GetCntntIdx
()
->
GetNode
(),
0
,
...
...
@@ -416,7 +418,7 @@ void SwDoc::ChgPageDesc( sal_uInt16 i, const SwPageDesc &rChged )
|*
|* SwDoc::DelPageDesc()
|*
|* Description: All descriptors who
's
Follow point to the to-be-deleted
|* Description: All descriptors who
se
Follow point to the to-be-deleted
|* have to be adapted.
|*
|*************************************************************************/
...
...
@@ -672,7 +674,8 @@ void SwDoc::PrtOLENotify( sal_Bool bAll )
{
// This doesn't make sense without a Shell and thus without a client, because
// the communication about size changes is implemented by these components.
// Because we don't have a Shell we remember this unfortunate situtaion in the document,
// Because we don't have a Shell we remember this unfortunate situation
// in the document,
// which is made up for later on when creating the first Shell.
mbOLEPrtNotifyPending
=
sal_True
;
if
(
bAll
)
...
...
sw/source/core/doc/docedt.cxx
Dosyayı görüntüle @
b277d9a5
This diff is collapsed.
Click to expand it.
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