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
c87cc416
Kaydet (Commit)
c87cc416
authored
Şub 20, 2017
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Use AUTOLAYOUT_TITLE_2CONTENT instead of "deprecated" AUTOLAYOUT_2TEXT
Change-Id: I8897e31065f69b7fb62f0770e62025f35ecb5eec
üst
2f6d2c0c
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
7 additions
and
8 deletions
+7
-8
autolayout.hxx
include/xmloff/autolayout.hxx
+0
-1
sdpage.cxx
sd/source/core/sdpage.cxx
+1
-1
pptin.cxx
sd/source/filter/ppt/pptin.cxx
+2
-2
slidelayoutcontroller.cxx
sd/source/ui/controller/slidelayoutcontroller.cxx
+1
-1
LayoutMenu.cxx
sd/source/ui/sidebar/LayoutMenu.cxx
+1
-1
sdxmlexp.cxx
xmloff/source/draw/sdxmlexp.cxx
+1
-1
ximpstyl.cxx
xmloff/source/draw/ximpstyl.cxx
+1
-1
No files found.
include/xmloff/autolayout.hxx
Dosyayı görüntüle @
c87cc416
...
@@ -43,7 +43,6 @@ enum AutoLayout
...
@@ -43,7 +43,6 @@ enum AutoLayout
// deprecated
// deprecated
AUTOLAYOUT_CHART
=
2
,
AUTOLAYOUT_CHART
=
2
,
AUTOLAYOUT_2TEXT
=
3
,
AUTOLAYOUT_TEXTCHART
=
4
,
AUTOLAYOUT_TEXTCHART
=
4
,
AUTOLAYOUT_ORG
=
5
,
AUTOLAYOUT_ORG
=
5
,
AUTOLAYOUT_TEXTCLIP
=
6
,
AUTOLAYOUT_TEXTCLIP
=
6
,
...
...
sd/source/core/sdpage.cxx
Dosyayı görüntüle @
c87cc416
...
@@ -1204,7 +1204,7 @@ static const LayoutDescriptor& GetLayoutDescriptor( AutoLayout eLayout )
...
@@ -1204,7 +1204,7 @@ static const LayoutDescriptor& GetLayoutDescriptor( AutoLayout eLayout )
LayoutDescriptor
(
PRESOBJ_TITLE
,
PRESOBJ_TEXT
),
// AUTOLAYOUT_TITLE
LayoutDescriptor
(
PRESOBJ_TITLE
,
PRESOBJ_TEXT
),
// AUTOLAYOUT_TITLE
LayoutDescriptor
(
PRESOBJ_TITLE
,
PRESOBJ_OUTLINE
),
// AUTOLAYOUT_TITLE_CONTENT
LayoutDescriptor
(
PRESOBJ_TITLE
,
PRESOBJ_OUTLINE
),
// AUTOLAYOUT_TITLE_CONTENT
LayoutDescriptor
(
PRESOBJ_TITLE
,
PRESOBJ_OUTLINE
),
// AUTOLAYOUT_CHART
LayoutDescriptor
(
PRESOBJ_TITLE
,
PRESOBJ_OUTLINE
),
// AUTOLAYOUT_CHART
LayoutDescriptor
(
PRESOBJ_TITLE
,
PRESOBJ_OUTLINE
,
PRESOBJ_OUTLINE
),
// AUTOLAYOUT_
2TEX
T
LayoutDescriptor
(
PRESOBJ_TITLE
,
PRESOBJ_OUTLINE
,
PRESOBJ_OUTLINE
),
// AUTOLAYOUT_
TITLE_2CONTEN
T
LayoutDescriptor
(
PRESOBJ_TITLE
,
PRESOBJ_OUTLINE
,
PRESOBJ_OUTLINE
),
// AUTOLAYOUT_TEXTCHART
LayoutDescriptor
(
PRESOBJ_TITLE
,
PRESOBJ_OUTLINE
,
PRESOBJ_OUTLINE
),
// AUTOLAYOUT_TEXTCHART
LayoutDescriptor
(
PRESOBJ_TITLE
,
PRESOBJ_OUTLINE
),
// AUTOLAYOUT_ORG
LayoutDescriptor
(
PRESOBJ_TITLE
,
PRESOBJ_OUTLINE
),
// AUTOLAYOUT_ORG
LayoutDescriptor
(
PRESOBJ_TITLE
,
PRESOBJ_OUTLINE
,
PRESOBJ_OUTLINE
),
// AUTOLAYOUT_TEXTCLbIP
LayoutDescriptor
(
PRESOBJ_TITLE
,
PRESOBJ_OUTLINE
,
PRESOBJ_OUTLINE
),
// AUTOLAYOUT_TEXTCLbIP
...
...
sd/source/filter/ppt/pptin.cxx
Dosyayı görüntüle @
c87cc416
...
@@ -1124,7 +1124,7 @@ bool ImplSdPPTImport::Import()
...
@@ -1124,7 +1124,7 @@ bool ImplSdPPTImport::Import()
case
PptSlideLayout
:
:
TWOCOLUMNSANDTITLE
:
case
PptSlideLayout
:
:
TWOCOLUMNSANDTITLE
:
{
{
eAutoLayout
=
AUTOLAYOUT_
2TEX
T
;
eAutoLayout
=
AUTOLAYOUT_
TITLE_2CONTEN
T
;
PptPlaceholder
nID1
=
pSlideLayout
->
aPlaceholderId
[
1
];
PptPlaceholder
nID1
=
pSlideLayout
->
aPlaceholderId
[
1
];
PptPlaceholder
nID2
=
pSlideLayout
->
aPlaceholderId
[
2
];
PptPlaceholder
nID2
=
pSlideLayout
->
aPlaceholderId
[
2
];
if
(
nID1
==
PptPlaceholder
::
BODY
&&
nID2
==
PptPlaceholder
::
GRAPH
)
if
(
nID1
==
PptPlaceholder
::
BODY
&&
nID2
==
PptPlaceholder
::
GRAPH
)
...
@@ -1150,7 +1150,7 @@ bool ImplSdPPTImport::Import()
...
@@ -1150,7 +1150,7 @@ bool ImplSdPPTImport::Import()
case
PptSlideLayout
:
:
TWOROWSANDTITLE
:
case
PptSlideLayout
:
:
TWOROWSANDTITLE
:
{
{
eAutoLayout
=
AUTOLAYOUT_
2TEX
T
;
eAutoLayout
=
AUTOLAYOUT_
TITLE_2CONTEN
T
;
PptPlaceholder
nID1
=
pSlideLayout
->
aPlaceholderId
[
1
];
PptPlaceholder
nID1
=
pSlideLayout
->
aPlaceholderId
[
1
];
PptPlaceholder
nID2
=
pSlideLayout
->
aPlaceholderId
[
2
];
PptPlaceholder
nID2
=
pSlideLayout
->
aPlaceholderId
[
2
];
if
(
nID1
==
PptPlaceholder
::
BODY
&&
nID2
==
PptPlaceholder
::
OBJECT
)
if
(
nID1
==
PptPlaceholder
::
BODY
&&
nID2
==
PptPlaceholder
::
OBJECT
)
...
...
sd/source/ui/controller/slidelayoutcontroller.cxx
Dosyayı görüntüle @
c87cc416
...
@@ -108,7 +108,7 @@ static const snewfoil_value_info_layout standard[] =
...
@@ -108,7 +108,7 @@ static const snewfoil_value_info_layout standard[] =
{
BMP_LAYOUT_EMPTY
,
STR_AUTOLAYOUT_NONE
,
AUTOLAYOUT_NONE
},
{
BMP_LAYOUT_EMPTY
,
STR_AUTOLAYOUT_NONE
,
AUTOLAYOUT_NONE
},
{
BMP_LAYOUT_HEAD03
,
STR_AUTOLAYOUT_TITLE
,
AUTOLAYOUT_TITLE
},
{
BMP_LAYOUT_HEAD03
,
STR_AUTOLAYOUT_TITLE
,
AUTOLAYOUT_TITLE
},
{
BMP_LAYOUT_HEAD02
,
STR_AUTOLAYOUT_CONTENT
,
AUTOLAYOUT_TITLE_CONTENT
},
{
BMP_LAYOUT_HEAD02
,
STR_AUTOLAYOUT_CONTENT
,
AUTOLAYOUT_TITLE_CONTENT
},
{
BMP_LAYOUT_HEAD02A
,
STR_AUTOLAYOUT_2CONTENT
,
AUTOLAYOUT_
2TEXT
},
{
BMP_LAYOUT_HEAD02A
,
STR_AUTOLAYOUT_2CONTENT
,
AUTOLAYOUT_
TITLE_2CONTENT
},
{
BMP_LAYOUT_HEAD01
,
STR_AUTOLAYOUT_ONLY_TITLE
,
AUTOLAYOUT_ONLY_TITLE
},
{
BMP_LAYOUT_HEAD01
,
STR_AUTOLAYOUT_ONLY_TITLE
,
AUTOLAYOUT_ONLY_TITLE
},
{
BMP_LAYOUT_TEXTONLY
,
STR_AUTOLAYOUT_ONLY_TEXT
,
AUTOLAYOUT_ONLY_TEXT
},
{
BMP_LAYOUT_TEXTONLY
,
STR_AUTOLAYOUT_ONLY_TEXT
,
AUTOLAYOUT_ONLY_TEXT
},
{
BMP_LAYOUT_HEAD03B
,
STR_AUTOLAYOUT_2CONTENT_CONTENT
,
AUTOLAYOUT_2OBJTEXT
},
{
BMP_LAYOUT_HEAD03B
,
STR_AUTOLAYOUT_2CONTENT_CONTENT
,
AUTOLAYOUT_2OBJTEXT
},
...
...
sd/source/ui/sidebar/LayoutMenu.cxx
Dosyayı görüntüle @
c87cc416
...
@@ -102,7 +102,7 @@ static const snewfoil_value_info standard[] =
...
@@ -102,7 +102,7 @@ static const snewfoil_value_info standard[] =
{
BMP_LAYOUT_EMPTY
,
STR_AUTOLAYOUT_NONE
,
WritingMode_LR_TB
,
AUTOLAYOUT_NONE
},
{
BMP_LAYOUT_EMPTY
,
STR_AUTOLAYOUT_NONE
,
WritingMode_LR_TB
,
AUTOLAYOUT_NONE
},
{
BMP_LAYOUT_HEAD03
,
STR_AUTOLAYOUT_TITLE
,
WritingMode_LR_TB
,
AUTOLAYOUT_TITLE
},
{
BMP_LAYOUT_HEAD03
,
STR_AUTOLAYOUT_TITLE
,
WritingMode_LR_TB
,
AUTOLAYOUT_TITLE
},
{
BMP_LAYOUT_HEAD02
,
STR_AUTOLAYOUT_CONTENT
,
WritingMode_LR_TB
,
AUTOLAYOUT_TITLE_CONTENT
},
{
BMP_LAYOUT_HEAD02
,
STR_AUTOLAYOUT_CONTENT
,
WritingMode_LR_TB
,
AUTOLAYOUT_TITLE_CONTENT
},
{
BMP_LAYOUT_HEAD02A
,
STR_AUTOLAYOUT_2CONTENT
,
WritingMode_LR_TB
,
AUTOLAYOUT_
2TEX
T
},
{
BMP_LAYOUT_HEAD02A
,
STR_AUTOLAYOUT_2CONTENT
,
WritingMode_LR_TB
,
AUTOLAYOUT_
TITLE_2CONTEN
T
},
{
BMP_LAYOUT_HEAD01
,
STR_AUTOLAYOUT_ONLY_TITLE
,
WritingMode_LR_TB
,
AUTOLAYOUT_ONLY_TITLE
},
{
BMP_LAYOUT_HEAD01
,
STR_AUTOLAYOUT_ONLY_TITLE
,
WritingMode_LR_TB
,
AUTOLAYOUT_ONLY_TITLE
},
{
BMP_LAYOUT_TEXTONLY
,
STR_AUTOLAYOUT_ONLY_TEXT
,
WritingMode_LR_TB
,
AUTOLAYOUT_ONLY_TEXT
},
{
BMP_LAYOUT_TEXTONLY
,
STR_AUTOLAYOUT_ONLY_TEXT
,
WritingMode_LR_TB
,
AUTOLAYOUT_ONLY_TEXT
},
{
BMP_LAYOUT_HEAD03B
,
STR_AUTOLAYOUT_2CONTENT_CONTENT
,
WritingMode_LR_TB
,
AUTOLAYOUT_2OBJTEXT
},
{
BMP_LAYOUT_HEAD03B
,
STR_AUTOLAYOUT_2CONTENT_CONTENT
,
WritingMode_LR_TB
,
AUTOLAYOUT_2OBJTEXT
},
...
...
xmloff/source/draw/sdxmlexp.cxx
Dosyayı görüntüle @
c87cc416
...
@@ -816,7 +816,7 @@ void SdXMLExport::ImpWriteAutoLayoutInfos()
...
@@ -816,7 +816,7 @@ void SdXMLExport::ImpWriteAutoLayoutInfos()
ImpWriteAutoLayoutPlaceholder
(
XmlPlaceholderChart
,
pInfo
->
GetPresRectangle
());
ImpWriteAutoLayoutPlaceholder
(
XmlPlaceholderChart
,
pInfo
->
GetPresRectangle
());
break
;
break
;
}
}
case
3
:
// AUTOLAYOUT_2TEXT
case
AUTOLAYOUT_TITLE_2CONTENT
:
{
{
Rectangle
aLeft
(
pInfo
->
GetPresRectangle
());
Rectangle
aLeft
(
pInfo
->
GetPresRectangle
());
aLeft
.
setWidth
(
long
(
aLeft
.
GetWidth
()
*
0.488
));
aLeft
.
setWidth
(
long
(
aLeft
.
GetWidth
()
*
0.488
));
...
...
xmloff/source/draw/ximpstyl.cxx
Dosyayı görüntüle @
c87cc416
...
@@ -566,7 +566,7 @@ void SdXMLPresentationPageLayoutContext::EndElement()
...
@@ -566,7 +566,7 @@ void SdXMLPresentationPageLayoutContext::EndElement()
{
{
if
(
pObj2
->
GetName
()
==
"outline"
)
if
(
pObj2
->
GetName
()
==
"outline"
)
{
{
mnTypeId
=
3
;
// AUTOLAYOUT_2TEXT
mnTypeId
=
AUTOLAYOUT_TITLE_2CONTENT
;
}
}
else
if
(
pObj2
->
GetName
()
==
"chart"
)
else
if
(
pObj2
->
GetName
()
==
"chart"
)
{
{
...
...
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