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
0d68db26
Kaydet (Commit)
0d68db26
authored
Eki 09, 2013
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert sw/source/ui/inc/f*.hxx from String to OUString
Change-Id: Ia4c5d157bab7cce5aaaa78bad48f5083bc3ff8c9
üst
e8d04825
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
27 additions
and
28 deletions
+27
-28
fontcfg.cxx
sw/source/ui/config/fontcfg.cxx
+1
-1
fontcfg.hxx
sw/source/ui/inc/fontcfg.hxx
+14
-14
formatclipboard.hxx
sw/source/ui/inc/formatclipboard.hxx
+2
-2
formedt.hxx
sw/source/ui/inc/formedt.hxx
+0
-1
frmpage.hxx
sw/source/ui/inc/frmpage.hxx
+2
-2
formatclipboard.cxx
sw/source/ui/uiview/formatclipboard.cxx
+8
-8
No files found.
sw/source/ui/config/fontcfg.cxx
Dosyayı görüntüle @
0d68db26
...
...
@@ -225,7 +225,7 @@ bool SwStdFontConfig::IsFontDefault(sal_uInt16 nFontType) const
return
bSame
;
}
String
SwStdFontConfig
::
GetDefaultFor
(
sal_uInt16
nFontType
,
LanguageType
eLang
)
OU
String
SwStdFontConfig
::
GetDefaultFor
(
sal_uInt16
nFontType
,
LanguageType
eLang
)
{
sal_uInt16
nFontId
;
switch
(
nFontType
)
...
...
sw/source/ui/inc/fontcfg.hxx
Dosyayı görüntüle @
0d68db26
...
...
@@ -56,12 +56,12 @@
class
SW_DLLPUBLIC
SwStdFontConfig
:
public
utl
::
ConfigItem
{
String
sDefaultFonts
[
DEF_FONT_COUNT
];
OUString
sDefaultFonts
[
DEF_FONT_COUNT
];
sal_Int32
nDefaultFontHeight
[
DEF_FONT_COUNT
];
SW_DLLPRIVATE
com
::
sun
::
star
::
uno
::
Sequence
<
OUString
>
GetPropertyNames
();
void
ChangeString
(
sal_uInt16
nFontType
,
const
String
&
rSet
)
void
ChangeString
(
sal_uInt16
nFontType
,
const
OU
String
&
rSet
)
{
if
(
sDefaultFonts
[
nFontType
]
!=
rSet
)
{
...
...
@@ -79,25 +79,25 @@ public:
virtual
void
Commit
();
virtual
void
Notify
(
const
::
com
::
sun
::
star
::
uno
::
Sequence
<
OUString
>&
aPropertyNames
);
const
String
&
GetFontStandard
(
sal_uInt8
nFontGroup
)
const
{
return
sDefaultFonts
[
FONT_STANDARD
+
FONT_PER_GROUP
*
nFontGroup
];}
const
String
&
GetFontOutline
(
sal_uInt8
nFontGroup
)
const
{
return
sDefaultFonts
[
FONT_OUTLINE
+
FONT_PER_GROUP
*
nFontGroup
];}
const
String
&
GetFontList
(
sal_uInt8
nFontGroup
)
const
{
return
sDefaultFonts
[
FONT_LIST
+
FONT_PER_GROUP
*
nFontGroup
];}
const
String
&
GetFontCaption
(
sal_uInt8
nFontGroup
)
const
{
return
sDefaultFonts
[
FONT_CAPTION
+
FONT_PER_GROUP
*
nFontGroup
];}
const
String
&
GetFontIndex
(
sal_uInt8
nFontGroup
)
const
{
return
sDefaultFonts
[
FONT_INDEX
+
FONT_PER_GROUP
*
nFontGroup
];}
const
OU
String
&
GetFontStandard
(
sal_uInt8
nFontGroup
)
const
{
return
sDefaultFonts
[
FONT_STANDARD
+
FONT_PER_GROUP
*
nFontGroup
];}
const
OU
String
&
GetFontOutline
(
sal_uInt8
nFontGroup
)
const
{
return
sDefaultFonts
[
FONT_OUTLINE
+
FONT_PER_GROUP
*
nFontGroup
];}
const
OU
String
&
GetFontList
(
sal_uInt8
nFontGroup
)
const
{
return
sDefaultFonts
[
FONT_LIST
+
FONT_PER_GROUP
*
nFontGroup
];}
const
OU
String
&
GetFontCaption
(
sal_uInt8
nFontGroup
)
const
{
return
sDefaultFonts
[
FONT_CAPTION
+
FONT_PER_GROUP
*
nFontGroup
];}
const
OU
String
&
GetFontIndex
(
sal_uInt8
nFontGroup
)
const
{
return
sDefaultFonts
[
FONT_INDEX
+
FONT_PER_GROUP
*
nFontGroup
];}
const
String
&
GetFontFor
(
sal_uInt16
nFontType
)
const
{
return
sDefaultFonts
[
nFontType
];}
const
OU
String
&
GetFontFor
(
sal_uInt16
nFontType
)
const
{
return
sDefaultFonts
[
nFontType
];}
bool
IsFontDefault
(
sal_uInt16
nFontType
)
const
;
void
SetFontStandard
(
const
String
&
rSet
,
sal_uInt8
nFontGroup
)
void
SetFontStandard
(
const
OU
String
&
rSet
,
sal_uInt8
nFontGroup
)
{
ChangeString
(
FONT_STANDARD
+
FONT_PER_GROUP
*
nFontGroup
,
rSet
);}
void
SetFontOutline
(
const
String
&
rSet
,
sal_uInt8
nFontGroup
)
void
SetFontOutline
(
const
OU
String
&
rSet
,
sal_uInt8
nFontGroup
)
{
ChangeString
(
FONT_OUTLINE
+
FONT_PER_GROUP
*
nFontGroup
,
rSet
);}
void
SetFontList
(
const
String
&
rSet
,
sal_uInt8
nFontGroup
)
void
SetFontList
(
const
OU
String
&
rSet
,
sal_uInt8
nFontGroup
)
{
ChangeString
(
FONT_LIST
+
FONT_PER_GROUP
*
nFontGroup
,
rSet
);}
void
SetFontCaption
(
const
String
&
rSet
,
sal_uInt8
nFontGroup
)
void
SetFontCaption
(
const
OU
String
&
rSet
,
sal_uInt8
nFontGroup
)
{
ChangeString
(
FONT_CAPTION
+
FONT_PER_GROUP
*
nFontGroup
,
rSet
);}
void
SetFontIndex
(
const
String
&
rSet
,
sal_uInt8
nFontGroup
)
void
SetFontIndex
(
const
OU
String
&
rSet
,
sal_uInt8
nFontGroup
)
{
ChangeString
(
FONT_INDEX
+
FONT_PER_GROUP
*
nFontGroup
,
rSet
);}
void
SetFontHeight
(
sal_Int32
nHeight
,
sal_uInt8
nFont
,
sal_uInt8
nScriptType
)
...
...
@@ -105,7 +105,7 @@ public:
sal_Int32
GetFontHeight
(
sal_uInt8
nFont
,
sal_uInt8
nScriptType
,
LanguageType
eLang
);
static
String
GetDefaultFor
(
sal_uInt16
nFontType
,
LanguageType
eLang
);
static
OU
String
GetDefaultFor
(
sal_uInt16
nFontType
,
LanguageType
eLang
);
static
sal_Int32
GetDefaultHeightFor
(
sal_uInt16
nFontType
,
LanguageType
eLang
);
};
#endif
...
...
sw/source/ui/inc/formatclipboard.hxx
Dosyayı görüntüle @
0d68db26
...
...
@@ -82,9 +82,9 @@ private:
SfxItemSet
*
m_pTableItemSet
;
/** name of the character format (if it exist) */
String
m_aCharStyle
;
OU
String
m_aCharStyle
;
/** name of the paragraph format (if it exist) */
String
m_aParaStyle
;
OU
String
m_aParaStyle
;
//no frame style because it contains position information
/** specify if the Paste function have to clear the current object */
...
...
sw/source/ui/inc/formedt.hxx
Dosyayı görüntüle @
0d68db26
...
...
@@ -79,7 +79,6 @@ public:
SwIdxFormDlg
(
Window
*
pParent
,
SwWrtShell
&
rShell
,
const
SwForm
&
rForm
);
~
SwIdxFormDlg
();
static
sal_Bool
IsNoNum
(
SwWrtShell
&
rSh
,
const
String
&
rName
);
const
SwForm
&
GetTOXForm
();
};
...
...
sw/source/ui/inc/frmpage.hxx
Dosyayı görüntüle @
0d68db26
...
...
@@ -213,8 +213,8 @@ class SwGrfExtPage: public SfxTabPage
Edit
*
m_pConnectED
;
PushButton
*
m_pBrowseBT
;
String
aFilterName
;
String
aGrfName
,
aNewGrfName
;
OUString
aFilterName
;
OUString
aGrfName
,
aNewGrfName
;
::
sfx2
::
FileDialogHelper
*
pGrfDlg
;
...
...
sw/source/ui/uiview/formatclipboard.cxx
Dosyayı görüntüle @
0d68db26
...
...
@@ -244,8 +244,8 @@ bool SwFormatClipboard::HasContent() const
return
m_pItemSet_TxtAttr
!=
0
||
m_pItemSet_ParAttr
!=
0
||
m_pTableItemSet
!=
0
||
m_aCharStyle
.
Len
()
||
m_aParaStyle
.
Len
()
||
!
m_aCharStyle
.
isEmpty
()
||
!
m_aParaStyle
.
isEmpty
()
;
}
bool
SwFormatClipboard
::
HasContentForThisType
(
int
nSelectionType
)
const
...
...
@@ -479,7 +479,7 @@ void SwFormatClipboard::Paste( SwWrtShell& rWrtShell, SfxStyleSheetBasePool* pPo
if
(
pPool
)
{
// if there is a named text format recorded and the user wants to apply it
if
(
m_aCharStyle
.
Len
()
&&
!
bNoCharacterFormats
)
if
(
!
m_aCharStyle
.
isEmpty
()
&&
!
bNoCharacterFormats
)
{
// look for the named text format in the pool
SwDocStyleSheet
*
pStyle
=
static_cast
<
SwDocStyleSheet
*>
(
pPool
->
Find
(
m_aCharStyle
,
SFX_STYLE_FAMILY_CHAR
));
...
...
@@ -498,7 +498,7 @@ void SwFormatClipboard::Paste( SwWrtShell& rWrtShell, SfxStyleSheetBasePool* pPo
}
// if there is a named paragraph format recorded and the user wants to apply it
if
(
m_aParaStyle
.
Len
()
&&
!
bNoParagraphFormats
)
if
(
!
m_aParaStyle
.
isEmpty
()
&&
!
bNoParagraphFormats
)
{
// look for the named pragraph format in the pool
SwDocStyleSheet
*
pStyle
=
static_cast
<
SwDocStyleSheet
*>
(
pPool
->
Find
(
m_aParaStyle
,
SFX_STYLE_FAMILY_PARA
));
...
...
@@ -599,10 +599,10 @@ void SwFormatClipboard::Erase()
delete
m_pTableItemSet
;
m_pTableItemSet
=
0
;
if
(
m_aCharStyle
.
Len
()
)
m_aCharStyle
.
Erase
()
;
if
(
m_aParaStyle
.
Len
()
)
m_aParaStyle
.
Erase
()
;
if
(
!
m_aCharStyle
.
isEmpty
()
)
m_aCharStyle
=
""
;
if
(
!
m_aParaStyle
.
isEmpty
()
)
m_aParaStyle
=
""
;
m_bPersistentCopy
=
false
;
}
...
...
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