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
3d69d78b
Kaydet (Commit)
3d69d78b
authored
Mar 14, 2012
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Some visual clean up
üst
7caa7ae8
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
27 deletions
+20
-27
DocumentInfoPreview.cxx
svtools/source/contnr/DocumentInfoPreview.cxx
+8
-10
fileview.cxx
svtools/source/contnr/fileview.cxx
+11
-7
templwin.cxx
svtools/source/contnr/templwin.cxx
+1
-9
templwin.src
svtools/source/contnr/templwin.src
+0
-1
No files found.
svtools/source/contnr/DocumentInfoPreview.cxx
Dosyayı görüntüle @
3d69d78b
...
...
@@ -138,17 +138,15 @@ void ODocumentInfoPreview::fill(
void
ODocumentInfoPreview
::
insertEntry
(
rtl
::
OUString
const
&
title
,
rtl
::
OUString
const
&
value
)
{
rtl
::
OUString
p1
(
rtl
::
OUString
(
"
\n
"
)
+
title
+
rtl
::
OUString
(
":"
));
m_pEditWin
.
InsertText
(
p1
);
m_pEditWin
.
SetAttrib
(
TextAttribFontWeight
(
WEIGHT_BOLD
),
m_pEditWin
.
GetParagraphCount
()
-
1
,
0
,
p1
.
getLength
());
rtl
::
OUString
p2
(
rtl
::
OUString
(
"
\n
"
)
+
value
);
m_pEditWin
.
InsertText
(
p2
);
if
(
m_pEditWin
.
GetText
().
Len
()
!=
0
)
{
m_pEditWin
.
InsertText
(
rtl
::
OUString
(
"
\n\n
"
));
}
rtl
::
OUString
caption
(
title
+
rtl
::
OUString
(
":
\n
"
));
m_pEditWin
.
InsertText
(
caption
);
m_pEditWin
.
SetAttrib
(
TextAttribFontWeight
(
WEIGHT_
NORMAL
)
,
m_pEditWin
.
GetParagraphCount
()
-
1
,
0
,
p2
.
getLength
()
);
m_pEditWin
.
InsertText
(
rtl
::
OUString
(
"
\n
"
)
);
TextAttribFontWeight
(
WEIGHT_
BOLD
),
m_pEditWin
.
GetParagraphCount
()
-
2
,
0
,
caption
.
getLength
()
-
1
);
m_pEditWin
.
InsertText
(
value
);
}
void
ODocumentInfoPreview
::
insertNonempty
(
long
id
,
rtl
::
OUString
const
&
value
)
...
...
svtools/source/contnr/fileview.cxx
Dosyayı görüntüle @
3d69d78b
...
...
@@ -187,6 +187,7 @@ private:
sal_Bool
mbAutoResize
:
1
;
sal_Bool
mbEnableDelete
:
1
;
sal_Bool
mbEnableRename
:
1
;
bool
mbShowHeader
;
void
DeleteEntries
();
void
DoQuickSearch
(
const
xub_Unicode
&
rChar
);
...
...
@@ -722,10 +723,9 @@ ViewTabListBox_Impl::ViewTabListBox_Impl( Window* pParentWin,
mbResizeDisabled
(
sal_False
),
mbAutoResize
(
sal_False
),
mbEnableDelete
(
sal_True
),
mbEnableRename
(
sal_True
)
mbEnableRename
(
sal_True
)
,
mbShowHeader
(
(
nFlags
&
FILEVIEW_SHOW_NONE
)
==
0
)
{
const
bool
bViewHeader
=
(
nFlags
&
FILEVIEW_SHOW_NONE
)
==
0
;
Size
aBoxSize
=
pParentWin
->
GetSizePixel
();
mpHeaderBar
=
new
HeaderBar
(
pParentWin
,
WB_BUTTONSTYLE
|
WB_BOTTOMBORDER
);
mpHeaderBar
->
SetPosSizePixel
(
Point
(
0
,
0
),
mpHeaderBar
->
CalcWindowSizePixel
()
);
...
...
@@ -760,7 +760,7 @@ ViewTabListBox_Impl::ViewTabListBox_Impl( Window* pParentWin,
SetSelectionMode
(
MULTIPLE_SELECTION
);
Show
();
if
(
bVie
wHeader
)
if
(
mbSho
wHeader
)
mpHeaderBar
->
Show
();
maResetQuickSearch
.
SetTimeout
(
QUICK_SEARCH_TIMEOUT
);
...
...
@@ -806,9 +806,13 @@ void ViewTabListBox_Impl::Resize()
if
(
mbResizeDisabled
||
!
aBoxSize
.
Width
()
)
return
;
Size
aBarSize
=
mpHeaderBar
->
GetSizePixel
();
aBarSize
.
Width
()
=
mbAutoResize
?
aBoxSize
.
Width
()
:
GetSizePixel
().
Width
();
mpHeaderBar
->
SetSizePixel
(
aBarSize
);
Size
aBarSize
;
if
(
mbShowHeader
)
{
aBarSize
=
mpHeaderBar
->
GetSizePixel
();
aBarSize
.
Width
()
=
mbAutoResize
?
aBoxSize
.
Width
()
:
GetSizePixel
().
Width
();
mpHeaderBar
->
SetSizePixel
(
aBarSize
);
}
if
(
mbAutoResize
)
{
...
...
svtools/source/contnr/templwin.cxx
Dosyayı görüntüle @
3d69d78b
...
...
@@ -427,7 +427,6 @@ SvtFileViewWindow_Impl::SvtFileViewWindow_Impl( SvtTemplateWindow* pParent ) :
aFileView
.
SetStyle
(
aFileView
.
GetStyle
()
|
WB_DIALOGCONTROL
|
WB_TABSTOP
);
aFileView
.
SetHelpId
(
HID_TEMPLATEDLG_FILEVIEW
);
aFileView
.
Show
();
aFileView
.
SetPosPixel
(
Point
(
0
,
0
)
);
aFileView
.
EnableAutoResize
();
aFileView
.
EnableContextMenu
(
sal_False
);
aFileView
.
EnableDelete
(
sal_False
);
...
...
@@ -528,14 +527,7 @@ Sequence< ::rtl::OUString > SvtFileViewWindow_Impl::GetNewDocContents() const
void
SvtFileViewWindow_Impl
::
Resize
()
{
Size
aWinSize
=
GetOutputSizePixel
();
static
int
x
=
0
;
static
int
y
=
0
;
aWinSize
.
nA
+=
x
;
aWinSize
.
nB
+=
y
;
aFileView
.
SetSizePixel
(
aWinSize
);
aFileView
.
SetSizePixel
(
GetOutputSizePixel
());
}
String
SvtFileViewWindow_Impl
::
GetSelectedFile
()
const
...
...
svtools/source/contnr/templwin.src
Dosyayı görüntüle @
3d69d78b
...
...
@@ -38,7 +38,6 @@
Control CTRL_FILEVIEW
{
Pos = MAP_APPFONT ( 0 , 0 ) ;
Size = MAP_APPFONT ( 200 , 180 ) ;
};
String STR_SVT_NEWDOC
...
...
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