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
a5b3bf72
Kaydet (Commit)
a5b3bf72
authored
Nis 23, 2012
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
n#757890 oox: implement mso-position-horizontal shape property for textframes
üst
6a80adb0
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
0 deletions
+5
-0
vmlshape.hxx
oox/inc/oox/vml/vmlshape.hxx
+1
-0
properties.txt
oox/source/token/properties.txt
+1
-0
vmlshape.cxx
oox/source/vml/vmlshape.cxx
+2
-0
vmlshapecontext.cxx
oox/source/vml/vmlshapecontext.cxx
+1
-0
No files found.
oox/inc/oox/vml/vmlshape.hxx
Dosyayı görüntüle @
a5b3bf72
...
@@ -80,6 +80,7 @@ struct ShapeTypeModel
...
@@ -80,6 +80,7 @@ struct ShapeTypeModel
::
rtl
::
OUString
maMarginLeft
;
///< X position of the shape bounding box to shape anchor (number with unit).
::
rtl
::
OUString
maMarginLeft
;
///< X position of the shape bounding box to shape anchor (number with unit).
::
rtl
::
OUString
maMarginTop
;
///< Y position of the shape bounding box to shape anchor (number with unit).
::
rtl
::
OUString
maMarginTop
;
///< Y position of the shape bounding box to shape anchor (number with unit).
::
rtl
::
OUString
maPositionVerticalRelative
;
///< The Y position is relative to this.
::
rtl
::
OUString
maPositionVerticalRelative
;
///< The Y position is relative to this.
::
rtl
::
OUString
maPositionHorizontal
;
///< The X position orientation (default: absolute).
::
rtl
::
OUString
maRotation
;
///< Rotation of the shape, in degrees.
::
rtl
::
OUString
maRotation
;
///< Rotation of the shape, in degrees.
::
rtl
::
OUString
maFlip
;
///< Flip type of the shape (can be "x" or "y").
::
rtl
::
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)
sal_Bool
mbAutoHeight
;
///< If true, the height value is a minimum value (mostly used for textboxes)
...
...
oox/source/token/properties.txt
Dosyayı görüntüle @
a5b3bf72
...
@@ -219,6 +219,7 @@ HelpText
...
@@ -219,6 +219,7 @@ HelpText
HideInactiveSelection
HideInactiveSelection
HoriJustify
HoriJustify
HoriJustifyMethod
HoriJustifyMethod
HoriOrient
HoriOrientPosition
HoriOrientPosition
HorizontalSplitMode
HorizontalSplitMode
HorizontalSplitPositionTwips
HorizontalSplitPositionTwips
...
...
oox/source/vml/vmlshape.cxx
Dosyayı görüntüle @
a5b3bf72
...
@@ -389,6 +389,8 @@ Reference< XShape > SimpleShape::implConvertAndInsert( const Reference< XShapes
...
@@ -389,6 +389,8 @@ Reference< XShape > SimpleShape::implConvertAndInsert( const Reference< XShapes
{
{
PropertySet
(
xShape
).
setAnyProperty
(
PROP_FrameIsAutomaticHeight
,
makeAny
(
maTypeModel
.
mbAutoHeight
)
);
PropertySet
(
xShape
).
setAnyProperty
(
PROP_FrameIsAutomaticHeight
,
makeAny
(
maTypeModel
.
mbAutoHeight
)
);
PropertySet
(
xShape
).
setAnyProperty
(
PROP_SizeType
,
makeAny
(
maTypeModel
.
mbAutoHeight
?
SizeType
::
MIN
:
SizeType
::
FIX
)
);
PropertySet
(
xShape
).
setAnyProperty
(
PROP_SizeType
,
makeAny
(
maTypeModel
.
mbAutoHeight
?
SizeType
::
MIN
:
SizeType
::
FIX
)
);
if
(
maTypeModel
.
maPositionHorizontal
==
"center"
)
PropertySet
(
xShape
).
setAnyProperty
(
PROP_HoriOrient
,
makeAny
(
text
::
HoriOrientation
::
CENTER
));
}
}
// Import Legacy Fragments (if any)
// Import Legacy Fragments (if any)
...
...
oox/source/vml/vmlshapecontext.cxx
Dosyayı görüntüle @
a5b3bf72
...
@@ -348,6 +348,7 @@ void ShapeTypeContext::setStyle( const OUString& rStyle )
...
@@ -348,6 +348,7 @@ void ShapeTypeContext::setStyle( const OUString& rStyle )
else
if
(
aName
.
equalsAsciiL
(
RTL_CONSTASCII_STRINGPARAM
(
"margin-left"
)
)
)
mrTypeModel
.
maMarginLeft
=
aValue
;
else
if
(
aName
.
equalsAsciiL
(
RTL_CONSTASCII_STRINGPARAM
(
"margin-left"
)
)
)
mrTypeModel
.
maMarginLeft
=
aValue
;
else
if
(
aName
.
equalsAsciiL
(
RTL_CONSTASCII_STRINGPARAM
(
"margin-top"
)
)
)
mrTypeModel
.
maMarginTop
=
aValue
;
else
if
(
aName
.
equalsAsciiL
(
RTL_CONSTASCII_STRINGPARAM
(
"margin-top"
)
)
)
mrTypeModel
.
maMarginTop
=
aValue
;
else
if
(
aName
.
equalsAsciiL
(
RTL_CONSTASCII_STRINGPARAM
(
"mso-position-vertical-relative"
)
)
)
mrTypeModel
.
maPositionVerticalRelative
=
aValue
;
else
if
(
aName
.
equalsAsciiL
(
RTL_CONSTASCII_STRINGPARAM
(
"mso-position-vertical-relative"
)
)
)
mrTypeModel
.
maPositionVerticalRelative
=
aValue
;
else
if
(
aName
==
"mso-position-horizontal"
)
mrTypeModel
.
maPositionHorizontal
=
aValue
;
else
if
(
aName
.
equalsAsciiL
(
RTL_CONSTASCII_STRINGPARAM
(
"mso-fit-shape-to-text"
)
)
)
mrTypeModel
.
mbAutoHeight
=
sal_True
;
else
if
(
aName
.
equalsAsciiL
(
RTL_CONSTASCII_STRINGPARAM
(
"mso-fit-shape-to-text"
)
)
)
mrTypeModel
.
mbAutoHeight
=
sal_True
;
else
if
(
aName
.
equalsAsciiL
(
RTL_CONSTASCII_STRINGPARAM
(
"rotation"
)
)
)
mrTypeModel
.
maRotation
=
aValue
;
else
if
(
aName
.
equalsAsciiL
(
RTL_CONSTASCII_STRINGPARAM
(
"rotation"
)
)
)
mrTypeModel
.
maRotation
=
aValue
;
else
if
(
aName
.
equalsAsciiL
(
RTL_CONSTASCII_STRINGPARAM
(
"flip"
)
)
)
mrTypeModel
.
maFlip
=
aValue
;
else
if
(
aName
.
equalsAsciiL
(
RTL_CONSTASCII_STRINGPARAM
(
"flip"
)
)
)
mrTypeModel
.
maFlip
=
aValue
;
...
...
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