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
15c98e06
Kaydet (Commit)
15c98e06
authored
Mar 18, 2011
tarafından
Jan Holesovsky
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Merge branch 'master' of
git://anongit.freedesktop.org/libreoffice/writer
Conflicts: sw/source/ui/dbui/mmoutputpage.cxx
üst
5a267de9
2d5b4b02
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
21 deletions
+28
-21
nodes.cxx
sw/source/core/docnode/nodes.cxx
+15
-3
mmoutputpage.cxx
sw/source/ui/dbui/mmoutputpage.cxx
+13
-18
No files found.
sw/source/core/docnode/nodes.cxx
Dosyayı görüntüle @
15c98e06
...
@@ -1998,9 +1998,13 @@ void SwNodes::_CopyNodes( const SwNodeRange& rRange,
...
@@ -1998,9 +1998,13 @@ void SwNodes::_CopyNodes( const SwNodeRange& rRange,
pDoc
->
GetNodes
().
GetEndOfInserts
().
StartOfSectionIndex
()
pDoc
->
GetNodes
().
GetEndOfInserts
().
StartOfSectionIndex
()
<
aInsPos
.
GetIndex
()
)
<
aInsPos
.
GetIndex
()
)
{
{
nNodeCnt
-
=
ULONG
nDistance
=
(
pAktNode
->
EndOfSectionIndex
()
-
(
pAktNode
->
EndOfSectionIndex
()
-
aRg
.
aStart
.
GetIndex
()
);
aRg
.
aStart
.
GetIndex
()
);
if
(
nDistance
<
nNodeCnt
)
nNodeCnt
-=
nDistance
;
else
nNodeCnt
=
1
;
// dann alle Nodes der Tabelle in die akt. Zelle kopieren
// dann alle Nodes der Tabelle in die akt. Zelle kopieren
// fuer den TabellenNode einen DummyNode einfuegen?
// fuer den TabellenNode einen DummyNode einfuegen?
...
@@ -2035,7 +2039,11 @@ void SwNodes::_CopyNodes( const SwNodeRange& rRange,
...
@@ -2035,7 +2039,11 @@ void SwNodes::_CopyNodes( const SwNodeRange& rRange,
SwNodeIndex
nStt
(
aInsPos
,
-
1
);
SwNodeIndex
nStt
(
aInsPos
,
-
1
);
SwTableNode
*
pTblNd
=
((
SwTableNode
*
)
pAktNode
)
->
SwTableNode
*
pTblNd
=
((
SwTableNode
*
)
pAktNode
)
->
MakeCopy
(
pDoc
,
aInsPos
);
MakeCopy
(
pDoc
,
aInsPos
);
nNodeCnt
-=
aInsPos
.
GetIndex
()
-
nStt
.
GetIndex
()
-
2
;
ULONG
nDistance
=
aInsPos
.
GetIndex
()
-
nStt
.
GetIndex
()
-
2
;
if
(
nDistance
<
nNodeCnt
)
nNodeCnt
-=
nDistance
;
else
nNodeCnt
=
1
;
aRg
.
aStart
=
pAktNode
->
EndOfSectionIndex
();
aRg
.
aStart
=
pAktNode
->
EndOfSectionIndex
();
...
@@ -2059,7 +2067,11 @@ void SwNodes::_CopyNodes( const SwNodeRange& rRange,
...
@@ -2059,7 +2067,11 @@ void SwNodes::_CopyNodes( const SwNodeRange& rRange,
SwSectionNode
*
pSectNd
=
((
SwSectionNode
*
)
pAktNode
)
->
SwSectionNode
*
pSectNd
=
((
SwSectionNode
*
)
pAktNode
)
->
MakeCopy
(
pDoc
,
aInsPos
);
MakeCopy
(
pDoc
,
aInsPos
);
nNodeCnt
-=
aInsPos
.
GetIndex
()
-
nStt
.
GetIndex
()
-
2
;
ULONG
nDistance
=
aInsPos
.
GetIndex
()
-
nStt
.
GetIndex
()
-
2
;
if
(
nDistance
<
nNodeCnt
)
nNodeCnt
-=
nDistance
;
else
nNodeCnt
=
1
;
aRg
.
aStart
=
pAktNode
->
EndOfSectionIndex
();
aRg
.
aStart
=
pAktNode
->
EndOfSectionIndex
();
if
(
bNewFrms
&&
pSectNd
&&
if
(
bNewFrms
&&
pSectNd
&&
...
...
sw/source/ui/dbui/mmoutputpage.cxx
Dosyayı görüntüle @
15c98e06
...
@@ -1044,25 +1044,20 @@ IMPL_LINK(SwMailMergeOutputPage, SendDocumentsHdl_Impl, PushButton*, pButton)
...
@@ -1044,25 +1044,20 @@ IMPL_LINK(SwMailMergeOutputPage, SendDocumentsHdl_Impl, PushButton*, pButton)
String
sExtension
=
lcl_GetExtensionForDocType
(
nDocType
);
String
sExtension
=
lcl_GetExtensionForDocType
(
nDocType
);
switch
(
nDocType
)
switch
(
nDocType
)
{
{
case
MM_DOCTYPE_OOO
:
break
;
case
MM_DOCTYPE_OOO
:
case
MM_DOCTYPE_PDF
:
{
{
//the method SwIOSystemGetFilterOfFormat( ) returns the template filter
//Make sure we don't pick e.g. the flat xml filter
//because it uses the same user data :-(
//for this format
SfxFilterMatcher
aMatcher
(
pFilterContainer
->
GetName
()
);
pSfxFlt
=
SwIoSystem
::
GetFilterOfFormat
(
SfxFilterMatcherIter
aIter
(
&
aMatcher
);
String
::
CreateFromAscii
(
FILTER_XML
),
const
SfxFilter
*
pFilter
=
aIter
.
First
();
SwDocShell
::
Factory
().
GetFilterContainer
()
);
String
sFilterMime
(
String
::
CreateFromAscii
(
"application/pdf"
));
}
while
(
pFilter
)
break
;
{
case
MM_DOCTYPE_PDF
:
if
(
pFilter
->
GetMimeType
()
==
sFilterMime
&&
pFilter
->
CanExport
()
)
{
{
pSfxFlt
=
pFilterContainer
->
GetFilter4FilterName
(
pSfxFlt
=
pFilter
;
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"writer_pdf_Export"
)),
break
;
SFX_FILTER_EXPORT
);
}
pFilter
=
aIter
.
Next
();
}
}
}
break
;
break
;
case
MM_DOCTYPE_WORD
:
case
MM_DOCTYPE_WORD
:
...
...
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