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
cb6ced50
Kaydet (Commit)
cb6ced50
authored
Kas 23, 2014
tarafından
Maxim Monastirsky
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fdo#86546 Open the right tab for more bullets and numbering
Change-Id: Ib8dda6eab89c92fa9bea98e3570896ea02692585
üst
2497285d
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
30 additions
and
6 deletions
+30
-6
fuolbull.cxx
sd/source/ui/func/fuolbull.cxx
+4
-1
svx.sdi
svx/sdi/svx.sdi
+1
-1
bulletsnumbering.cxx
svx/source/tbxctrls/bulletsnumbering.cxx
+22
-4
txtnum.cxx
sw/source/uibase/shells/txtnum.cxx
+3
-0
No files found.
sd/source/ui/func/fuolbull.cxx
Dosyayı görüntüle @
cb6ced50
...
...
@@ -68,8 +68,9 @@ void FuOutlineBullet::DoExecute( SfxRequest& rReq )
}
const
SfxItemSet
*
pArgs
=
rReq
.
GetArgs
();
SFX_ITEMSET_ARG
(
pArgs
,
pPageItem
,
SfxStringItem
,
FN_PARAM_1
,
false
);
if
(
!
pArgs
)
if
(
!
pArgs
||
pPageItem
)
{
// fill ItemSet for Dialog
SfxItemSet
aEditAttr
(
mpDoc
->
GetPool
()
);
...
...
@@ -84,6 +85,8 @@ void FuOutlineBullet::DoExecute( SfxRequest& rReq )
boost
::
scoped_ptr
<
SfxAbstractTabDialog
>
pDlg
(
pFact
?
pFact
->
CreateSdOutlineBulletTabDlg
(
NULL
,
&
aNewAttr
,
mpView
)
:
0
);
if
(
pDlg
)
{
if
(
pPageItem
)
pDlg
->
SetCurPageId
(
OUStringToOString
(
pPageItem
->
GetValue
(),
RTL_TEXTENCODING_UTF8
)
);
sal_uInt16
nResult
=
pDlg
->
Execute
();
switch
(
nResult
)
...
...
svx/sdi/svx.sdi
Dosyayı görüntüle @
cb6ced50
...
...
@@ -7918,7 +7918,7 @@ SvxOrphansItem Orphan SID_ATTR_PARA_ORPHANS
SfxVoidItem OutlineBullet SID_OUTLINE_BULLET
()
(
SfxStringItem Page FN_PARAM_1
)
[
/* flags: */
AutoUpdate = FALSE,
...
...
svx/source/tbxctrls/bulletsnumbering.cxx
Dosyayı görüntüle @
cb6ced50
...
...
@@ -34,15 +34,17 @@
#define NUM_PAGETYPE_BULLET 0
#define NUM_PAGETYPE_SINGLENUM 1
class
NumberingToolBoxControl
;
class
NumberingPopup
:
public
svtools
::
ToolbarMenu
{
bool
mbBulletItem
;
svt
::
ToolboxController
&
mrController
;
NumberingToolBoxControl
&
mrController
;
SvxNumValueSet
*
mpValueSet
;
DECL_LINK
(
VSSelectHdl
,
void
*
);
public
:
NumberingPopup
(
svt
::
ToolboxController
&
rController
,
NumberingPopup
(
NumberingToolBoxControl
&
rController
,
const
css
::
uno
::
Reference
<
css
::
frame
::
XFrame
>&
rFrame
,
vcl
::
Window
*
pParent
,
bool
bBulletItem
);
...
...
@@ -57,6 +59,7 @@ class NumberingToolBoxControl : public svt::PopupWindowController
public
:
NumberingToolBoxControl
(
const
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>&
rxContext
);
virtual
vcl
::
Window
*
createPopupWindow
(
vcl
::
Window
*
pParent
)
SAL_OVERRIDE
;
bool
IsInImpressDraw
();
// XStatusListener
virtual
void
SAL_CALL
statusChanged
(
const
css
::
frame
::
FeatureStateEvent
&
rEvent
)
...
...
@@ -76,7 +79,7 @@ public:
};
//class NumberingPopup
NumberingPopup
::
NumberingPopup
(
svt
::
ToolboxController
&
rController
,
NumberingPopup
::
NumberingPopup
(
NumberingToolBoxControl
&
rController
,
const
css
::
uno
::
Reference
<
css
::
frame
::
XFrame
>&
rFrame
,
vcl
::
Window
*
pParent
,
bool
bBulletItem
)
:
ToolbarMenu
(
rFrame
,
pParent
,
WB_STDPOPUP
),
...
...
@@ -164,7 +167,16 @@ IMPL_LINK( NumberingPopup, VSSelectHdl, void *, pControl )
}
else
if
(
getSelectedEntryId
()
==
1
)
{
css
::
uno
::
Sequence
<
css
::
beans
::
PropertyValue
>
aArgs
(
0
);
OUString
aPageName
;
if
(
mrController
.
IsInImpressDraw
()
)
aPageName
=
"customize"
;
else
// Writer variants
aPageName
=
"options"
;
css
::
uno
::
Sequence
<
css
::
beans
::
PropertyValue
>
aArgs
(
1
);
aArgs
[
0
].
Name
=
"Page"
;
aArgs
[
0
].
Value
<<=
aPageName
;
mrController
.
dispatchCommand
(
".uno:OutlineBullet"
,
aArgs
);
}
...
...
@@ -184,6 +196,12 @@ vcl::Window* NumberingToolBoxControl::createPopupWindow( vcl::Window* pParent )
return
new
NumberingPopup
(
*
this
,
m_xFrame
,
pParent
,
mbBulletItem
);
}
bool
NumberingToolBoxControl
::
IsInImpressDraw
()
{
return
(
m_sModuleName
==
"com.sun.star.presentation.PresentationDocument"
||
m_sModuleName
==
"com.sun.star.drawing.DrawingDocument"
);
}
void
SAL_CALL
NumberingToolBoxControl
::
statusChanged
(
const
css
::
frame
::
FeatureStateEvent
&
rEvent
)
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
)
{
...
...
sw/source/uibase/shells/txtnum.cxx
Dosyayı görüntüle @
cb6ced50
...
...
@@ -186,6 +186,9 @@ void SwTextShell::ExecEnterNum(SfxRequest &rReq)
boost
::
scoped_ptr
<
SfxAbstractTabDialog
>
pDlg
(
pFact
->
CreateSwTabDialog
(
DLG_SVXTEST_NUM_BULLET
,
GetView
().
GetWindow
(),
&
aSet
,
GetShell
()));
OSL_ENSURE
(
pDlg
,
"Dialog creation failed!"
);
SFX_REQUEST_ARG
(
rReq
,
pPageItem
,
SfxStringItem
,
FN_PARAM_1
,
false
);
if
(
pPageItem
)
pDlg
->
SetCurPageId
(
OUStringToOString
(
pPageItem
->
GetValue
(),
RTL_TEXTENCODING_UTF8
)
);
const
short
nRet
=
pDlg
->
Execute
();
const
SfxPoolItem
*
pItem
;
if
(
RET_OK
==
nRet
)
...
...
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