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
b8c5f657
Kaydet (Commit)
b8c5f657
authored
Tem 05, 2012
tarafından
Rob Snelders
Kaydeden (comit)
Ivan Timofeev
Tem 06, 2012
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fdo#42986 - UI wide screen format (16:10): Add Page size
Change-Id: Ie769c9a65e85f91395b3495fadb6f5e688cbe9af
üst
5eb74b1f
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
5 deletions
+9
-5
page.cxx
cui/source/tabpages/page.cxx
+2
-2
page.h
cui/source/tabpages/page.h
+1
-0
page.src
cui/source/tabpages/page.src
+1
-0
paper.hxx
i18nutil/inc/i18nutil/paper.hxx
+3
-2
paper.cxx
i18nutil/source/utility/paper.cxx
+2
-1
No files found.
cui/source/tabpages/page.cxx
Dosyayı görüntüle @
b8c5f657
...
...
@@ -997,7 +997,7 @@ IMPL_LINK( SvxPageDescPage, PaperSizeSelect_Impl, ListBox *, pBox )
{
// Draw: if paper format the margin shall be 1 cm
long
nTmp
=
0
;
sal_Bool
bScreen
=
((
PAPER_SCREEN_4_3
==
ePaper
)
||
(
PAPER_SCREEN_16_9
==
ePaper
));
sal_Bool
bScreen
=
((
PAPER_SCREEN_4_3
==
ePaper
)
||
(
PAPER_SCREEN_16_9
==
ePaper
)
||
(
PAPER_SCREEN_16_10
==
ePaper
));
if
(
!
bScreen
)
// no margin if screen
...
...
@@ -1408,7 +1408,7 @@ int SvxPageDescPage::DeactivatePage( SfxItemSet* _pSet )
sal_uInt16
nPos
=
aPaperSizeBox
.
GetSelectEntryPos
();
Paper
ePaper
=
(
Paper
)(
sal_uLong
)
aPaperSizeBox
.
GetEntryData
(
nPos
);
if
(
ePaper
!=
PAPER_SCREEN_4_3
&&
ePaper
!=
PAPER_SCREEN_16_9
&&
IsMarginOutOfRange
()
)
if
(
ePaper
!=
PAPER_SCREEN_4_3
&&
ePaper
!=
PAPER_SCREEN_16_9
&&
ePaper
!=
PAPER_SCREEN_16_10
&&
IsMarginOutOfRange
()
)
{
if
(
QueryBox
(
this
,
WB_YES_NO
|
WB_DEF_NO
,
aPrintRangeQueryText
).
Execute
()
==
RET_NO
)
{
...
...
cui/source/tabpages/page.h
Dosyayı görüntüle @
b8c5f657
...
...
@@ -66,6 +66,7 @@
#define PAPERSIZE_POSTCARD_JP 46
#define PAPERSIZE_A6 56
#define PAPERSIZE_SCREEN_16_9 78
#define PAPERSIZE_SCREEN_16_10 79
#endif
...
...
cui/source/tabpages/page.src
Dosyayı görüntüle @
b8c5f657
...
...
@@ -470,6 +470,7 @@ StringArray RID_SVXSTRARY_PAPERSIZE_DRAW
< "Dia Slide" ; PAPERSIZE_DIA ; > ;
< "Screen 4:3" ; PAPERSIZE_SCREEN_4_3 ; > ;
< "Screen 16:9" ; PAPERSIZE_SCREEN_16_9 ; > ;
< "Screen 16:10" ; PAPERSIZE_SCREEN_16_10 ; > ;
< "Japanese Postcard" ; PAPERSIZE_POSTCARD_JP; > ;
};
};
...
...
i18nutil/inc/i18nutil/paper.hxx
Dosyayı görüntüle @
b8c5f657
...
...
@@ -117,11 +117,12 @@ enum Paper
PAPER_ARCHC
,
PAPER_ARCHD
,
PAPER_ARCHE
,
PAPER_SCREEN_16_9
PAPER_SCREEN_16_9
,
PAPER_SCREEN_16_10
};
// defined for 'equal size' test with the implementation array
#define NUM_PAPER_ENTRIES (PAPER_SCREEN_16_
9
- PAPER_A0 + 1)
#define NUM_PAPER_ENTRIES (PAPER_SCREEN_16_
10
- PAPER_A0 + 1)
// ---------
// - Paper -
...
...
i18nutil/source/utility/paper.cxx
Dosyayı görüntüle @
b8c5f657
...
...
@@ -154,7 +154,8 @@ static PageDesc aDinTab[] =
{
IN2MM100
(
18
),
IN2MM100
(
24
),
"ARCHC"
,
NULL
},
{
IN2MM100
(
24
),
IN2MM100
(
36
),
"ARCHD"
,
NULL
},
{
IN2MM100
(
36
),
IN2MM100
(
48
),
"ARCHE"
,
NULL
},
{
MM2MM100
(
157.5
),
MM2MM100
(
280
),
NULL
,
NULL
}
//Screen 16:9
{
MM2MM100
(
157.5
),
MM2MM100
(
280
),
NULL
,
NULL
},
//Screen 16:9
{
MM2MM100
(
175
),
MM2MM100
(
280
),
NULL
,
NULL
}
//Screen 16:10
};
...
...
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