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
97e6d9a6
Kaydet (Commit)
97e6d9a6
authored
Şub 23, 2011
tarafından
Martin Kepplinger
Kaydeden (comit)
Christina Rossmanith
Şub 23, 2011
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
translates all code-comments of writer/sw/source/ui/chrdlg
üst
ac436499
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
36 additions
and
37 deletions
+36
-37
break.cxx
sw/source/ui/chrdlg/break.cxx
+8
-8
ccoll.cxx
sw/source/ui/chrdlg/ccoll.cxx
+1
-1
chardlg.cxx
sw/source/ui/chrdlg/chardlg.cxx
+3
-3
drpcps.cxx
sw/source/ui/chrdlg/drpcps.cxx
+19
-19
pardlg.cxx
sw/source/ui/chrdlg/pardlg.cxx
+1
-2
swbreak.src
sw/source/ui/chrdlg/swbreak.src
+2
-2
swuiccoll.cxx
sw/source/ui/chrdlg/swuiccoll.cxx
+1
-1
tblnumfm.cxx
sw/source/ui/chrdlg/tblnumfm.cxx
+1
-1
No files found.
sw/source/ui/chrdlg/break.cxx
Dosyayı görüntüle @
97e6d9a6
...
@@ -80,7 +80,7 @@ IMPL_LINK_INLINE_START( SwBreakDlg, ClickHdl, void *, EMPTYARG )
...
@@ -80,7 +80,7 @@ IMPL_LINK_INLINE_START( SwBreakDlg, ClickHdl, void *, EMPTYARG )
IMPL_LINK_INLINE_END
(
SwBreakDlg
,
ClickHdl
,
void
*
,
EMPTYARG
)
IMPL_LINK_INLINE_END
(
SwBreakDlg
,
ClickHdl
,
void
*
,
EMPTYARG
)
/*------------------------------------------------------------------------
/*------------------------------------------------------------------------
Beschreibung: Handler fuer Aendern Seitenumm
er
Description: Handler for Change Page Numb
er
------------------------------------------------------------------------*/
------------------------------------------------------------------------*/
IMPL_LINK_INLINE_START
(
SwBreakDlg
,
PageNumHdl
,
CheckBox
*
,
pBox
)
IMPL_LINK_INLINE_START
(
SwBreakDlg
,
PageNumHdl
,
CheckBox
*
,
pBox
)
...
@@ -92,7 +92,7 @@ IMPL_LINK_INLINE_START( SwBreakDlg, PageNumHdl, CheckBox *, pBox )
...
@@ -92,7 +92,7 @@ IMPL_LINK_INLINE_START( SwBreakDlg, PageNumHdl, CheckBox *, pBox )
IMPL_LINK_INLINE_END
(
SwBreakDlg
,
PageNumHdl
,
CheckBox
*
,
pBox
)
IMPL_LINK_INLINE_END
(
SwBreakDlg
,
PageNumHdl
,
CheckBox
*
,
pBox
)
/*------------------------------------------------------------------------
/*------------------------------------------------------------------------
Beschreibung: Durch Aendern der Seitennummer wird die Checkbox gecheckt
.
Description: By changing the Page number the checkbox is checked
.
------------------------------------------------------------------------*/
------------------------------------------------------------------------*/
IMPL_LINK_INLINE_START
(
SwBreakDlg
,
PageNumModifyHdl
,
Edit
*
,
EMPTYARG
)
IMPL_LINK_INLINE_START
(
SwBreakDlg
,
PageNumModifyHdl
,
Edit
*
,
EMPTYARG
)
...
@@ -103,10 +103,10 @@ IMPL_LINK_INLINE_START( SwBreakDlg, PageNumModifyHdl, Edit *, EMPTYARG )
...
@@ -103,10 +103,10 @@ IMPL_LINK_INLINE_START( SwBreakDlg, PageNumModifyHdl, Edit *, EMPTYARG )
IMPL_LINK_INLINE_END
(
SwBreakDlg
,
PageNumModifyHdl
,
Edit
*
,
EMPTYARG
)
IMPL_LINK_INLINE_END
(
SwBreakDlg
,
PageNumModifyHdl
,
Edit
*
,
EMPTYARG
)
/*------------------------------------------------------------------------
/*------------------------------------------------------------------------
Beschreibung:
Ok-Handler;
Description:
Ok-Handler;
prueft, ob die Seitenummer nPage eine legale Seitennumm
er
checks whether pagenumber nPage is a legal pagenumb
er
ist (linke Seiten mit geraden Nummern etc. bei einer Seitenvorlag
e
(left pages with even numbers etc. for a page templat
e
mit wechselnden Seiten
)
with alternating pages
)
------------------------------------------------------------------------*/
------------------------------------------------------------------------*/
IMPL_LINK
(
SwBreakDlg
,
OkHdl
,
Button
*
,
EMPTYARG
)
IMPL_LINK
(
SwBreakDlg
,
OkHdl
,
Button
*
,
EMPTYARG
)
...
@@ -114,7 +114,7 @@ IMPL_LINK( SwBreakDlg, OkHdl, Button *, EMPTYARG )
...
@@ -114,7 +114,7 @@ IMPL_LINK( SwBreakDlg, OkHdl, Button *, EMPTYARG )
if
(
aPageNumBox
.
IsChecked
())
{
if
(
aPageNumBox
.
IsChecked
())
{
// In case of differing page descriptions, test validity
// In case of differing page descriptions, test validity
const
USHORT
nPos
=
aPageCollBox
.
GetSelectEntryPos
();
const
USHORT
nPos
=
aPageCollBox
.
GetSelectEntryPos
();
//
auf Position 0 steht 'Ohne
'.
//
position 0 says 'Without
'.
const
SwPageDesc
*
pPageDesc
;
const
SwPageDesc
*
pPageDesc
;
if
(
0
!=
nPos
&&
LISTBOX_ENTRY_NOTFOUND
!=
nPos
)
if
(
0
!=
nPos
&&
LISTBOX_ENTRY_NOTFOUND
!=
nPos
)
pPageDesc
=
rSh
.
FindPageDescByName
(
aPageCollBox
.
GetSelectEntry
(),
pPageDesc
=
rSh
.
FindPageDescByName
(
aPageCollBox
.
GetSelectEntry
(),
...
@@ -225,7 +225,7 @@ void SwBreakDlg::CheckEnable()
...
@@ -225,7 +225,7 @@ void SwBreakDlg::CheckEnable()
bEnable
&=
bPage
;
bEnable
&=
bPage
;
if
(
bEnable
)
if
(
bEnable
)
{
{
//
auf Position 0 steht 'Ohne' Seitenvorlag
e.
//
position 0 says 'Without' page templat
e.
const
USHORT
nPos
=
aPageCollBox
.
GetSelectEntryPos
();
const
USHORT
nPos
=
aPageCollBox
.
GetSelectEntryPos
();
if
(
0
==
nPos
||
LISTBOX_ENTRY_NOTFOUND
==
nPos
)
if
(
0
==
nPos
||
LISTBOX_ENTRY_NOTFOUND
==
nPos
)
bEnable
=
FALSE
;
bEnable
=
FALSE
;
...
...
sw/source/ui/chrdlg/ccoll.cxx
Dosyayı görüntüle @
97e6d9a6
...
@@ -149,7 +149,7 @@ CommandStruct SwCondCollItem::aCmds[] =
...
@@ -149,7 +149,7 @@ CommandStruct SwCondCollItem::aCmds[] =
TYPEINIT1_AUTOFACTORY
(
SwCondCollItem
,
SfxPoolItem
)
TYPEINIT1_AUTOFACTORY
(
SwCondCollItem
,
SfxPoolItem
)
/****************************************************************************
/****************************************************************************
Item f
uer den Transport der Bedingungstabel
le
Item f
or the transport of the condition tab
le
****************************************************************************/
****************************************************************************/
...
...
sw/source/ui/chrdlg/chardlg.cxx
Dosyayı görüntüle @
97e6d9a6
...
@@ -52,7 +52,7 @@
...
@@ -52,7 +52,7 @@
#include <uitool.hxx>
#include <uitool.hxx>
#include <fmtinfmt.hxx>
#include <fmtinfmt.hxx>
#include <macassgn.hxx>
#include <macassgn.hxx>
#include <chrdlg.hxx> //
der D
ialog
#include <chrdlg.hxx> //
the d
ialog
#include <swmodule.hxx>
#include <swmodule.hxx>
#include <poolfmt.hxx>
#include <poolfmt.hxx>
...
@@ -116,7 +116,7 @@ SwCharDlg::~SwCharDlg()
...
@@ -116,7 +116,7 @@ SwCharDlg::~SwCharDlg()
}
}
/*--------------------------------------------------------------------
/*--------------------------------------------------------------------
Beschreibung: FontList setzen
Description: set FontList
--------------------------------------------------------------------*/
--------------------------------------------------------------------*/
void
SwCharDlg
::
PageCreated
(
USHORT
nId
,
SfxTabPage
&
rPage
)
void
SwCharDlg
::
PageCreated
(
USHORT
nId
,
SfxTabPage
&
rPage
)
...
@@ -287,7 +287,7 @@ BOOL SwCharURLPage::FillItemSet(SfxItemSet& rSet)
...
@@ -287,7 +287,7 @@ BOOL SwCharURLPage::FillItemSet(SfxItemSet& rSet)
bModified
|=
aNameED
.
IsModified
();
bModified
|=
aNameED
.
IsModified
();
bModified
|=
aTargetFrmLB
.
GetSavedValue
()
!=
aTargetFrmLB
.
GetText
();
bModified
|=
aTargetFrmLB
.
GetSavedValue
()
!=
aTargetFrmLB
.
GetText
();
//
zuerst die gueltigen Einstellungen setzen
//
set valid settings first
String
sEntry
=
aVisitedLB
.
GetSelectEntry
();
String
sEntry
=
aVisitedLB
.
GetSelectEntry
();
USHORT
nId
=
SwStyleNameMapper
::
GetPoolIdFromUIName
(
sEntry
,
nsSwGetPoolIdFromName
::
GET_POOLID_CHRFMT
);
USHORT
nId
=
SwStyleNameMapper
::
GetPoolIdFromUIName
(
sEntry
,
nsSwGetPoolIdFromName
::
GET_POOLID_CHRFMT
);
aINetFmt
.
SetVisitedFmtId
(
nId
);
aINetFmt
.
SetVisitedFmtId
(
nId
);
...
...
sw/source/ui/chrdlg/drpcps.cxx
Dosyayı görüntüle @
97e6d9a6
...
@@ -171,7 +171,7 @@ inline void SwDropCapsPict::InitPrinter( void )
...
@@ -171,7 +171,7 @@ inline void SwDropCapsPict::InitPrinter( void )
}
}
/****************************************************************************
/****************************************************************************
Default-String aus Zeichenanzahl erzeugen
(A, AB, ABC, ...)
Create Default-String from character-count
(A, AB, ABC, ...)
****************************************************************************/
****************************************************************************/
...
@@ -230,7 +230,7 @@ void SwDropCapsPict::UpdatePaintSettings( void )
...
@@ -230,7 +230,7 @@ void SwDropCapsPict::UpdatePaintSettings( void )
SwDropCapsPage
*
pPage
=
(
SwDropCapsPage
*
)
GetParent
();
SwDropCapsPage
*
pPage
=
(
SwDropCapsPage
*
)
GetParent
();
if
(
!
pPage
->
aTemplateBox
.
GetSelectEntryPos
())
if
(
!
pPage
->
aTemplateBox
.
GetSelectEntryPos
())
{
{
//
Font an Absatzanfang erfragen
//
query the Font at paragraph's beginning
pPage
->
rSh
.
SttCrsrMove
();
pPage
->
rSh
.
SttCrsrMove
();
pPage
->
rSh
.
Push
();
pPage
->
rSh
.
Push
();
pPage
->
rSh
.
ClearMark
();
pPage
->
rSh
.
ClearMark
();
...
@@ -251,7 +251,7 @@ void SwDropCapsPict::UpdatePaintSettings( void )
...
@@ -251,7 +251,7 @@ void SwDropCapsPict::UpdatePaintSettings( void )
}
}
else
else
{
{
//
Font an Zeichenvorlage erfragen
//
query Font at character template
SwCharFmt
*
pFmt
=
pPage
->
rSh
.
GetCharStyle
(
SwCharFmt
*
pFmt
=
pPage
->
rSh
.
GetCharStyle
(
pPage
->
aTemplateBox
.
GetSelectEntry
(),
pPage
->
aTemplateBox
.
GetSelectEntry
(),
SwWrtShell
::
GETSTYLE_CREATEANY
);
SwWrtShell
::
GETSTYLE_CREATEANY
);
...
@@ -325,7 +325,7 @@ void SwDropCapsPict::Paint(const Rectangle &/*rRect*/)
...
@@ -325,7 +325,7 @@ void SwDropCapsPict::Paint(const Rectangle &/*rRect*/)
for
(
USHORT
i
=
0
;
i
<
LINES
;
++
i
)
for
(
USHORT
i
=
0
;
i
<
LINES
;
++
i
)
DrawRect
(
Rectangle
(
Point
(
BORDER
,
nY0
+
i
*
mnTotLineH
),
Size
(
aOutputSizePixel
.
Width
()
-
2
*
BORDER
,
mnLineH
)));
DrawRect
(
Rectangle
(
Point
(
BORDER
,
nY0
+
i
*
mnTotLineH
),
Size
(
aOutputSizePixel
.
Width
()
-
2
*
BORDER
,
mnLineH
)));
// Text
hintergrund mit Abstand (240 twips ~ 1 Zeilenhoehe
)
// Text
background with gap (240 twips ~ 1 line height
)
ULONG
lDistance
=
mnDistance
;
ULONG
lDistance
=
mnDistance
;
USHORT
nDistW
=
(
USHORT
)
(
ULONG
)
(((
lDistance
*
100
)
/
240
)
*
mnTotLineH
)
/
100
;
USHORT
nDistW
=
(
USHORT
)
(
ULONG
)
(((
lDistance
*
100
)
/
240
)
*
mnTotLineH
)
/
100
;
SetFillColor
(
maBackColor
);
SetFillColor
(
maBackColor
);
...
@@ -335,7 +335,7 @@ void SwDropCapsPict::Paint(const Rectangle &/*rRect*/)
...
@@ -335,7 +335,7 @@ void SwDropCapsPict::Paint(const Rectangle &/*rRect*/)
aTextSize
.
Width
()
+=
nDistW
;
aTextSize
.
Width
()
+=
nDistW
;
DrawRect
(
Rectangle
(
Point
(
BORDER
,
nY0
),
aTextSize
)
);
DrawRect
(
Rectangle
(
Point
(
BORDER
,
nY0
),
aTextSize
)
);
//
Text zeichnen
//
draw Text
DrawPrev
(
Point
(
BORDER
,
nY0
-
mnLeading
)
);
DrawPrev
(
Point
(
BORDER
,
nY0
-
mnLeading
)
);
}
}
...
@@ -567,7 +567,7 @@ SwDropCapsPage::SwDropCapsPage(Window *pParent, const SfxItemSet &rSet) :
...
@@ -567,7 +567,7 @@ SwDropCapsPage::SwDropCapsPage(Window *pParent, const SfxItemSet &rSet) :
USHORT
nHtmlMode
=
::
GetHtmlMode
((
const
SwDocShell
*
)
SfxObjectShell
::
Current
());
USHORT
nHtmlMode
=
::
GetHtmlMode
((
const
SwDocShell
*
)
SfxObjectShell
::
Current
());
bHtmlMode
=
nHtmlMode
&
HTMLMODE_ON
?
TRUE
:
FALSE
;
bHtmlMode
=
nHtmlMode
&
HTMLMODE_ON
?
TRUE
:
FALSE
;
//
Im Vorlagendialog kann der Text nicht beeinflusst werden
//
In the template dialog the text is not influenceable
aTextText
.
Enable
(
!
bFormat
);
aTextText
.
Enable
(
!
bFormat
);
aTextEdit
.
Enable
(
!
bFormat
);
aTextEdit
.
Enable
(
!
bFormat
);
...
@@ -627,7 +627,7 @@ Page: Reset-Overload
...
@@ -627,7 +627,7 @@ Page: Reset-Overload
void
SwDropCapsPage
::
Reset
(
const
SfxItemSet
&
rSet
)
void
SwDropCapsPage
::
Reset
(
const
SfxItemSet
&
rSet
)
{
{
//
Zeichen, Zeilen, Abstand und T
ext
//
Characters, lines, gap and t
ext
SwFmtDrop
aFmtDrop
((
SwFmtDrop
&
)
rSet
.
Get
(
RES_PARATR_DROP
));
SwFmtDrop
aFmtDrop
((
SwFmtDrop
&
)
rSet
.
Get
(
RES_PARATR_DROP
));
if
(
aFmtDrop
.
GetLines
()
>
1
)
if
(
aFmtDrop
.
GetLines
()
>
1
)
{
{
...
@@ -674,7 +674,7 @@ void SwDropCapsPage::Reset(const SfxItemSet &rSet)
...
@@ -674,7 +674,7 @@ void SwDropCapsPage::Reset(const SfxItemSet &rSet)
}
}
/****************************************************************************
/****************************************************************************
Page: C
lick-Handler der CheckBox
Page: C
heckBox's Click-Handler
****************************************************************************/
****************************************************************************/
...
@@ -709,7 +709,7 @@ IMPL_LINK( SwDropCapsPage, ClickHdl, Button *, EMPTYARG )
...
@@ -709,7 +709,7 @@ IMPL_LINK( SwDropCapsPage, ClickHdl, Button *, EMPTYARG )
}
}
/****************************************************************************
/****************************************************************************
Page: C
lick-Handler der CheckBox
Page: C
heckBox's Click-Handler
****************************************************************************/
****************************************************************************/
...
@@ -725,7 +725,7 @@ IMPL_LINK( SwDropCapsPage, WholeWordHdl, CheckBox *, EMPTYARG )
...
@@ -725,7 +725,7 @@ IMPL_LINK( SwDropCapsPage, WholeWordHdl, CheckBox *, EMPTYARG )
}
}
/****************************************************************************
/****************************************************************************
Page:
Modify-Handler der SpinFields
Page:
SpinFields' Modify-Handler
****************************************************************************/
****************************************************************************/
...
@@ -733,7 +733,7 @@ IMPL_LINK( SwDropCapsPage, ModifyHdl, Edit *, pEdit )
...
@@ -733,7 +733,7 @@ IMPL_LINK( SwDropCapsPage, ModifyHdl, Edit *, pEdit )
{
{
String
sPreview
;
String
sPreview
;
//
Ggf. Text setzen
//
set text if applicable
if
(
pEdit
==
&
aDropCapsField
)
if
(
pEdit
==
&
aDropCapsField
)
{
{
USHORT
nVal
;
USHORT
nVal
;
...
@@ -763,7 +763,7 @@ IMPL_LINK( SwDropCapsPage, ModifyHdl, Edit *, pEdit )
...
@@ -763,7 +763,7 @@ IMPL_LINK( SwDropCapsPage, ModifyHdl, Edit *, pEdit )
if
(
bSetText
)
if
(
bSetText
)
aTextEdit
.
SetText
(
sPreview
);
aTextEdit
.
SetText
(
sPreview
);
}
}
else
if
(
pEdit
==
&
aTextEdit
)
//
Ggf. Anzahl setzen
else
if
(
pEdit
==
&
aTextEdit
)
//
set quantity if applicable
{
{
USHORT
nTmp
=
aTextEdit
.
GetText
().
Len
();
USHORT
nTmp
=
aTextEdit
.
GetText
().
Len
();
aDropCapsField
.
SetValue
(
Max
((
USHORT
)
1
,
nTmp
));
aDropCapsField
.
SetValue
(
Max
((
USHORT
)
1
,
nTmp
));
...
@@ -771,7 +771,7 @@ IMPL_LINK( SwDropCapsPage, ModifyHdl, Edit *, pEdit )
...
@@ -771,7 +771,7 @@ IMPL_LINK( SwDropCapsPage, ModifyHdl, Edit *, pEdit )
sPreview
=
aTextEdit
.
GetText
().
Copy
(
0
,
nTmp
);
sPreview
=
aTextEdit
.
GetText
().
Copy
(
0
,
nTmp
);
}
}
//
Bild anpassen
//
adjust image
if
(
pEdit
==
&
aDropCapsField
||
pEdit
==
&
aTextEdit
)
if
(
pEdit
==
&
aDropCapsField
||
pEdit
==
&
aTextEdit
)
pPict
->
SetText
(
sPreview
);
pPict
->
SetText
(
sPreview
);
else
if
(
pEdit
==
&
aLinesField
)
else
if
(
pEdit
==
&
aLinesField
)
...
@@ -785,7 +785,7 @@ IMPL_LINK( SwDropCapsPage, ModifyHdl, Edit *, pEdit )
...
@@ -785,7 +785,7 @@ IMPL_LINK( SwDropCapsPage, ModifyHdl, Edit *, pEdit )
}
}
/****************************************************************************
/****************************************************************************
Page:
Select-Handler der Template-Box
.
Page:
Template-Box' Select-Handler
.
*****************************************************************************/
*****************************************************************************/
...
@@ -811,13 +811,13 @@ void SwDropCapsPage::FillSet( SfxItemSet &rSet )
...
@@ -811,13 +811,13 @@ void SwDropCapsPage::FillSet( SfxItemSet &rSet )
BOOL
bOn
=
aDropCapsBox
.
IsChecked
();
BOOL
bOn
=
aDropCapsBox
.
IsChecked
();
if
(
bOn
)
if
(
bOn
)
{
{
//
Anzahl, Zeilen, Abstand
//
quantity, lines, gap
aFmt
.
GetChars
()
=
(
BYTE
)
aDropCapsField
.
GetValue
();
aFmt
.
GetChars
()
=
(
BYTE
)
aDropCapsField
.
GetValue
();
aFmt
.
GetLines
()
=
(
BYTE
)
aLinesField
.
GetValue
();
aFmt
.
GetLines
()
=
(
BYTE
)
aLinesField
.
GetValue
();
aFmt
.
GetDistance
()
=
(
USHORT
)
aDistanceField
.
Denormalize
(
aDistanceField
.
GetValue
(
FUNIT_TWIP
));
aFmt
.
GetDistance
()
=
(
USHORT
)
aDistanceField
.
Denormalize
(
aDistanceField
.
GetValue
(
FUNIT_TWIP
));
aFmt
.
GetWholeWord
()
=
aWholeWordCB
.
IsChecked
();
aFmt
.
GetWholeWord
()
=
aWholeWordCB
.
IsChecked
();
//
Vorlag
e
//
templat
e
if
(
aTemplateBox
.
GetSelectEntryPos
())
if
(
aTemplateBox
.
GetSelectEntryPos
())
aFmt
.
SetCharFmt
(
rSh
.
GetCharStyle
(
aTemplateBox
.
GetSelectEntry
()));
aFmt
.
SetCharFmt
(
rSh
.
GetCharStyle
(
aTemplateBox
.
GetSelectEntry
()));
}
}
...
@@ -828,14 +828,14 @@ void SwDropCapsPage::FillSet( SfxItemSet &rSet )
...
@@ -828,14 +828,14 @@ void SwDropCapsPage::FillSet( SfxItemSet &rSet )
aFmt
.
GetDistance
()
=
0
;
aFmt
.
GetDistance
()
=
0
;
}
}
//
Attribute setzen
//
set attributes
const
SfxPoolItem
*
pOldItem
;
const
SfxPoolItem
*
pOldItem
;
if
(
0
==
(
pOldItem
=
GetOldItem
(
rSet
,
FN_FORMAT_DROPCAPS
))
||
if
(
0
==
(
pOldItem
=
GetOldItem
(
rSet
,
FN_FORMAT_DROPCAPS
))
||
aFmt
!=
*
pOldItem
)
aFmt
!=
*
pOldItem
)
rSet
.
Put
(
aFmt
);
rSet
.
Put
(
aFmt
);
//
Harte Textformatieru
ng
//
hard text formatti
ng
// Bug 24974:
In Gestalter/Vorlagenkatoplog macht das keinen Sinn
!!
// Bug 24974:
in designer/template catalog this doesn't make sense
!!
if
(
!
bFormat
&&
aDropCapsBox
.
IsChecked
()
)
if
(
!
bFormat
&&
aDropCapsBox
.
IsChecked
()
)
{
{
String
sText
(
aTextEdit
.
GetText
());
String
sText
(
aTextEdit
.
GetText
());
...
...
sw/source/ui/chrdlg/pardlg.cxx
Dosyayı görüntüle @
97e6d9a6
...
@@ -215,8 +215,7 @@ void SwParaDlg::PageCreated(USHORT nId, SfxTabPage& rPage)
...
@@ -215,8 +215,7 @@ void SwParaDlg::PageCreated(USHORT nId, SfxTabPage& rPage)
}
}
else
if
(
TP_PARA_EXT
==
nId
)
else
if
(
TP_PARA_EXT
==
nId
)
{
{
// Seitenumbruch nur, wenn der Cursor im Body-Bereich und nicht in
// pagebreak only when the cursor is in the body-area and not in a table
// einer Tabelle steht
const
USHORT
eType
=
rSh
.
GetFrmType
(
0
,
TRUE
);
const
USHORT
eType
=
rSh
.
GetFrmType
(
0
,
TRUE
);
if
(
!
(
FRMTYPE_BODY
&
eType
)
||
if
(
!
(
FRMTYPE_BODY
&
eType
)
||
rSh
.
GetSelectionType
()
&
nsSelectionType
::
SEL_TBL
)
rSh
.
GetSelectionType
()
&
nsSelectionType
::
SEL_TBL
)
...
...
sw/source/ui/chrdlg/swbreak.src
Dosyayı görüntüle @
97e6d9a6
...
@@ -36,7 +36,7 @@ ModalDialog DLG_BREAK
...
@@ -36,7 +36,7 @@ ModalDialog DLG_BREAK
OutputSize = TRUE ;
OutputSize = TRUE ;
SVLook = TRUE ;
SVLook = TRUE ;
Size = MAP_APPFONT ( 161 , 114 ) ;
Size = MAP_APPFONT ( 161 , 114 ) ;
/* ### A
CHTUNG: Neuer Text in Resource? Umbruch einfgen : Umbruch einfgen
*/
/* ### A
TTENTION: New Text in resource? Insert break : Insert break
*/
Text [ en-US ] = "Insert Break" ;
Text [ en-US ] = "Insert Break" ;
Moveable = TRUE ;
Moveable = TRUE ;
OKButton BT_OK
OKButton BT_OK
...
@@ -114,7 +114,7 @@ ModalDialog DLG_BREAK
...
@@ -114,7 +114,7 @@ ModalDialog DLG_BREAK
{
{
Pos = MAP_APPFONT ( 12 , 79 ) ;
Pos = MAP_APPFONT ( 12 , 79 ) ;
Size = MAP_APPFONT ( 84 , 10 ) ;
Size = MAP_APPFONT ( 84 , 10 ) ;
/* ### A
CHTUNG: Neuer Text in Resource? Seitennummer ~ndern : Seitennummer ~ndern
*/
/* ### A
TTENTION: New text in resource? Change page number : Change page number
*/
Text [ en-US ] = "Change page ~number" ;
Text [ en-US ] = "Change page ~number" ;
TabStop = TRUE ;
TabStop = TRUE ;
};
};
...
...
sw/source/ui/chrdlg/swuiccoll.cxx
Dosyayı görüntüle @
97e6d9a6
...
@@ -104,7 +104,7 @@ SwCondCollPage::SwCondCollPage(Window *pParent, const SfxItemSet &rSet)
...
@@ -104,7 +104,7 @@ SwCondCollPage::SwCondCollPage(Window *pParent, const SfxItemSet &rSet)
aTbLinks
.
SetWindowBits
(
WB_HSCROLL
|
WB_CLIPCHILDREN
);
aTbLinks
.
SetWindowBits
(
WB_HSCROLL
|
WB_CLIPCHILDREN
);
aTbLinks
.
SetSelectionMode
(
SINGLE_SELECTION
);
aTbLinks
.
SetSelectionMode
(
SINGLE_SELECTION
);
aTbLinks
.
SetTabs
(
&
nTabs
[
0
],
MAP_APPFONT
);
aTbLinks
.
SetTabs
(
&
nTabs
[
0
],
MAP_APPFONT
);
aTbLinks
.
Resize
();
// OS: Hack f
uer richtige Selek
tion
aTbLinks
.
Resize
();
// OS: Hack f
or the right selec
tion
aTbLinks
.
SetSpaceBetweenEntries
(
0
);
aTbLinks
.
SetSpaceBetweenEntries
(
0
);
aTbLinks
.
SetHelpId
(
HID_COND_COLL_TABLIST
);
aTbLinks
.
SetHelpId
(
HID_COND_COLL_TABLIST
);
...
...
sw/source/ui/chrdlg/tblnumfm.cxx
Dosyayı görüntüle @
97e6d9a6
...
@@ -48,7 +48,7 @@
...
@@ -48,7 +48,7 @@
SwNumFmtDlg
::
SwNumFmtDlg
(
Window
*
pParent
,
const
SfxItemSet
&
rSet
)
SwNumFmtDlg
::
SwNumFmtDlg
(
Window
*
pParent
,
const
SfxItemSet
&
rSet
)
:
SfxSingleTabDialog
(
pParent
,
rSet
,
0
)
:
SfxSingleTabDialog
(
pParent
,
rSet
,
0
)
{
{
//
TabPage erzeugen
//
Create TabPage
SfxAbstractDialogFactory
*
pFact
=
SfxAbstractDialogFactory
::
Create
();
SfxAbstractDialogFactory
*
pFact
=
SfxAbstractDialogFactory
::
Create
();
OSL_ENSURE
(
pFact
,
"Dialogdiet fail!"
);
OSL_ENSURE
(
pFact
,
"Dialogdiet fail!"
);
::
CreateTabPage
fnCreatePage
=
pFact
->
GetTabPageCreatorFunc
(
RID_SVXPAGE_NUMBERFORMAT
);
::
CreateTabPage
fnCreatePage
=
pFact
->
GetTabPageCreatorFunc
(
RID_SVXPAGE_NUMBERFORMAT
);
...
...
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