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
de52e4d0
Kaydet (Commit)
de52e4d0
authored
May 14, 2013
tarafından
Oliver-Rainer Wittmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
correct context switch handling in paragraph property panel and position and size property panel
üst
4a87b75b
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
23 deletions
+17
-23
ParaLineSpacingControl.cxx
svx/source/sidebar/paragraph/ParaLineSpacingControl.cxx
+14
-19
ParaPropertyPanel.cxx
svx/source/sidebar/paragraph/ParaPropertyPanel.cxx
+0
-0
PosSizePropertyPanel.cxx
svx/source/sidebar/possize/PosSizePropertyPanel.cxx
+3
-4
No files found.
svx/source/sidebar/paragraph/ParaLineSpacingControl.cxx
Dosyayı görüntüle @
de52e4d0
...
...
@@ -471,24 +471,19 @@ void ParaLineSpacingControl::Rearrange(SfxItemState currSPState,FieldUnit currMe
aLineDist
.
SaveValue
();
sal_uInt16
uCount
=
aLineDist
.
GetEntryCount
();
const
sal_uInt16
uCount
=
aLineDist
.
GetEntryCount
();
if
(
uCount
==
LLINESPACE_FIX
+
1
)
{
switch
(
currentContext
.
GetCombinedContext
())
switch
(
currentContext
.
GetCombinedContext
_DI
())
{
case
CombinedEnumContext
(
Application_Impress
,
Context_Table
):
case
CombinedEnumContext
(
Application_Draw
,
Context_Table
):
case
CombinedEnumContext
(
Application_Writer
,
Context_DrawText
):
case
CombinedEnumContext
(
Application_Calc
,
Context_DrawText
):
case
CombinedEnumContext
(
Application_Draw
,
Context_DrawText
):
case
CombinedEnumContext
(
Application_Impress
,
Context_DrawText
):
case
CombinedEnumContext
(
Application_Writer
,
Context_Annotation
):
case
CombinedEnumContext
(
Application_Draw
,
Context_Draw
):
case
CombinedEnumContext
(
Application_Draw
,
Context_TextObject
):
case
CombinedEnumContext
(
Application_Draw
,
Context_Graphic
):
case
CombinedEnumContext
(
Application_Impress
,
Context_Draw
):
case
CombinedEnumContext
(
Application_Impress
,
Context_TextObject
):
case
CombinedEnumContext
(
Application_Impress
,
Context_Graphic
):
case
CombinedEnumContext
(
Application_DrawImpress
,
Context_Table
):
case
CombinedEnumContext
(
Application_DrawImpress
,
Context_DrawText
):
case
CombinedEnumContext
(
Application_DrawImpress
,
Context_Draw
):
case
CombinedEnumContext
(
Application_DrawImpress
,
Context_TextObject
):
case
CombinedEnumContext
(
Application_DrawImpress
,
Context_Graphic
):
case
CombinedEnumContext
(
Application_Calc
,
Context_DrawText
):
case
CombinedEnumContext
(
Application_WriterVariants
,
Context_DrawText
):
case
CombinedEnumContext
(
Application_WriterVariants
,
Context_Annotation
):
{
aLineDist
.
RemoveEntry
(
LLINESPACE_FIX
);
}
...
...
@@ -496,11 +491,11 @@ void ParaLineSpacingControl::Rearrange(SfxItemState currSPState,FieldUnit currMe
}
else
if
(
uCount
==
LLINESPACE_FIX
)
{
switch
(
currentContext
.
GetCombinedContext
())
switch
(
currentContext
.
GetCombinedContext
_DI
())
{
case
CombinedEnumContext
(
Application_Writer
,
Context_Default
):
case
CombinedEnumContext
(
Application_Writer
,
Context_Text
):
case
CombinedEnumContext
(
Application_Writer
,
Context_Table
):
case
CombinedEnumContext
(
Application_Writer
Variants
,
Context_Default
):
case
CombinedEnumContext
(
Application_Writer
Variants
,
Context_Text
):
case
CombinedEnumContext
(
Application_Writer
Variants
,
Context_Table
):
{
aLineDist
.
InsertEntry
(
String
::
CreateFromAscii
(
"Fixed"
),
LLINESPACE_FIX
);
}
...
...
svx/source/sidebar/paragraph/ParaPropertyPanel.cxx
Dosyayı görüntüle @
de52e4d0
This diff is collapsed.
Click to expand it.
svx/source/sidebar/possize/PosSizePropertyPanel.cxx
Dosyayı görüntüle @
de52e4d0
...
...
@@ -1043,12 +1043,11 @@ void PosSizePropertyPanel::executeSize()
SfxUInt32Item
aWidthItem
(
SID_ATTR_TRANSFORM_WIDTH
,
(
sal_uInt32
)
lWidth
);
SfxUInt32Item
aHeightItem
(
SID_ATTR_TRANSFORM_HEIGHT
,
(
sal_uInt32
)
lHeight
);
SfxAllEnumItem
aPointItem
(
SID_ATTR_TRANSFORM_SIZE_POINT
,
(
sal_uInt16
)
meRP
);
const
sal_Int32
nCombinedContext
(
maContext
.
GetCombinedContext
());
const
sal_Int32
nCombinedContext
(
maContext
.
GetCombinedContext
_DI
());
if
(
nCombinedContext
==
CombinedEnumContext
(
Application_Writer
,
Context_Graphic
)
// mnContextId == PROPERTY_CONTEXT_SW_GRAPHIC
||
nCombinedContext
==
CombinedEnumContext
(
Application_Writer
,
Context_OLE
)
//mnContextId == PROPERTY_CONTEXT_SW_OLE
if
(
nCombinedContext
==
CombinedEnumContext
(
Application_Writer
Variants
,
Context_Graphic
)
||
nCombinedContext
==
CombinedEnumContext
(
Application_Writer
Variants
,
Context_OLE
)
)
// if( mnContextId == PROPERTY_CONTEXT_SW_GRAPHIC || mnContextId == PROPERTY_CONTEXT_SW_OLE )
{
GetBindings
()
->
GetDispatcher
()
->
Execute
(
SID_ATTR_TRANSFORM
,
SFX_CALLMODE_RECORD
,
&
aWidthItem
,
&
aHeightItem
,
&
aPointItem
,
0L
);
}
...
...
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