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
ef530d39
Kaydet (Commit)
ef530d39
authored
Haz 10, 2015
tarafından
Maxim Monastirsky
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
tdf#87651 Add outline buttons to impress sidebar
Change-Id: Id3cf58660bfcaf7424d027773894ce6888df788a
üst
670100fc
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
102 additions
and
26 deletions
+102
-26
ParaPropertyPanel.cxx
svx/source/sidebar/paragraph/ParaPropertyPanel.cxx
+4
-0
ParaPropertyPanel.hxx
svx/source/sidebar/paragraph/ParaPropertyPanel.hxx
+1
-0
sidebarparagraph.ui
svx/uiconfig/ui/sidebarparagraph.ui
+97
-26
No files found.
svx/source/sidebar/paragraph/ParaPropertyPanel.cxx
Dosyayı görüntüle @
ef530d39
...
@@ -151,6 +151,8 @@ void ParaPropertyPanel::HandleContextChange (
...
@@ -151,6 +151,8 @@ void ParaPropertyPanel::HandleContextChange (
default
:
default
:
break
;
break
;
}
}
mpTBxOutline
->
Show
(
maContext
.
GetApplication_DI
()
==
sfx2
::
sidebar
::
EnumContext
::
Application_DrawImpress
);
}
}
void
ParaPropertyPanel
::
DataChanged
(
const
DataChangedEvent
&
rEvent
)
void
ParaPropertyPanel
::
DataChanged
(
const
DataChangedEvent
&
rEvent
)
...
@@ -597,6 +599,7 @@ ParaPropertyPanel::ParaPropertyPanel(vcl::Window* pParent,
...
@@ -597,6 +599,7 @@ ParaPropertyPanel::ParaPropertyPanel(vcl::Window* pParent,
//NumBullet&Backcolor
//NumBullet&Backcolor
get
(
mpTBxNumBullet
,
"numberbullet"
);
get
(
mpTBxNumBullet
,
"numberbullet"
);
get
(
mpTBxBackColor
,
"backgroundcolor"
);
get
(
mpTBxBackColor
,
"backgroundcolor"
);
get
(
mpTBxOutline
,
"outline"
);
//Paragraph spacing
//Paragraph spacing
get
(
mpTopDist
,
"aboveparaspacing"
);
get
(
mpTopDist
,
"aboveparaspacing"
);
mpTopDist
->
set_width_request
(
mpTopDist
->
get_preferred_size
().
Width
());
mpTopDist
->
set_width_request
(
mpTopDist
->
get_preferred_size
().
Width
());
...
@@ -624,6 +627,7 @@ void ParaPropertyPanel::dispose()
...
@@ -624,6 +627,7 @@ void ParaPropertyPanel::dispose()
mpTBxVertAlign
.
clear
();
mpTBxVertAlign
.
clear
();
mpTBxNumBullet
.
clear
();
mpTBxNumBullet
.
clear
();
mpTBxBackColor
.
clear
();
mpTBxBackColor
.
clear
();
mpTBxOutline
.
clear
();
mpTopDist
.
clear
();
mpTopDist
.
clear
();
mpBottomDist
.
clear
();
mpBottomDist
.
clear
();
mpTbxIndent_IncDec
.
clear
();
mpTbxIndent_IncDec
.
clear
();
...
...
svx/source/sidebar/paragraph/ParaPropertyPanel.hxx
Dosyayı görüntüle @
ef530d39
...
@@ -78,6 +78,7 @@ private:
...
@@ -78,6 +78,7 @@ private:
VclPtr
<
ToolBox
>
mpTBxVertAlign
;
VclPtr
<
ToolBox
>
mpTBxVertAlign
;
//NumBullet&Backcolor
//NumBullet&Backcolor
VclPtr
<
ToolBox
>
mpTBxNumBullet
;
VclPtr
<
ToolBox
>
mpTBxNumBullet
;
VclPtr
<
ToolBox
>
mpTBxOutline
;
VclPtr
<
ToolBox
>
mpTBxBackColor
;
VclPtr
<
ToolBox
>
mpTBxBackColor
;
//Paragraph spacing
//Paragraph spacing
VclPtr
<
SvxRelativeField
>
mpTopDist
;
VclPtr
<
SvxRelativeField
>
mpTopDist
;
...
...
svx/uiconfig/ui/sidebarparagraph.ui
Dosyayı görüntüle @
ef530d39
...
@@ -58,32 +58,6 @@
...
@@ -58,32 +58,6 @@
<property
name=
"top_attach"
>
1
</property>
<property
name=
"top_attach"
>
1
</property>
</packing>
</packing>
</child>
</child>
<child>
<object
class=
"sfxlo-SidebarToolBox"
id=
"backgroundcolor"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"has_tooltip"
>
True
</property>
<property
name=
"tooltip_text"
translatable=
"yes"
>
Paragraph Background Color
</property>
<property
name=
"halign"
>
end
</property>
<child>
<object
class=
"GtkMenuToolButton"
id=
"parabkcolor"
>
<property
name=
"width_request"
>
105
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"action_name"
>
.uno:BackgroundColor
</property>
<property
name=
"use_underline"
>
True
</property>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"homogeneous"
>
True
</property>
</packing>
</child>
</object>
<packing>
<property
name=
"left_attach"
>
1
</property>
<property
name=
"top_attach"
>
1
</property>
</packing>
</child>
<child>
<child>
<object
class=
"GtkBox"
id=
"box1"
>
<object
class=
"GtkBox"
id=
"box1"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"visible"
>
True
</property>
...
@@ -639,6 +613,103 @@
...
@@ -639,6 +613,103 @@
<property
name=
"top_attach"
>
2
</property>
<property
name=
"top_attach"
>
2
</property>
</packing>
</packing>
</child>
</child>
<child>
<object
class=
"GtkBox"
id=
"box2"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<child>
<object
class=
"sfxlo-SidebarToolBox"
id=
"backgroundcolor"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"has_tooltip"
>
True
</property>
<property
name=
"tooltip_text"
translatable=
"yes"
>
Paragraph Background Color
</property>
<property
name=
"halign"
>
end
</property>
<child>
<object
class=
"GtkMenuToolButton"
id=
"parabkcolor"
>
<property
name=
"width_request"
>
105
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"action_name"
>
.uno:BackgroundColor
</property>
<property
name=
"use_underline"
>
True
</property>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"homogeneous"
>
True
</property>
</packing>
</child>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"pack_type"
>
end
</property>
<property
name=
"position"
>
0
</property>
</packing>
</child>
<child>
<object
class=
"sfxlo-SidebarToolBox"
id=
"outline"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<child>
<object
class=
"GtkToolButton"
id=
"promote"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"action_name"
>
.uno:OutlineLeft
</property>
<property
name=
"use_underline"
>
True
</property>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"homogeneous"
>
True
</property>
</packing>
</child>
<child>
<object
class=
"GtkToolButton"
id=
"demote"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"action_name"
>
.uno:OutlineRight
</property>
<property
name=
"use_underline"
>
True
</property>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"homogeneous"
>
True
</property>
</packing>
</child>
<child>
<object
class=
"GtkToolButton"
id=
"moveup"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"action_name"
>
.uno:OutlineUp
</property>
<property
name=
"use_underline"
>
True
</property>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"homogeneous"
>
True
</property>
</packing>
</child>
<child>
<object
class=
"GtkToolButton"
id=
"movedown"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"action_name"
>
.uno:OutlineDown
</property>
<property
name=
"use_underline"
>
True
</property>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"homogeneous"
>
True
</property>
</packing>
</child>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
1
</property>
</packing>
</child>
</object>
<packing>
<property
name=
"left_attach"
>
1
</property>
<property
name=
"top_attach"
>
1
</property>
</packing>
</child>
</object>
</object>
<packing>
<packing>
<property
name=
"left_attach"
>
0
</property>
<property
name=
"left_attach"
>
0
</property>
...
...
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