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
22472e09
Kaydet (Commit)
22472e09
authored
Nis 01, 2014
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
oox: sal_Bool->bool
Change-Id: I2ad60bd64cabb29a9e909f31e7d5bd92989120f7
üst
8ee4af28
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
48 additions
and
48 deletions
+48
-48
tablecell.hxx
include/oox/drawingml/table/tablecell.hxx
+9
-9
tableproperties.hxx
include/oox/drawingml/table/tableproperties.hxx
+17
-17
tablestylepart.hxx
include/oox/drawingml/table/tablestylepart.hxx
+4
-4
textparagraphproperties.hxx
include/oox/drawingml/textparagraphproperties.hxx
+1
-1
tablecell.cxx
oox/source/drawingml/table/tablecell.cxx
+3
-3
tableproperties.cxx
oox/source/drawingml/table/tableproperties.cxx
+11
-11
textfield.cxx
oox/source/drawingml/textfield.cxx
+1
-1
textparagraph.cxx
oox/source/drawingml/textparagraph.cxx
+1
-1
textparagraphproperties.cxx
oox/source/drawingml/textparagraphproperties.cxx
+1
-1
No files found.
include/oox/drawingml/table/tablecell.hxx
Dosyayı görüntüle @
22472e09
...
...
@@ -52,10 +52,10 @@ public:
void
setRowSpan
(
sal_Int32
nRowSpan
){
mnRowSpan
=
nRowSpan
;
};
sal_Int32
getGridSpan
()
const
{
return
mnGridSpan
;
};
void
setGridSpan
(
sal_Int32
nGridSpan
){
mnGridSpan
=
nGridSpan
;
};
sal_Bool
gethMerge
()
const
{
return
mbhMerge
;
};
void
sethMerge
(
sal_B
ool
bhMerge
){
mbhMerge
=
bhMerge
;
};
sal_Bool
getvMerge
()
const
{
return
mbvMerge
;
};
void
setvMerge
(
sal_B
ool
bvMerge
){
mbvMerge
=
bvMerge
;
};
bool
gethMerge
()
const
{
return
mbhMerge
;
};
void
sethMerge
(
b
ool
bhMerge
){
mbhMerge
=
bhMerge
;
};
bool
getvMerge
()
const
{
return
mbvMerge
;
};
void
setvMerge
(
b
ool
bvMerge
){
mbvMerge
=
bvMerge
;
};
sal_Int32
getLeftMargin
()
const
{
return
mnMarL
;
};
void
setLeftMargin
(
sal_Int32
nMargin
){
mnMarL
=
nMargin
;
};
sal_Int32
getRightMargin
()
const
{
return
mnMarR
;
};
...
...
@@ -68,8 +68,8 @@ public:
void
setVertToken
(
sal_Int32
nToken
){
mnVertToken
=
nToken
;
};
sal_Int32
getAnchorToken
()
const
{
return
mnAnchorToken
;
};
void
setAnchorToken
(
sal_Int32
nToken
){
mnAnchorToken
=
nToken
;
};
sal_Bool
getAnchorCtr
()
const
{
return
mbAnchorCtr
;
};
void
setAnchorCtr
(
sal_B
ool
bAnchorCtr
){
mbAnchorCtr
=
bAnchorCtr
;
};
bool
getAnchorCtr
()
const
{
return
mbAnchorCtr
;
};
void
setAnchorCtr
(
b
ool
bAnchorCtr
){
mbAnchorCtr
=
bAnchorCtr
;
};
sal_Int32
getHorzOverflowToken
()
const
{
return
mnHorzOverflowToken
;
};
void
setHorzOverflowToken
(
sal_Int32
nToken
){
mnHorzOverflowToken
=
nToken
;
};
...
...
@@ -95,8 +95,8 @@ private:
sal_Int32
mnRowSpan
;
sal_Int32
mnGridSpan
;
sal_B
ool
mbhMerge
;
sal_B
ool
mbvMerge
;
b
ool
mbhMerge
;
b
ool
mbvMerge
;
sal_Int32
mnMarL
;
sal_Int32
mnMarR
;
...
...
@@ -104,7 +104,7 @@ private:
sal_Int32
mnMarB
;
sal_Int32
mnVertToken
;
sal_Int32
mnAnchorToken
;
sal_B
ool
mbAnchorCtr
;
b
ool
mbAnchorCtr
;
sal_Int32
mnHorzOverflowToken
;
};
...
...
include/oox/drawingml/table/tableproperties.hxx
Dosyayı görüntüle @
22472e09
...
...
@@ -42,35 +42,35 @@ public:
std
::
vector
<
sal_Int32
>&
getTableGrid
()
{
return
mvTableGrid
;
};
std
::
vector
<
TableRow
>&
getTableRows
()
{
return
mvTableRows
;
};
OUString
&
getStyleId
(){
return
maStyleId
;
};
OUString
&
getStyleId
(){
return
maStyleId
;
};
boost
::
shared_ptr
<
TableStyle
>&
getTableStyle
(){
return
mpTableStyle
;
};
sal_Bool
&
isRtl
(){
return
mbRtl
;
};
sal_Bool
&
isFirstRow
(){
return
mbFirstRow
;
};
sal_Bool
&
isFirstCol
(){
return
mbFirstCol
;
};
sal_Bool
&
isLastRow
(){
return
mbLastRow
;
};
sal_Bool
&
isLastCol
(){
return
mbLastCol
;
};
sal_Bool
&
isBandRow
(){
return
mbBandRow
;
};
sal_Bool
&
isBandCol
(){
return
mbBandCol
;
};
bool
&
isRtl
(){
return
mbRtl
;
};
bool
&
isFirstRow
(){
return
mbFirstRow
;
};
bool
&
isFirstCol
(){
return
mbFirstCol
;
};
bool
&
isLastRow
(){
return
mbLastRow
;
};
bool
&
isLastCol
(){
return
mbLastCol
;
};
bool
&
isBandRow
(){
return
mbBandRow
;
};
bool
&
isBandCol
(){
return
mbBandCol
;
};
void
pushToPropSet
(
const
::
oox
::
core
::
XmlFilterBase
&
rFilterBase
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
beans
::
XPropertySet
>
&
xPropSet
,
::
oox
::
drawingml
::
TextListStylePtr
pMasterTextListStyle
);
private
:
const
TableStyle
&
getUsedTableStyle
(
const
::
oox
::
core
::
XmlFilterBase
&
rFilterBase
,
sal_B
ool
&
isCreateTabStyle
);
const
TableStyle
&
getUsedTableStyle
(
const
::
oox
::
core
::
XmlFilterBase
&
rFilterBase
,
b
ool
&
isCreateTabStyle
);
OUString
maStyleId
;
// either StyleId is available
OUString
maStyleId
;
// either StyleId is available
boost
::
shared_ptr
<
TableStyle
>
mpTableStyle
;
// or the complete TableStyle
std
::
vector
<
sal_Int32
>
mvTableGrid
;
std
::
vector
<
TableRow
>
mvTableRows
;
sal_Bool
mbRtl
;
sal_Bool
mbFirstRow
;
sal_Bool
mbFirstCol
;
sal_Bool
mbLastRow
;
sal_Bool
mbLastCol
;
sal_Bool
mbBandRow
;
sal_Bool
mbBandCol
;
bool
mbRtl
;
bool
mbFirstRow
;
bool
mbFirstCol
;
bool
mbLastRow
;
bool
mbLastCol
;
bool
mbBandRow
;
bool
mbBandCol
;
};
}
}
}
...
...
include/oox/drawingml/table/tablestylepart.hxx
Dosyayı görüntüle @
22472e09
...
...
@@ -39,8 +39,8 @@ public:
~
TableStylePart
();
::
oox
::
drawingml
::
Color
&
getTextColor
(){
return
maTextColor
;
}
::
boost
::
optional
<
sal_Bool
>&
getTextBoldStyle
(){
return
maTextBoldStyle
;
}
::
boost
::
optional
<
sal_Bool
>&
getTextItalicStyle
(){
return
maTextItalicStyle
;
}
::
boost
::
optional
<
bool
>&
getTextBoldStyle
(){
return
maTextBoldStyle
;
}
::
boost
::
optional
<
bool
>&
getTextItalicStyle
(){
return
maTextItalicStyle
;
}
::
oox
::
drawingml
::
TextFont
&
getAsianFont
(){
return
maAsianFont
;
}
::
oox
::
drawingml
::
TextFont
&
getComplexFont
(){
return
maComplexFont
;
}
::
oox
::
drawingml
::
TextFont
&
getSymbolFont
(){
return
maSymbolFont
;
}
...
...
@@ -54,8 +54,8 @@ public:
private
:
::
oox
::
drawingml
::
Color
maTextColor
;
::
boost
::
optional
<
sal_Bool
>
maTextBoldStyle
;
::
boost
::
optional
<
sal_Bool
>
maTextItalicStyle
;
::
boost
::
optional
<
bool
>
maTextBoldStyle
;
::
boost
::
optional
<
bool
>
maTextItalicStyle
;
::
oox
::
drawingml
::
TextFont
maAsianFont
;
::
oox
::
drawingml
::
TextFont
maComplexFont
;
::
oox
::
drawingml
::
TextFont
maSymbolFont
;
...
...
include/oox/drawingml/textparagraphproperties.hxx
Dosyayı görüntüle @
22472e09
...
...
@@ -100,7 +100,7 @@ public:
void
apply
(
const
TextParagraphProperties
&
rSourceProps
);
void
pushToPropSet
(
const
::
oox
::
core
::
XmlFilterBase
*
pFilterBase
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
beans
::
XPropertySet
>
&
xPropSet
,
PropertyMap
&
rioBulletList
,
const
BulletList
*
pMasterBuList
,
sal_B
ool
bApplyBulletList
,
float
fFontSize
,
bool
bPushDefaultValues
=
false
)
const
;
PropertyMap
&
rioBulletList
,
const
BulletList
*
pMasterBuList
,
b
ool
bApplyBulletList
,
float
fFontSize
,
bool
bPushDefaultValues
=
false
)
const
;
void
pushToPropSet
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
beans
::
XPropertySet
>
&
xPropSet
)
const
;
/** Returns the largest character size of this paragraph. If possible the
...
...
oox/source/drawingml/table/tablecell.cxx
Dosyayı görüntüle @
22472e09
...
...
@@ -46,15 +46,15 @@ TableCell::TableCell()
:
mpTextBody
(
new
TextBody
()
)
,
mnRowSpan
(
1
)
,
mnGridSpan
(
1
)
,
mbhMerge
(
sal_F
alse
)
,
mbvMerge
(
sal_F
alse
)
,
mbhMerge
(
f
alse
)
,
mbvMerge
(
f
alse
)
,
mnMarL
(
91440
)
,
mnMarR
(
91440
)
,
mnMarT
(
45720
)
,
mnMarB
(
45720
)
,
mnVertToken
(
XML_horz
)
,
mnAnchorToken
(
XML_t
)
,
mbAnchorCtr
(
sal_F
alse
)
,
mbAnchorCtr
(
f
alse
)
,
mnHorzOverflowToken
(
XML_clip
)
{
}
...
...
oox/source/drawingml/table/tableproperties.cxx
Dosyayı görüntüle @
22472e09
...
...
@@ -39,13 +39,13 @@ using namespace ::com::sun::star::table;
namespace
oox
{
namespace
drawingml
{
namespace
table
{
TableProperties
::
TableProperties
()
:
mbRtl
(
sal_F
alse
)
,
mbFirstRow
(
sal_F
alse
)
,
mbFirstCol
(
sal_F
alse
)
,
mbLastRow
(
sal_F
alse
)
,
mbLastCol
(
sal_F
alse
)
,
mbBandRow
(
sal_F
alse
)
,
mbBandCol
(
sal_F
alse
)
:
mbRtl
(
f
alse
)
,
mbFirstRow
(
f
alse
)
,
mbFirstCol
(
f
alse
)
,
mbLastRow
(
f
alse
)
,
mbLastCol
(
f
alse
)
,
mbBandRow
(
f
alse
)
,
mbBandCol
(
f
alse
)
{
}
TableProperties
::~
TableProperties
()
...
...
@@ -224,7 +224,7 @@ static void SetTableStyleProperties(TableStyle* &pTableStyle , const sal_Int32&
return
createdTblStyle
;
}
const
TableStyle
&
TableProperties
::
getUsedTableStyle
(
const
::
oox
::
core
::
XmlFilterBase
&
rFilterBase
,
sal_B
ool
&
isCreateTabStyle
)
const
TableStyle
&
TableProperties
::
getUsedTableStyle
(
const
::
oox
::
core
::
XmlFilterBase
&
rFilterBase
,
b
ool
&
isCreateTabStyle
)
{
::
oox
::
core
::
XmlFilterBase
&
rBase
(
const_cast
<
::
oox
::
core
::
XmlFilterBase
&
>
(
rFilterBase
)
);
...
...
@@ -267,7 +267,7 @@ void TableProperties::pushToPropSet( const ::oox::core::XmlFilterBase& rFilterBa
CreateTableColumns
(
xColumnRowRange
->
getColumns
(),
mvTableGrid
);
CreateTableRows
(
xColumnRowRange
->
getRows
(),
mvTableRows
);
sal_Bool
mbOwnTblStyle
=
sal_F
alse
;
bool
mbOwnTblStyle
=
f
alse
;
const
TableStyle
&
rTableStyle
(
getUsedTableStyle
(
rFilterBase
,
mbOwnTblStyle
)
);
sal_Int32
nRow
=
0
;
const
std
::
vector
<
TableRow
>::
const_iterator
aTableRowEnd
(
mvTableRows
.
end
()
);
...
...
@@ -293,7 +293,7 @@ void TableProperties::pushToPropSet( const ::oox::core::XmlFilterBase& rFilterBa
}
}
if
(
mbOwnTblStyle
==
sal_True
)
if
(
mbOwnTblStyle
)
{
TableStyle
*
pTableStyle
=
(
TableStyle
*
)
&
rTableStyle
;
if
(
pTableStyle
!=
NULL
)
...
...
@@ -301,7 +301,7 @@ void TableProperties::pushToPropSet( const ::oox::core::XmlFilterBase& rFilterBa
delete
pTableStyle
;
pTableStyle
=
NULL
;
}
mbOwnTblStyle
=
sal_F
alse
;
mbOwnTblStyle
=
f
alse
;
}
}
...
...
oox/source/drawingml/textfield.cxx
Dosyayı görüntüle @
22472e09
...
...
@@ -142,7 +142,7 @@ sal_Int32 TextField::insertAt(
Reference
<
XPropertySet
>
xProps
(
xAt
,
UNO_QUERY
);
PropertySet
aPropSet
(
xProps
);
maTextParagraphProperties
.
pushToPropSet
(
&
rFilterBase
,
xProps
,
aioBulletList
,
NULL
,
sal_T
rue
,
18
);
maTextParagraphProperties
.
pushToPropSet
(
&
rFilterBase
,
xProps
,
aioBulletList
,
NULL
,
t
rue
,
18
);
TextCharacterProperties
aTextCharacterProps
(
rTextCharacterStyle
);
aTextCharacterProps
.
assignUsed
(
maTextParagraphProperties
.
getTextCharacterProperties
()
);
...
...
oox/source/drawingml/textparagraph.cxx
Dosyayı görüntüle @
22472e09
...
...
@@ -115,7 +115,7 @@ void TextParagraph::insertAt(
aioBulletList
.
setProperty
(
PROP_BulletColor
,
(
*
maRuns
.
begin
())
->
getTextCharacterProperties
().
maCharColor
.
getColor
(
rFilterBase
.
getGraphicHelper
()
));
float
fCharacterSize
=
nCharHeight
>
0
?
GetFontHeight
(
nCharHeight
)
:
pTextParagraphStyle
->
getCharHeightPoints
(
12
);
aParaProp
.
pushToPropSet
(
&
rFilterBase
,
xProps
,
aioBulletList
,
&
pTextParagraphStyle
->
getBulletList
(),
sal_T
rue
,
fCharacterSize
,
true
);
aParaProp
.
pushToPropSet
(
&
rFilterBase
,
xProps
,
aioBulletList
,
&
pTextParagraphStyle
->
getBulletList
(),
t
rue
,
fCharacterSize
,
true
);
}
// empty paragraphs do not have bullets in ppt
...
...
oox/source/drawingml/textparagraphproperties.cxx
Dosyayı görüntüle @
22472e09
...
...
@@ -383,7 +383,7 @@ void TextParagraphProperties::apply( const TextParagraphProperties& rSourceProps
}
void
TextParagraphProperties
::
pushToPropSet
(
const
::
oox
::
core
::
XmlFilterBase
*
pFilterBase
,
const
Reference
<
XPropertySet
>&
xPropSet
,
PropertyMap
&
rioBulletMap
,
const
BulletList
*
pMasterBuList
,
sal_B
ool
bApplyBulletMap
,
float
fCharacterSize
,
const
Reference
<
XPropertySet
>&
xPropSet
,
PropertyMap
&
rioBulletMap
,
const
BulletList
*
pMasterBuList
,
b
ool
bApplyBulletMap
,
float
fCharacterSize
,
bool
bPushDefaultValues
)
const
{
PropertySet
aPropSet
(
xPropSet
);
...
...
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