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
f3802139
Kaydet (Commit)
f3802139
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: Ia05b3210314c39db5110eded731f2be4b7405e87
üst
e8f4a254
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
44 additions
and
44 deletions
+44
-44
headerfooter.hxx
include/oox/ppt/headerfooter.hxx
+8
-8
pptshape.hxx
include/oox/ppt/pptshape.hxx
+3
-3
presentationfragmenthandler.hxx
include/oox/ppt/presentationfragmenthandler.hxx
+1
-1
slidepersist.hxx
include/oox/ppt/slidepersist.hxx
+5
-5
slidetransition.hxx
include/oox/ppt/slidetransition.hxx
+6
-6
slidetransitioncontext.hxx
include/oox/ppt/slidetransitioncontext.hxx
+1
-1
vmlshape.hxx
include/oox/vml/vmlshape.hxx
+2
-2
pptgraphicshapecontext.cxx
oox/source/ppt/pptgraphicshapecontext.cxx
+1
-1
pptshape.cxx
oox/source/ppt/pptshape.cxx
+1
-1
pptshapecontext.cxx
oox/source/ppt/pptshapecontext.cxx
+1
-1
presentationfragmenthandler.cxx
oox/source/ppt/presentationfragmenthandler.cxx
+7
-7
slidefragmenthandler.cxx
oox/source/ppt/slidefragmenthandler.cxx
+1
-1
slidepersist.cxx
oox/source/ppt/slidepersist.cxx
+1
-1
slidetransition.cxx
oox/source/ppt/slidetransition.cxx
+2
-2
slidetransitioncontext.cxx
oox/source/ppt/slidetransitioncontext.cxx
+1
-1
vmlshape.cxx
oox/source/vml/vmlshape.cxx
+2
-2
vmlshapecontext.cxx
oox/source/vml/vmlshapecontext.cxx
+1
-1
No files found.
include/oox/ppt/headerfooter.hxx
Dosyayı görüntüle @
f3802139
...
@@ -26,16 +26,16 @@ namespace oox { namespace ppt {
...
@@ -26,16 +26,16 @@ namespace oox { namespace ppt {
struct
HeaderFooter
struct
HeaderFooter
{
{
sal_B
ool
mbSlideNumber
;
b
ool
mbSlideNumber
;
sal_B
ool
mbHeader
;
b
ool
mbHeader
;
sal_B
ool
mbFooter
;
b
ool
mbFooter
;
sal_B
ool
mbDateTime
;
b
ool
mbDateTime
;
HeaderFooter
()
HeaderFooter
()
:
mbSlideNumber
(
sal_T
rue
)
:
mbSlideNumber
(
t
rue
)
,
mbHeader
(
sal_T
rue
)
,
mbHeader
(
t
rue
)
,
mbFooter
(
sal_T
rue
)
,
mbFooter
(
t
rue
)
,
mbDateTime
(
sal_T
rue
)
{};
,
mbDateTime
(
t
rue
)
{};
};
};
}
}
}
}
...
...
include/oox/ppt/pptshape.hxx
Dosyayı görüntüle @
f3802139
...
@@ -29,7 +29,7 @@ class PPTShape : public oox::drawingml::Shape
...
@@ -29,7 +29,7 @@ class PPTShape : public oox::drawingml::Shape
{
{
OUString
msModelId
;
// fallback dgs smartart shape reference
OUString
msModelId
;
// fallback dgs smartart shape reference
ShapeLocation
meShapeLocation
;
// placeholdershapes (mnSubType != 0) on Master are never displayed
ShapeLocation
meShapeLocation
;
// placeholdershapes (mnSubType != 0) on Master are never displayed
sal_Bool
mbReferenced
;
// placeholdershapes on Layout are displayed only, if they are not referenced
bool
mbReferenced
;
// placeholdershapes on Layout are displayed only, if they are not referenced
// placeholdershapes on Slide are displayed always
// placeholdershapes on Slide are displayed always
public
:
public
:
...
@@ -53,8 +53,8 @@ public:
...
@@ -53,8 +53,8 @@ public:
void
setShapeLocation
(
const
oox
::
ppt
::
ShapeLocation
eShapeLocation
)
{
meShapeLocation
=
eShapeLocation
;
};
void
setShapeLocation
(
const
oox
::
ppt
::
ShapeLocation
eShapeLocation
)
{
meShapeLocation
=
eShapeLocation
;
};
ShapeLocation
getShapeLocation
()
const
{
return
meShapeLocation
;
};
ShapeLocation
getShapeLocation
()
const
{
return
meShapeLocation
;
};
sal_B
ool
isReferenced
()
const
{
return
mbReferenced
;
};
b
ool
isReferenced
()
const
{
return
mbReferenced
;
};
void
setReferenced
(
sal_B
ool
bReferenced
){
mbReferenced
=
bReferenced
;
};
void
setReferenced
(
b
ool
bReferenced
){
mbReferenced
=
bReferenced
;
};
void
setPlaceholder
(
oox
::
drawingml
::
ShapePtr
pPlaceholder
)
{
mpPlaceholder
=
pPlaceholder
;
}
void
setPlaceholder
(
oox
::
drawingml
::
ShapePtr
pPlaceholder
)
{
mpPlaceholder
=
pPlaceholder
;
}
void
setModelId
(
const
OUString
&
rId
)
{
msModelId
=
rId
;
}
void
setModelId
(
const
OUString
&
rId
)
{
msModelId
=
rId
;
}
...
...
include/oox/ppt/presentationfragmenthandler.hxx
Dosyayı görüntüle @
f3802139
...
@@ -49,7 +49,7 @@ protected:
...
@@ -49,7 +49,7 @@ protected:
private
:
private
:
void
importSlide
(
sal_uInt32
nSlide
,
sal_Bool
bFirstSlide
,
sal_B
ool
bImportNotes
);
void
importSlide
(
sal_uInt32
nSlide
,
bool
bFirstSlide
,
b
ool
bImportNotes
);
std
::
vector
<
OUString
>
maSlideMasterVector
;
std
::
vector
<
OUString
>
maSlideMasterVector
;
std
::
vector
<
OUString
>
maSlidesVector
;
std
::
vector
<
OUString
>
maSlidesVector
;
...
...
include/oox/ppt/slidepersist.hxx
Dosyayı görüntüle @
f3802139
...
@@ -56,7 +56,7 @@ class SlidePersist : public boost::enable_shared_from_this< SlidePersist >
...
@@ -56,7 +56,7 @@ class SlidePersist : public boost::enable_shared_from_this< SlidePersist >
{
{
public
:
public
:
SlidePersist
(
oox
::
core
::
XmlFilterBase
&
rFilter
,
sal_Bool
bMaster
,
sal_B
ool
bNotes
,
SlidePersist
(
oox
::
core
::
XmlFilterBase
&
rFilter
,
bool
bMaster
,
b
ool
bNotes
,
const
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
drawing
::
XDrawPage
>&
,
const
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
drawing
::
XDrawPage
>&
,
oox
::
drawingml
::
ShapePtr
pShapesPtr
,
const
::
oox
::
drawingml
::
TextListStylePtr
&
);
oox
::
drawingml
::
ShapePtr
pShapesPtr
,
const
::
oox
::
drawingml
::
TextListStylePtr
&
);
~
SlidePersist
();
~
SlidePersist
();
...
@@ -89,8 +89,8 @@ public:
...
@@ -89,8 +89,8 @@ public:
oox
::
drawingml
::
FillPropertiesPtr
getBackgroundProperties
()
const
{
return
mpBackgroundPropertiesPtr
;
}
oox
::
drawingml
::
FillPropertiesPtr
getBackgroundProperties
()
const
{
return
mpBackgroundPropertiesPtr
;
}
oox
::
drawingml
::
Color
&
getBackgroundColor
()
{
return
maBackgroundColor
;
}
oox
::
drawingml
::
Color
&
getBackgroundColor
()
{
return
maBackgroundColor
;
}
sal_B
ool
isMasterPage
()
const
{
return
mbMaster
;
}
b
ool
isMasterPage
()
const
{
return
mbMaster
;
}
sal_B
ool
isNotesPage
()
const
{
return
mbNotes
;
}
b
ool
isNotesPage
()
const
{
return
mbNotes
;
}
void
setLayoutValueToken
(
sal_Int32
nLayoutValueToken
)
{
mnLayoutValueToken
=
nLayoutValueToken
;
}
void
setLayoutValueToken
(
sal_Int32
nLayoutValueToken
)
{
mnLayoutValueToken
=
nLayoutValueToken
;
}
short
getLayoutFromValueToken
();
short
getLayoutFromValueToken
();
...
@@ -137,8 +137,8 @@ private:
...
@@ -137,8 +137,8 @@ private:
oox
::
ppt
::
HeaderFooter
maHeaderFooter
;
oox
::
ppt
::
HeaderFooter
maHeaderFooter
;
sal_Int32
mnLayoutValueToken
;
sal_Int32
mnLayoutValueToken
;
sal_Bool
mbMaster
;
bool
mbMaster
;
sal_Bool
mbNotes
;
bool
mbNotes
;
oox
::
drawingml
::
TextListStylePtr
maDefaultTextStylePtr
;
oox
::
drawingml
::
TextListStylePtr
maDefaultTextStylePtr
;
oox
::
drawingml
::
TextListStylePtr
maTitleTextStylePtr
;
oox
::
drawingml
::
TextListStylePtr
maTitleTextStylePtr
;
...
...
include/oox/ppt/slidetransition.hxx
Dosyayı görüntüle @
f3802139
...
@@ -41,27 +41,27 @@ namespace oox { namespace ppt {
...
@@ -41,27 +41,27 @@ namespace oox { namespace ppt {
void
setOoxTransitionSpeed
(
sal_Int32
nToken
);
void
setOoxTransitionSpeed
(
sal_Int32
nToken
);
void
setFadeColor
(
sal_Int32
nColor
)
void
setFadeColor
(
sal_Int32
nColor
)
{
mnFadeColor
=
nColor
;
}
{
mnFadeColor
=
nColor
;
}
void
setMode
(
sal_B
ool
bMode
)
void
setMode
(
b
ool
bMode
)
{
mbMode
=
bMode
;
}
{
mbMode
=
bMode
;
}
void
setOoxAdvanceTime
(
sal_Int32
nAdvanceTime
)
void
setOoxAdvanceTime
(
sal_Int32
nAdvanceTime
)
{
mnAdvanceTime
=
nAdvanceTime
;
}
{
mnAdvanceTime
=
nAdvanceTime
;
}
static
sal_Int16
ooxToOdpDirection
(
::
sal_Int32
nOoxType
);
static
sal_Int16
ooxToOdpDirection
(
::
sal_Int32
nOoxType
);
static
sal_Int16
ooxToOdpEightDirections
(
::
sal_Int32
nOoxType
);
static
sal_Int16
ooxToOdpEightDirections
(
::
sal_Int32
nOoxType
);
static
sal_Int16
ooxToOdpCornerDirections
(
::
sal_Int32
nOoxType
);
static
sal_Int16
ooxToOdpCornerDirections
(
::
sal_Int32
nOoxType
);
static
sal_Int16
ooxToOdpBorderDirections
(
::
sal_Int32
nOoxType
);
static
sal_Int16
ooxToOdpBorderDirections
(
::
sal_Int32
nOoxType
);
static
sal_Int16
ooxToOdpSideDirections
(
::
sal_Int32
nOoxType
);
static
sal_Int16
ooxToOdpSideDirections
(
::
sal_Int32
nOoxType
);
static
sal_Bool
ooxToOdpSideDirectionsDirectionNormal
(
::
sal_Int32
nOoxType
);
static
bool
ooxToOdpSideDirectionsDirectionNormal
(
::
sal_Int32
nOoxType
);
void
setOoxTransitionType
(
::
sal_Int32
OoxType
,
void
setOoxTransitionType
(
::
sal_Int32
OoxType
,
::
sal_Int32
param1
,
::
sal_Int32
param2
);
::
sal_Int32
param1
,
::
sal_Int32
param2
);
private
:
private
:
::
sal_Int16
mnTransitionType
;
::
sal_Int16
mnTransitionType
;
::
sal_Int16
mnTransitionSubType
;
::
sal_Int16
mnTransitionSubType
;
::
sal_B
ool
mbTransitionDirectionNormal
;
b
ool
mbTransitionDirectionNormal
;
::
sal_Int16
mnAnimationSpeed
;
::
sal_Int16
mnAnimationSpeed
;
::
sal_Int32
mnFadeColor
;
::
sal_Int32
mnFadeColor
;
::
sal_B
ool
mbMode
;
/**< http://api.libreoffice.org/docs/common/ref/com/sun/star/animations/XTransitionFilter.html Mode property */
b
ool
mbMode
;
/**< http://api.libreoffice.org/docs/common/ref/com/sun/star/animations/XTransitionFilter.html Mode property */
::
sal_Int32
mnAdvanceTime
;
::
sal_Int32
mnAdvanceTime
;
};
};
...
...
include/oox/ppt/slidetransitioncontext.hxx
Dosyayı görüntüle @
f3802139
...
@@ -41,7 +41,7 @@ namespace oox { namespace ppt {
...
@@ -41,7 +41,7 @@ namespace oox { namespace ppt {
private
:
private
:
PropertyMap
&
maSlideProperties
;
PropertyMap
&
maSlideProperties
;
::
sal_Bool
mbHasTransition
;
bool
mbHasTransition
;
SlideTransition
maTransition
;
SlideTransition
maTransition
;
};
};
...
...
include/oox/vml/vmlshape.hxx
Dosyayı görüntüle @
f3802139
...
@@ -80,8 +80,8 @@ struct OOX_DLLPUBLIC ShapeTypeModel
...
@@ -80,8 +80,8 @@ struct OOX_DLLPUBLIC ShapeTypeModel
OUString
maHeightRelative
;
///< To what the height is relative
OUString
maHeightRelative
;
///< To what the height is relative
OUString
maRotation
;
///< Rotation of the shape, in degrees.
OUString
maRotation
;
///< Rotation of the shape, in degrees.
OUString
maFlip
;
///< Flip type of the shape (can be "x" or "y").
OUString
maFlip
;
///< Flip type of the shape (can be "x" or "y").
sal_Bool
mbAutoHeight
;
///< If true, the height value is a minimum value (mostly used for textboxes)
bool
mbAutoHeight
;
///< If true, the height value is a minimum value (mostly used for textboxes)
sal_Bool
mbVisible
;
///< Visible or Hidden
bool
mbVisible
;
///< Visible or Hidden
OUString
maWrapStyle
;
///< Wrapping mode for text.
OUString
maWrapStyle
;
///< Wrapping mode for text.
OUString
maArcsize
;
///< round rectangles arc size
OUString
maArcsize
;
///< round rectangles arc size
OUString
maEditAs
;
///< Edit As type (e.g. "canvas" etc)
OUString
maEditAs
;
///< Edit As type (e.g. "canvas" etc)
...
...
oox/source/ppt/pptgraphicshapecontext.cxx
Dosyayı görüntüle @
f3802139
...
@@ -170,7 +170,7 @@ ContextHandlerRef PPTGraphicShapeContext::onCreateContext( sal_Int32 aElementTok
...
@@ -170,7 +170,7 @@ ContextHandlerRef PPTGraphicShapeContext::onCreateContext( sal_Int32 aElementTok
mpShapePtr
->
applyShapeReference
(
*
pPlaceholder
.
get
(),
bUseText
);
mpShapePtr
->
applyShapeReference
(
*
pPlaceholder
.
get
(),
bUseText
);
PPTShape
*
pPPTShape
=
dynamic_cast
<
PPTShape
*
>
(
pPlaceholder
.
get
()
);
PPTShape
*
pPPTShape
=
dynamic_cast
<
PPTShape
*
>
(
pPlaceholder
.
get
()
);
if
(
pPPTShape
)
if
(
pPPTShape
)
pPPTShape
->
setReferenced
(
sal_T
rue
);
pPPTShape
->
setReferenced
(
t
rue
);
pPPTShapePtr
->
setPlaceholder
(
pPlaceholder
);
pPPTShapePtr
->
setPlaceholder
(
pPlaceholder
);
}
}
}
}
...
...
oox/source/ppt/pptshape.cxx
Dosyayı görüntüle @
f3802139
...
@@ -44,7 +44,7 @@ namespace oox { namespace ppt {
...
@@ -44,7 +44,7 @@ namespace oox { namespace ppt {
PPTShape
::
PPTShape
(
const
oox
::
ppt
::
ShapeLocation
eShapeLocation
,
const
sal_Char
*
pServiceName
)
PPTShape
::
PPTShape
(
const
oox
::
ppt
::
ShapeLocation
eShapeLocation
,
const
sal_Char
*
pServiceName
)
:
Shape
(
pServiceName
)
:
Shape
(
pServiceName
)
,
meShapeLocation
(
eShapeLocation
)
,
meShapeLocation
(
eShapeLocation
)
,
mbReferenced
(
sal_F
alse
)
,
mbReferenced
(
f
alse
)
{
{
}
}
...
...
oox/source/ppt/pptshapecontext.cxx
Dosyayı görüntüle @
f3802139
...
@@ -192,7 +192,7 @@ ContextHandlerRef PPTShapeContext::onCreateContext( sal_Int32 aElementToken, con
...
@@ -192,7 +192,7 @@ ContextHandlerRef PPTShapeContext::onCreateContext( sal_Int32 aElementToken, con
mpShapePtr
->
applyShapeReference
(
*
pPlaceholder
.
get
()
);
mpShapePtr
->
applyShapeReference
(
*
pPlaceholder
.
get
()
);
PPTShape
*
pPPTShape
=
dynamic_cast
<
PPTShape
*
>
(
pPlaceholder
.
get
()
);
PPTShape
*
pPPTShape
=
dynamic_cast
<
PPTShape
*
>
(
pPlaceholder
.
get
()
);
if
(
pPPTShape
)
if
(
pPPTShape
)
pPPTShape
->
setReferenced
(
sal_T
rue
);
pPPTShape
->
setReferenced
(
t
rue
);
pPPTShapePtr
->
setPlaceholder
(
pPlaceholder
);
pPPTShapePtr
->
setPlaceholder
(
pPlaceholder
);
}
}
}
}
...
...
oox/source/ppt/presentationfragmenthandler.cxx
Dosyayı görüntüle @
f3802139
...
@@ -135,7 +135,7 @@ void ResolveTextFields( XmlFilterBase& rFilter )
...
@@ -135,7 +135,7 @@ void ResolveTextFields( XmlFilterBase& rFilter )
}
}
}
}
void
PresentationFragmentHandler
::
importSlide
(
sal_uInt32
nSlide
,
sal_Bool
bFirstPage
,
sal_B
ool
bImportNotesPage
)
void
PresentationFragmentHandler
::
importSlide
(
sal_uInt32
nSlide
,
bool
bFirstPage
,
b
ool
bImportNotesPage
)
{
{
PowerPointImport
&
rFilter
=
dynamic_cast
<
PowerPointImport
&
>
(
getFilter
()
);
PowerPointImport
&
rFilter
=
dynamic_cast
<
PowerPointImport
&
>
(
getFilter
()
);
...
@@ -157,7 +157,7 @@ void PresentationFragmentHandler::importSlide(sal_uInt32 nSlide, sal_Bool bFirst
...
@@ -157,7 +157,7 @@ void PresentationFragmentHandler::importSlide(sal_uInt32 nSlide, sal_Bool bFirst
if
(
!
aSlideFragmentPath
.
isEmpty
()
)
if
(
!
aSlideFragmentPath
.
isEmpty
()
)
{
{
SlidePersistPtr
pMasterPersistPtr
;
SlidePersistPtr
pMasterPersistPtr
;
SlidePersistPtr
pSlidePersistPtr
(
new
SlidePersist
(
rFilter
,
sal_False
,
sal_F
alse
,
xSlide
,
SlidePersistPtr
pSlidePersistPtr
(
new
SlidePersist
(
rFilter
,
false
,
f
alse
,
xSlide
,
ShapePtr
(
new
PPTShape
(
Slide
,
"com.sun.star.drawing.GroupShape"
)
),
mpTextListStyle
)
);
ShapePtr
(
new
PPTShape
(
Slide
,
"com.sun.star.drawing.GroupShape"
)
),
mpTextListStyle
)
);
FragmentHandlerRef
xSlideFragmentHandler
(
new
SlideFragmentHandler
(
rFilter
,
aSlideFragmentPath
,
pSlidePersistPtr
,
Slide
)
);
FragmentHandlerRef
xSlideFragmentHandler
(
new
SlideFragmentHandler
(
rFilter
,
aSlideFragmentPath
,
pSlidePersistPtr
,
Slide
)
);
...
@@ -196,7 +196,7 @@ void PresentationFragmentHandler::importSlide(sal_uInt32 nSlide, sal_Bool bFirst
...
@@ -196,7 +196,7 @@ void PresentationFragmentHandler::importSlide(sal_uInt32 nSlide, sal_Bool bFirst
else
else
xMasterPage
=
xMasterPages
->
insertNewByIndex
(
xMasterPages
->
getCount
()
);
xMasterPage
=
xMasterPages
->
insertNewByIndex
(
xMasterPages
->
getCount
()
);
pMasterPersistPtr
=
SlidePersistPtr
(
new
SlidePersist
(
rFilter
,
sal_True
,
sal_F
alse
,
xMasterPage
,
pMasterPersistPtr
=
SlidePersistPtr
(
new
SlidePersist
(
rFilter
,
true
,
f
alse
,
xMasterPage
,
ShapePtr
(
new
PPTShape
(
Master
,
"com.sun.star.drawing.GroupShape"
)
),
mpTextListStyle
)
);
ShapePtr
(
new
PPTShape
(
Master
,
"com.sun.star.drawing.GroupShape"
)
),
mpTextListStyle
)
);
pMasterPersistPtr
->
setLayoutPath
(
aLayoutFragmentPath
);
pMasterPersistPtr
->
setLayoutPath
(
aLayoutFragmentPath
);
rFilter
.
getMasterPages
().
push_back
(
pMasterPersistPtr
);
rFilter
.
getMasterPages
().
push_back
(
pMasterPersistPtr
);
...
@@ -264,7 +264,7 @@ void PresentationFragmentHandler::importSlide(sal_uInt32 nSlide, sal_Bool bFirst
...
@@ -264,7 +264,7 @@ void PresentationFragmentHandler::importSlide(sal_uInt32 nSlide, sal_Bool bFirst
Reference
<
XDrawPage
>
xNotesPage
(
xPresentationPage
->
getNotesPage
()
);
Reference
<
XDrawPage
>
xNotesPage
(
xPresentationPage
->
getNotesPage
()
);
if
(
xNotesPage
.
is
()
)
if
(
xNotesPage
.
is
()
)
{
{
SlidePersistPtr
pNotesPersistPtr
(
new
SlidePersist
(
rFilter
,
sal_False
,
sal_T
rue
,
xNotesPage
,
SlidePersistPtr
pNotesPersistPtr
(
new
SlidePersist
(
rFilter
,
false
,
t
rue
,
xNotesPage
,
ShapePtr
(
new
PPTShape
(
Slide
,
"com.sun.star.drawing.GroupShape"
)
),
mpTextListStyle
)
);
ShapePtr
(
new
PPTShape
(
Slide
,
"com.sun.star.drawing.GroupShape"
)
),
mpTextListStyle
)
);
FragmentHandlerRef
xNotesFragmentHandler
(
new
SlideFragmentHandler
(
getFilter
(),
aNotesFragmentPath
,
pNotesPersistPtr
,
Slide
)
);
FragmentHandlerRef
xNotesFragmentHandler
(
new
SlideFragmentHandler
(
getFilter
(),
aNotesFragmentPath
,
pNotesPersistPtr
,
Slide
)
);
rFilter
.
getNotesPages
().
push_back
(
pNotesPersistPtr
);
rFilter
.
getNotesPages
().
push_back
(
pNotesPersistPtr
);
...
@@ -285,7 +285,7 @@ void PresentationFragmentHandler::importSlide(sal_uInt32 nSlide, sal_Bool bFirst
...
@@ -285,7 +285,7 @@ void PresentationFragmentHandler::importSlide(sal_uInt32 nSlide, sal_Bool bFirst
Reference
<
XPresentationPage
>
xPresentationPage
(
xSlide
,
UNO_QUERY
);
Reference
<
XPresentationPage
>
xPresentationPage
(
xSlide
,
UNO_QUERY
);
Reference
<
XDrawPage
>
xCommentAuthorsPage
(
xPresentationPage
->
getNotesPage
()
);
Reference
<
XDrawPage
>
xCommentAuthorsPage
(
xPresentationPage
->
getNotesPage
()
);
SlidePersistPtr
pCommentAuthorsPersistPtr
(
SlidePersistPtr
pCommentAuthorsPersistPtr
(
new
SlidePersist
(
rFilter
,
sal_False
,
sal_T
rue
,
xCommentAuthorsPage
,
new
SlidePersist
(
rFilter
,
false
,
t
rue
,
xCommentAuthorsPage
,
ShapePtr
(
ShapePtr
(
new
PPTShape
(
new
PPTShape
(
Slide
,
"com.sun.star.drawing.GroupShape"
)
),
Slide
,
"com.sun.star.drawing.GroupShape"
)
),
...
@@ -305,7 +305,7 @@ void PresentationFragmentHandler::importSlide(sal_uInt32 nSlide, sal_Bool bFirst
...
@@ -305,7 +305,7 @@ void PresentationFragmentHandler::importSlide(sal_uInt32 nSlide, sal_Bool bFirst
Reference
<
XDrawPage
>
xCommentsPage
(
xPresentationPage
->
getNotesPage
()
);
Reference
<
XDrawPage
>
xCommentsPage
(
xPresentationPage
->
getNotesPage
()
);
SlidePersistPtr
pCommentsPersistPtr
(
SlidePersistPtr
pCommentsPersistPtr
(
new
SlidePersist
(
new
SlidePersist
(
rFilter
,
sal_False
,
sal_T
rue
,
xCommentsPage
,
rFilter
,
false
,
t
rue
,
xCommentsPage
,
ShapePtr
(
ShapePtr
(
new
PPTShape
(
new
PPTShape
(
Slide
,
"com.sun.star.drawing.GroupShape"
)
),
Slide
,
"com.sun.star.drawing.GroupShape"
)
),
...
@@ -485,7 +485,7 @@ bool PresentationFragmentHandler::importSlide( const FragmentHandlerRef& rxSlide
...
@@ -485,7 +485,7 @@ bool PresentationFragmentHandler::importSlide( const FragmentHandlerRef& rxSlide
oox
::
ppt
::
HeaderFooter
aHeaderFooter
(
pSlidePersistPtr
->
getHeaderFooter
()
);
oox
::
ppt
::
HeaderFooter
aHeaderFooter
(
pSlidePersistPtr
->
getHeaderFooter
()
);
if
(
!
pSlidePersistPtr
->
isMasterPage
()
)
if
(
!
pSlidePersistPtr
->
isMasterPage
()
)
aHeaderFooter
.
mbSlideNumber
=
aHeaderFooter
.
mbHeader
=
aHeaderFooter
.
mbFooter
=
aHeaderFooter
.
mbDateTime
=
sal_F
alse
;
aHeaderFooter
.
mbSlideNumber
=
aHeaderFooter
.
mbHeader
=
aHeaderFooter
.
mbFooter
=
aHeaderFooter
.
mbDateTime
=
f
alse
;
try
try
{
{
if
(
pSlidePersistPtr
->
isNotesPage
()
)
if
(
pSlidePersistPtr
->
isNotesPage
()
)
...
...
oox/source/ppt/slidefragmenthandler.cxx
Dosyayı görüntüle @
f3802139
...
@@ -104,7 +104,7 @@ SlideFragmentHandler::~SlideFragmentHandler() throw()
...
@@ -104,7 +104,7 @@ SlideFragmentHandler::~SlideFragmentHandler() throw()
if
(
aIter
==
rMasterPages
.
end
()
&&
!
mpSlidePersistPtr
->
getMasterPersist
()
)
if
(
aIter
==
rMasterPages
.
end
()
&&
!
mpSlidePersistPtr
->
getMasterPersist
()
)
{
{
TextListStylePtr
pTextListStyle
(
new
TextListStyle
);
TextListStylePtr
pTextListStyle
(
new
TextListStyle
);
SlidePersistPtr
pMasterPersistPtr
=
SlidePersistPtr
(
new
SlidePersist
(
rFilter
,
sal_True
,
sal_T
rue
,
mpSlidePersistPtr
->
getPage
(),
SlidePersistPtr
pMasterPersistPtr
=
SlidePersistPtr
(
new
SlidePersist
(
rFilter
,
true
,
t
rue
,
mpSlidePersistPtr
->
getPage
(),
ShapePtr
(
new
PPTShape
(
Master
,
"com.sun.star.drawing.GroupShape"
)
),
mpSlidePersistPtr
->
getNotesTextStyle
()
)
);
ShapePtr
(
new
PPTShape
(
Master
,
"com.sun.star.drawing.GroupShape"
)
),
mpSlidePersistPtr
->
getNotesTextStyle
()
)
);
pMasterPersistPtr
->
setPath
(
aNotesFragmentPath
);
pMasterPersistPtr
->
setPath
(
aNotesFragmentPath
);
rFilter
.
getMasterPages
().
push_back
(
pMasterPersistPtr
);
rFilter
.
getMasterPages
().
push_back
(
pMasterPersistPtr
);
...
...
oox/source/ppt/slidepersist.cxx
Dosyayı görüntüle @
f3802139
...
@@ -41,7 +41,7 @@ using namespace ::com::sun::star::animations;
...
@@ -41,7 +41,7 @@ using namespace ::com::sun::star::animations;
namespace
oox
{
namespace
ppt
{
namespace
oox
{
namespace
ppt
{
SlidePersist
::
SlidePersist
(
XmlFilterBase
&
rFilter
,
sal_Bool
bMaster
,
sal_B
ool
bNotes
,
SlidePersist
::
SlidePersist
(
XmlFilterBase
&
rFilter
,
bool
bMaster
,
b
ool
bNotes
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
drawing
::
XDrawPage
>&
rxPage
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
drawing
::
XDrawPage
>&
rxPage
,
oox
::
drawingml
::
ShapePtr
pShapesPtr
,
const
drawingml
::
TextListStylePtr
&
pDefaultTextStyle
)
oox
::
drawingml
::
ShapePtr
pShapesPtr
,
const
drawingml
::
TextListStylePtr
&
pDefaultTextStyle
)
:
mpDrawingPtr
(
new
oox
::
vml
::
Drawing
(
rFilter
,
rxPage
,
oox
::
vml
::
VMLDRAWING_POWERPOINT
)
)
:
mpDrawingPtr
(
new
oox
::
vml
::
Drawing
(
rFilter
,
rxPage
,
oox
::
vml
::
VMLDRAWING_POWERPOINT
)
)
...
...
oox/source/ppt/slidetransition.cxx
Dosyayı görüntüle @
f3802139
...
@@ -190,9 +190,9 @@ namespace oox { namespace ppt {
...
@@ -190,9 +190,9 @@ namespace oox { namespace ppt {
return
nOdpDirection
;
return
nOdpDirection
;
}
}
sal_B
ool
SlideTransition
::
ooxToOdpSideDirectionsDirectionNormal
(
::
sal_Int32
nOoxType
)
b
ool
SlideTransition
::
ooxToOdpSideDirectionsDirectionNormal
(
::
sal_Int32
nOoxType
)
{
{
sal_B
ool
nOdpDirection
=
true
;
b
ool
nOdpDirection
=
true
;
switch
(
nOoxType
)
switch
(
nOoxType
)
{
{
case
XML_u
:
case
XML_u
:
...
...
oox/source/ppt/slidetransitioncontext.cxx
Dosyayı görüntüle @
f3802139
...
@@ -44,7 +44,7 @@ namespace oox { namespace ppt {
...
@@ -44,7 +44,7 @@ namespace oox { namespace ppt {
SlideTransitionContext
::
SlideTransitionContext
(
FragmentHandler2
&
rParent
,
const
AttributeList
&
rAttribs
,
PropertyMap
&
aProperties
)
throw
()
SlideTransitionContext
::
SlideTransitionContext
(
FragmentHandler2
&
rParent
,
const
AttributeList
&
rAttribs
,
PropertyMap
&
aProperties
)
throw
()
:
FragmentHandler2
(
rParent
)
:
FragmentHandler2
(
rParent
)
,
maSlideProperties
(
aProperties
)
,
maSlideProperties
(
aProperties
)
,
mbHasTransition
(
sal_F
alse
)
,
mbHasTransition
(
f
alse
)
{
{
// ST_TransitionSpeed
// ST_TransitionSpeed
maTransition
.
setOoxTransitionSpeed
(
rAttribs
.
getToken
(
XML_spd
,
XML_fast
)
);
maTransition
.
setOoxTransitionSpeed
(
rAttribs
.
getToken
(
XML_spd
,
XML_fast
)
);
...
...
oox/source/vml/vmlshape.cxx
Dosyayı görüntüle @
f3802139
...
@@ -112,8 +112,8 @@ awt::Rectangle lclGetAbsRect( const awt::Rectangle& rRelRect, const awt::Rectang
...
@@ -112,8 +112,8 @@ awt::Rectangle lclGetAbsRect( const awt::Rectangle& rRelRect, const awt::Rectang
ShapeTypeModel
::
ShapeTypeModel
()
:
ShapeTypeModel
::
ShapeTypeModel
()
:
mbAutoHeight
(
sal_F
alse
),
mbAutoHeight
(
f
alse
),
mbVisible
(
sal_T
rue
)
mbVisible
(
t
rue
)
{
{
}
}
...
...
oox/source/vml/vmlshapecontext.cxx
Dosyayı görüntüle @
f3802139
...
@@ -413,7 +413,7 @@ void ShapeTypeContext::setStyle( const OUString& rStyle )
...
@@ -413,7 +413,7 @@ void ShapeTypeContext::setStyle( const OUString& rStyle )
else
if
(
aName
==
"mso-width-relative"
)
mrTypeModel
.
maWidthRelative
=
aValue
;
else
if
(
aName
==
"mso-width-relative"
)
mrTypeModel
.
maWidthRelative
=
aValue
;
else
if
(
aName
==
"mso-height-percent"
)
mrTypeModel
.
maHeightPercent
=
aValue
;
else
if
(
aName
==
"mso-height-percent"
)
mrTypeModel
.
maHeightPercent
=
aValue
;
else
if
(
aName
==
"mso-height-relative"
)
mrTypeModel
.
maHeightRelative
=
aValue
;
else
if
(
aName
==
"mso-height-relative"
)
mrTypeModel
.
maHeightRelative
=
aValue
;
else
if
(
aName
==
"mso-fit-shape-to-text"
)
mrTypeModel
.
mbAutoHeight
=
sal_T
rue
;
else
if
(
aName
==
"mso-fit-shape-to-text"
)
mrTypeModel
.
mbAutoHeight
=
t
rue
;
else
if
(
aName
==
"rotation"
)
mrTypeModel
.
maRotation
=
aValue
;
else
if
(
aName
==
"rotation"
)
mrTypeModel
.
maRotation
=
aValue
;
else
if
(
aName
==
"flip"
)
mrTypeModel
.
maFlip
=
aValue
;
else
if
(
aName
==
"flip"
)
mrTypeModel
.
maFlip
=
aValue
;
else
if
(
aName
.
equalsAscii
(
"visibility"
)
)
else
if
(
aName
.
equalsAscii
(
"visibility"
)
)
...
...
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