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
96ad9c96
Kaydet (Commit)
96ad9c96
authored
Eyl 02, 2013
tarafından
Ivan Timofeev
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
String->OUString
Change-Id: I0557dcc191aab97adb6aa68ebee1970a11600f4f
üst
45b757f1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
10 deletions
+10
-10
PreviewRenderer.hxx
sd/source/ui/inc/PreviewRenderer.hxx
+4
-4
PresenterTextView.cxx
sd/source/ui/presenter/PresenterTextView.cxx
+1
-1
PreviewRenderer.cxx
sd/source/ui/tools/PreviewRenderer.cxx
+5
-5
No files found.
sd/source/ui/inc/PreviewRenderer.hxx
Dosyayı görüntüle @
96ad9c96
...
...
@@ -79,7 +79,7 @@ public:
Image
RenderPage
(
const
SdPage
*
pPage
,
const
sal_Int32
nWidth
,
const
String
&
sSubstitutionText
,
const
OU
String
&
sSubstitutionText
,
const
bool
bObeyHighContrastMode
=
true
,
const
bool
bDisplayPresentationObjects
=
true
);
...
...
@@ -104,7 +104,7 @@ public:
Image
RenderPage
(
const
SdPage
*
pPage
,
const
Size
aPreviewPixelSize
,
const
String
&
sSubstitutionText
,
const
OU
String
&
sSubstitutionText
,
const
bool
bObeyHighContrastMode
=
true
,
const
bool
bDisplayPresentationObjects
=
true
);
...
...
@@ -115,7 +115,7 @@ public:
*/
Image
RenderSubstitution
(
const
Size
&
rPreviewPixelSize
,
const
String
&
sSubstitutionText
);
const
OU
String
&
sSubstitutionText
);
/** Scale the given bitmap by keeping its aspect ratio to the desired
width. Add a frame to it afterwards.
...
...
@@ -145,7 +145,7 @@ private:
void
PaintPage
(
const
SdPage
*
pPage
,
const
bool
bDisplayPresentationObjects
);
void
PaintSubstitutionText
(
const
String
&
rSubstitutionText
);
void
PaintSubstitutionText
(
const
OU
String
&
rSubstitutionText
);
void
PaintFrame
(
void
);
/** Set up the map mode so that the given page is renderer into a bitmap
...
...
sd/source/ui/presenter/PresenterTextView.cxx
Dosyayı görüntüle @
96ad9c96
...
...
@@ -116,7 +116,7 @@ private:
Size
maSize
;
Color
maBackgroundColor
;
Color
maTextColor
;
String
msText
;
OU
String
msText
;
sal_Int32
mnTop
;
sal_Int32
mnTotalHeight
;
...
...
sd/source/ui/tools/PreviewRenderer.cxx
Dosyayı görüntüle @
96ad9c96
...
...
@@ -100,7 +100,7 @@ PreviewRenderer::~PreviewRenderer (void)
Image
PreviewRenderer
::
RenderPage
(
const
SdPage
*
pPage
,
const
sal_Int32
nWidth
,
const
String
&
rSubstitutionText
,
const
OU
String
&
rSubstitutionText
,
const
bool
bObeyHighContrastMode
,
const
bool
bDisplayPresentationObjects
)
{
...
...
@@ -129,7 +129,7 @@ Image PreviewRenderer::RenderPage (
Image
PreviewRenderer
::
RenderPage
(
const
SdPage
*
pPage
,
Size
aPixelSize
,
const
String
&
rSubstitutionText
,
const
OU
String
&
rSubstitutionText
,
const
bool
bObeyHighContrastMode
,
const
bool
bDisplayPresentationObjects
)
{
...
...
@@ -167,7 +167,7 @@ Image PreviewRenderer::RenderPage (
Image
PreviewRenderer
::
RenderSubstitution
(
const
Size
&
rPreviewPixelSize
,
const
String
&
rSubstitutionText
)
const
OU
String
&
rSubstitutionText
)
{
Image
aPreview
;
...
...
@@ -352,9 +352,9 @@ void PreviewRenderer::PaintPage (
void
PreviewRenderer
::
PaintSubstitutionText
(
const
String
&
rSubstitutionText
)
void
PreviewRenderer
::
PaintSubstitutionText
(
const
OU
String
&
rSubstitutionText
)
{
if
(
rSubstitutionText
.
Len
()
>
0
)
if
(
!
rSubstitutionText
.
isEmpty
()
)
{
// Set the font size.
const
Font
&
rOriginalFont
(
mpPreviewDevice
->
GetFont
());
...
...
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