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
fc233b52
Kaydet (Commit)
fc233b52
authored
Nis 22, 2016
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Avoid reserved identifiers
Change-Id: I3542622f6b3752f7254abd07d9f3a8141f10c3dc
üst
046dc22c
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
34 additions
and
34 deletions
+34
-34
pres.hxx
sd/inc/pres.hxx
+2
-2
sdpage.cxx
sd/source/core/sdpage.cxx
+5
-5
slidelayoutcontroller.cxx
sd/source/ui/controller/slidelayoutcontroller.cxx
+2
-2
ToolBarManager.hxx
sd/source/ui/inc/ToolBarManager.hxx
+3
-3
LayoutMenu.cxx
sd/source/ui/sidebar/LayoutMenu.cxx
+1
-1
SlsRequestPriorityClass.hxx
sd/source/ui/slidesorter/cache/SlsRequestPriorityClass.hxx
+4
-4
SlsRequestQueue.cxx
sd/source/ui/slidesorter/cache/SlsRequestQueue.cxx
+2
-2
SlsTheme.hxx
sd/source/ui/slidesorter/inc/view/SlsTheme.hxx
+3
-3
SlsTheme.cxx
sd/source/ui/slidesorter/view/SlsTheme.cxx
+3
-3
DrawController.cxx
sd/source/ui/unoidl/DrawController.cxx
+2
-2
ToolBarManager.cxx
sd/source/ui/view/ToolBarManager.cxx
+2
-2
ViewShellImplementation.cxx
sd/source/ui/view/ViewShellImplementation.cxx
+2
-2
viewshe3.cxx
sd/source/ui/view/viewshe3.cxx
+1
-1
layoutlist.xml
sd/xml/layoutlist.xml
+1
-1
layoutlist.xml
...-template/user/config/soffice.cfg/simpress/layoutlist.xml
+1
-1
No files found.
sd/inc/pres.hxx
Dosyayı görüntüle @
fc233b52
...
...
@@ -47,7 +47,7 @@ enum PresObjKind
enum
AutoLayout
{
// new layouts with enum/text/chart/org/clip merged to content
AUTOLAYOUT_
_
START
=
0
,
AUTOLAYOUT_START
=
0
,
AUTOLAYOUT_TITLE
=
0
,
///< Title Slide
AUTOLAYOUT_TITLE_CONTENT
=
1
,
///< Title, Content
AUTOLAYOUT_TITLE_2CONTENT
=
3
,
///< Title and 2 Content
...
...
@@ -98,7 +98,7 @@ enum AutoLayout
AUTOLAYOUT_HANDOUT9
=
31
,
AUTOLAYOUT_4CLIPART
=
33
,
AUTOLAYOUT_6CLIPART
=
34
,
AUTOLAYOUT_
_
END
AUTOLAYOUT_END
};
enum
PageKind
...
...
sd/source/core/sdpage.cxx
Dosyayı görüntüle @
fc233b52
...
...
@@ -1198,7 +1198,7 @@ LayoutDescriptor::LayoutDescriptor( int k0, int k1, int k2, int k3, int k4, int
static
const
LayoutDescriptor
&
GetLayoutDescriptor
(
AutoLayout
eLayout
)
{
static
const
LayoutDescriptor
aLayouts
[
AUTOLAYOUT_
_END
-
AUTOLAYOUT_
_START
]
=
static
const
LayoutDescriptor
aLayouts
[
AUTOLAYOUT_
END
-
AUTOLAYOUT
_START
]
=
{
LayoutDescriptor
(
PRESOBJ_TITLE
,
PRESOBJ_TEXT
),
// AUTOLAYOUT_TITLE
LayoutDescriptor
(
PRESOBJ_TITLE
,
PRESOBJ_OUTLINE
),
// AUTOLAYOUT_ENUM
...
...
@@ -1240,10 +1240,10 @@ static const LayoutDescriptor& GetLayoutDescriptor( AutoLayout eLayout )
PRESOBJ_OUTLINE
,
PRESOBJ_OUTLINE
,
PRESOBJ_OUTLINE
,
PRESOBJ_OUTLINE
)
};
if
(
(
eLayout
<
AUTOLAYOUT_
_START
)
||
(
eLayout
>=
AUTOLAYOUT_
_END
)
)
if
(
(
eLayout
<
AUTOLAYOUT_
START
)
||
(
eLayout
>=
AUTOLAYOUT
_END
)
)
eLayout
=
AUTOLAYOUT_NONE
;
return
aLayouts
[
eLayout
-
AUTOLAYOUT_
_
START
];
return
aLayouts
[
eLayout
-
AUTOLAYOUT_START
];
}
rtl
::
OUString
enumtoString
(
AutoLayout
aut
)
...
...
@@ -1272,8 +1272,8 @@ rtl::OUString enumtoString(AutoLayout aut)
case
AUTOLAYOUT_TITLE_6CONTENT
:
retstr
=
"AUTOLAYOUT_TITLE_6CONTENT"
;
break
;
case
AUTOLAYOUT_
_
START
:
retstr
=
"AUTOLAYOUT_
_
START"
;
case
AUTOLAYOUT_START
:
retstr
=
"AUTOLAYOUT_START"
;
break
;
case
AUTOLAYOUT_TITLE_2CONTENT_CONTENT
:
retstr
=
"AUTOLAYOUT_TITLE_2CONTENT_CONTENT"
;
...
...
sd/source/ui/controller/slidelayoutcontroller.cxx
Dosyayı görüntüle @
fc233b52
...
...
@@ -283,7 +283,7 @@ void LayoutToolbarMenu::SelectHdl(void* pControl)
Sequence
<
PropertyValue
>
aArgs
;
AutoLayout
eLayout
=
AUTOLAYOUT_
_
END
;
AutoLayout
eLayout
=
AUTOLAYOUT_END
;
OUString
sCommandURL
(
mrController
.
getCommandURL
()
);
...
...
@@ -296,7 +296,7 @@ void LayoutToolbarMenu::SelectHdl(void* pControl)
eLayout
=
static_cast
<
AutoLayout
>
(
mpLayoutSet2
->
GetSelectItemId
()
-
1
);
}
if
(
eLayout
!=
AUTOLAYOUT_
_
END
)
if
(
eLayout
!=
AUTOLAYOUT_END
)
{
aArgs
=
Sequence
<
PropertyValue
>
(
1
);
aArgs
[
0
].
Name
=
"WhatLayout"
;
...
...
sd/source/ui/inc/ToolBarManager.hxx
Dosyayı görüntüle @
fc233b52
...
...
@@ -120,14 +120,14 @@ public:
/** The set of tool bar groups.
*/
enum
ToolBarGroup
{
TBG_
_
FIRST
,
TBG_FIRST
,
TBG_PERMANENT
=
TBG_
_
FIRST
,
TBG_PERMANENT
=
TBG_FIRST
,
TBG_FUNCTION
,
TBG_COMMON_TASK
,
TBG_MASTER_MODE
,
TBG_
_
LAST
=
TBG_MASTER_MODE
TBG_LAST
=
TBG_MASTER_MODE
};
/** Reset the set of visible object bars in the specified group. Tool
...
...
sd/source/ui/sidebar/LayoutMenu.cxx
Dosyayı görüntüle @
fc233b52
...
...
@@ -681,7 +681,7 @@ void LayoutMenu::UpdateSelection()
// Get layout of current page.
AutoLayout
aLayout
(
pCurrentPage
->
GetAutoLayout
());
if
(
aLayout
<
AUTOLAYOUT_
_START
||
aLayout
>
AUTOLAYOUT_
_END
)
if
(
aLayout
<
AUTOLAYOUT_
START
||
aLayout
>
AUTOLAYOUT
_END
)
break
;
// Find the entry of the menu for to the layout.
...
...
sd/source/ui/slidesorter/cache/SlsRequestPriorityClass.hxx
Dosyayı görüntüle @
fc233b52
...
...
@@ -23,21 +23,21 @@
namespace
sd
{
namespace
slidesorter
{
namespace
cache
{
/** Each request for a preview creation has a priority. This enum defines
the available priorities. The special values MIN_
_CLASS and MAX_
_CLASS
the available priorities. The special values MIN_
CLASS and MAX
_CLASS
are/can be used for validation and have to be kept up-to-date.
*/
enum
RequestPriorityClass
{
MIN_
_
CLASS
=
0
,
MIN_CLASS
=
0
,
// The slide is visible. A preview does not yet exist.
VISIBLE_NO_PREVIEW
=
MIN_
_
CLASS
,
VISIBLE_NO_PREVIEW
=
MIN_CLASS
,
// The slide is visible. A preview exists but is not up-to-date anymore.
VISIBLE_OUTDATED_PREVIEW
,
// The slide is not visible.
NOT_VISIBLE
,
MAX_
_
CLASS
=
NOT_VISIBLE
MAX_CLASS
=
NOT_VISIBLE
};
}
}
}
// end of namespace ::sd::slidesorter::cache
...
...
sd/source/ui/slidesorter/cache/SlsRequestQueue.cxx
Dosyayı görüntüle @
fc233b52
...
...
@@ -103,7 +103,7 @@ void RequestQueue::AddRequest (
{
::
osl
::
MutexGuard
aGuard
(
maMutex
);
OSL_ASSERT
(
eRequestClass
>=
MIN_
_CLASS
&&
eRequestClass
<=
MAX_
_CLASS
);
OSL_ASSERT
(
eRequestClass
>=
MIN_
CLASS
&&
eRequestClass
<=
MAX
_CLASS
);
// If the request is already a member of the queue then remove it so
// that the following insertion will use the new prioritization.
...
...
@@ -174,7 +174,7 @@ void RequestQueue::ChangeClass (
{
::
osl
::
MutexGuard
aGuard
(
maMutex
);
OSL_ASSERT
(
eNewRequestClass
>=
MIN_
_CLASS
&&
eNewRequestClass
<=
MAX_
_CLASS
);
OSL_ASSERT
(
eNewRequestClass
>=
MIN_
CLASS
&&
eNewRequestClass
<=
MAX
_CLASS
);
Container
::
const_iterator
iRequest
(
::
std
::
find_if
(
...
...
sd/source/ui/slidesorter/inc/view/SlsTheme.hxx
Dosyayı görüntüle @
fc233b52
...
...
@@ -71,7 +71,7 @@ public:
Color_Selection
,
Color_PreviewBorder
,
Color_PageCountFontColor
,
_
ColorType_Size_
ColorType_Size_
};
ColorData
GetColor
(
const
ColorType
eType
);
...
...
@@ -83,7 +83,7 @@ public:
Gradient_MouseOverSelected
,
Gradient_MouseOverSelectedAndFocusedPage
,
Gradient_FocusedPage
,
_
GradientColorType_Size_
GradientColorType_Size_
};
enum
GradientColorClass
{
Border1
,
...
...
@@ -111,7 +111,7 @@ public:
Icon_RawInsertShadow
,
Icon_HideSlideOverlay
,
Icon_FocusBorder
,
_
IconType_Size_
IconType_Size_
};
const
BitmapEx
&
GetIcon
(
const
IconType
eType
);
...
...
sd/source/ui/slidesorter/view/SlsTheme.cxx
Dosyayı görüntüle @
fc233b52
...
...
@@ -69,7 +69,7 @@ Theme::Theme (const std::shared_ptr<controller::Properties>& rpProperties)
{
LocalResource
aResource
(
RID_SLIDESORTER_ICONS
);
maColor
.
resize
(
_
ColorType_Size_
);
maColor
.
resize
(
ColorType_Size_
);
maColor
[
Color_Background
]
=
maBackgroundColor
;
maColor
[
Color_PageNumberDefault
]
=
0x0808080
;
maColor
[
Color_PageNumberHover
]
=
0x4c4c4c
;
...
...
@@ -90,7 +90,7 @@ void Theme::Update (const std::shared_ptr<controller::Properties>& rpProperties)
maColor
[
Color_Background
]
=
maBackgroundColor
;
maGradients
.
resize
(
_
GradientColorType_Size_
);
maGradients
.
resize
(
GradientColorType_Size_
);
maColor
[
Color_Background
]
=
maBackgroundColor
;
const
ColorData
aSelectionColor
(
rpProperties
->
GetSelectionColor
().
GetColor
());
...
...
@@ -119,7 +119,7 @@ void Theme::Update (const std::shared_ptr<controller::Properties>& rpProperties)
if
(
maIcons
.
empty
())
{
LocalResource
aResource
(
RID_SLIDESORTER_ICONS
);
maIcons
.
resize
(
_
IconType_Size_
);
maIcons
.
resize
(
IconType_Size_
);
InitializeIcon
(
Icon_RawShadow
,
IMAGE_SHADOW
);
InitializeIcon
(
Icon_RawInsertShadow
,
IMAGE_INSERT_SHADOW
);
...
...
sd/source/ui/unoidl/DrawController.cxx
Dosyayı görüntüle @
fc233b52
...
...
@@ -720,13 +720,13 @@ sal_Bool SAL_CALL DrawController::isFormDesignMode( ) throw (uno::RuntimeExcept
return
bIsDesignMode
;
}
void
SAL_CALL
DrawController
::
setFormDesignMode
(
sal_Bool
_
DesignMode
)
throw
(
uno
::
RuntimeException
,
std
::
exception
)
void
SAL_CALL
DrawController
::
setFormDesignMode
(
sal_Bool
DesignMode
)
throw
(
uno
::
RuntimeException
,
std
::
exception
)
{
SolarMutexGuard
aGuard
;
FmFormShell
*
pFormShell
=
mpBase
->
GetFormShellManager
()
->
GetFormShell
();
if
(
pFormShell
)
pFormShell
->
SetDesignMode
(
_
DesignMode
);
pFormShell
->
SetDesignMode
(
DesignMode
);
}
uno
::
Reference
<
awt
::
XControl
>
SAL_CALL
DrawController
::
getControl
(
const
uno
::
Reference
<
awt
::
XControlModel
>&
xModel
)
throw
(
container
::
NoSuchElementException
,
uno
::
RuntimeException
,
std
::
exception
)
...
...
sd/source/ui/view/ToolBarManager.cxx
Dosyayı görüntüle @
fc233b52
...
...
@@ -612,7 +612,7 @@ void ToolBarManager::Implementation::ResetToolBars (ToolBarGroup eGroup)
void
ToolBarManager
::
Implementation
::
ResetAllToolBars
()
{
SAL_INFO
(
"sd.view"
,
OSL_THIS_FUNC
<<
": resetting all tool bars"
);
for
(
int
i
=
TBG_
_FIRST
;
i
<=
TBG_
_LAST
;
++
i
)
for
(
int
i
=
TBG_
FIRST
;
i
<=
TBG
_LAST
;
++
i
)
ResetToolBars
((
ToolBarGroup
)
i
);
}
...
...
@@ -1258,7 +1258,7 @@ bool ToolBarList::RemoveToolBar (
void
ToolBarList
::
MakeRequestedToolBarList
(
NameList
&
rRequestedToolBars
)
const
{
for
(
int
i
=
sd
::
ToolBarManager
::
TBG_
_FIRST
;
i
<=
sd
::
ToolBarManager
::
TBG_
_LAST
;
++
i
)
for
(
int
i
=
sd
::
ToolBarManager
::
TBG_
FIRST
;
i
<=
sd
::
ToolBarManager
::
TBG
_LAST
;
++
i
)
{
::
sd
::
ToolBarManager
::
ToolBarGroup
eGroup
=
(
::
sd
::
ToolBarManager
::
ToolBarGroup
)
i
;
Groups
::
const_iterator
iGroup
(
maGroups
.
find
(
eGroup
));
...
...
sd/source/ui/view/ViewShellImplementation.cxx
Dosyayı görüntüle @
fc233b52
...
...
@@ -129,8 +129,8 @@ void ViewShell::Implementation::ProcessModifyPageSlot (
const
SfxBoolItem
*
pBVisible
=
rRequest
.
GetArg
<
SfxBoolItem
>
(
ID_VAL_ISPAGEBACK
);
const
SfxBoolItem
*
pBObjsVisible
=
rRequest
.
GetArg
<
SfxBoolItem
>
(
ID_VAL_ISPAGEOBJ
);
AutoLayout
aLayout
((
AutoLayout
)
pNewAutoLayout
->
GetValue
());
if
(
aLayout
>=
AUTOLAYOUT_
_
START
&&
aLayout
<
AUTOLAYOUT_
_
END
)
if
(
aLayout
>=
AUTOLAYOUT_START
&&
aLayout
<
AUTOLAYOUT_END
)
{
aNewName
=
pNewName
->
GetValue
();
aNewAutoLayout
=
(
AutoLayout
)
pNewAutoLayout
->
GetValue
();
...
...
sd/source/ui/view/viewshe3.cxx
Dosyayı görüntüle @
fc233b52
...
...
@@ -258,7 +258,7 @@ SdPage* ViewShell::CreateOrDuplicatePage (
const
SfxBoolItem
*
pIsPageBack
=
rRequest
.
GetArg
<
SfxBoolItem
>
(
ID_VAL_ISPAGEBACK
);
const
SfxBoolItem
*
pIsPageObj
=
rRequest
.
GetArg
<
SfxBoolItem
>
(
ID_VAL_ISPAGEOBJ
);
if
(
CHECK_RANGE
(
AUTOLAYOUT_
_START
,
(
AutoLayout
)
pLayout
->
GetValue
(),
AUTOLAYOUT_
_END
))
if
(
CHECK_RANGE
(
AUTOLAYOUT_
START
,
(
AutoLayout
)
pLayout
->
GetValue
(),
AUTOLAYOUT
_END
))
{
if
(
ePageKind
==
PK_NOTES
)
{
...
...
sd/xml/layoutlist.xml
Dosyayı görüntüle @
fc233b52
...
...
@@ -49,7 +49,7 @@
<presobj
kind=
"PRESOBJ_OUTLINE5"
relative-height=
"0.477"
relative-width=
"0.322"
relative-posX=
"1.05"
relative-posY=
"1.095"
/>
<presobj
kind=
"PRESOBJ_OUTLINE6"
relative-height=
"0.477"
relative-width=
"0.322"
relative-posX=
"0"
relative-posY=
"1.095"
/>
</layout>
<layout
type=
"AUTOLAYOUT_
_
START"
>
<layout
type=
"AUTOLAYOUT_START"
>
<presobj
kind=
"PRESOBJ_TITLE"
relative-height=
"1"
relative-width=
"1"
relative-posX=
"0"
relative-posY=
"0"
/>
<presobj
kind=
"PRESOBJ_OUTLINE1"
relative-height=
"1"
relative-width=
"1"
relative-posX=
"0"
relative-posY=
"0"
/>
</layout>
...
...
test/user-template/user/config/soffice.cfg/simpress/layoutlist.xml
Dosyayı görüntüle @
fc233b52
...
...
@@ -49,7 +49,7 @@
<presobj
kind=
"PRESOBJ_OUTLINE5"
relative-height=
"0.477"
relative-width=
"0.322"
relative-posX=
"1.05"
relative-posY=
"1.095"
/>
<presobj
kind=
"PRESOBJ_OUTLINE6"
relative-height=
"0.477"
relative-width=
"0.322"
relative-posX=
"0"
relative-posY=
"1.095"
/>
</layout>
<layout
type=
"AUTOLAYOUT_
_
START"
>
<layout
type=
"AUTOLAYOUT_START"
>
<presobj
kind=
"PRESOBJ_TITLE"
relative-height=
"1"
relative-width=
"1"
relative-posX=
"0"
relative-posY=
"0"
/>
<presobj
kind=
"PRESOBJ_OUTLINE1"
relative-height=
"1"
relative-width=
"1"
relative-posX=
"0"
relative-posY=
"0"
/>
</layout>
...
...
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