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
6f83e628
Kaydet (Commit)
6f83e628
authored
Eki 14, 2010
tarafından
Vladimir Glazunov
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
CWS-TOOLING: integrate CWS impress201
üst
8c29ce3c
f208c330
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
7 deletions
+6
-7
graphiccollector.cxx
sdext/source/minimizer/graphiccollector.cxx
+4
-4
graphiccollector.hxx
sdext/source/minimizer/graphiccollector.hxx
+2
-3
impoptimizer.cxx
sdext/source/minimizer/impoptimizer.cxx
+0
-0
No files found.
sdext/source/minimizer/graphiccollector.cxx
Dosyayı görüntüle @
6f83e628
...
...
@@ -70,7 +70,7 @@ const DeviceInfo& GraphicCollector::GetDeviceInfo( const Reference< XComponentCo
return
aDeviceInfo
;
}
void
ImpAddEntity
(
std
::
vector
<
GraphicCollector
::
GraphicEntity
>&
rGraphicEntities
,
Reference
<
XGraphic
>&
rxGraphic
,
const
GraphicSettings
&
rGraphicSettings
,
const
GraphicCollector
::
GraphicUser
&
rUser
)
void
ImpAddEntity
(
std
::
vector
<
GraphicCollector
::
GraphicEntity
>&
rGraphicEntities
,
const
GraphicSettings
&
rGraphicSettings
,
const
GraphicCollector
::
GraphicUser
&
rUser
)
{
const
rtl
::
OUString
aGraphicURL
(
rUser
.
maGraphicURL
);
const
rtl
::
OUString
sPackageURL
(
OUString
::
createFromAscii
(
"vnd.sun.star.GraphicObject:"
)
);
...
...
@@ -93,7 +93,7 @@ void ImpAddEntity( std::vector< GraphicCollector::GraphicEntity >& rGraphicEntit
}
if
(
aIter
==
rGraphicEntities
.
end
()
)
{
GraphicCollector
::
GraphicEntity
aEntity
(
r
xGraphic
,
r
User
);
GraphicCollector
::
GraphicEntity
aEntity
(
rUser
);
rGraphicEntities
.
push_back
(
aEntity
);
}
}
...
...
@@ -133,7 +133,7 @@ void ImpAddGraphicEntity( const Reference< XComponentContext >& rxMSF, Reference
}
aUser
.
maGraphicCropLogic
=
aGraphicCropLogic
;
aUser
.
maLogicalSize
=
aLogicalSize
;
ImpAddEntity
(
rGraphicEntities
,
xGraphic
,
rGraphicSettings
,
aUser
);
ImpAddEntity
(
rGraphicEntities
,
rGraphicSettings
,
aUser
);
}
}
...
...
@@ -198,7 +198,7 @@ void ImpAddFillBitmapEntity( const Reference< XComponentContext >& rxMSF, const
aUser
.
mbFillBitmap
=
sal_True
;
aUser
.
maLogicalSize
=
aLogicalSize
;
aUser
.
mxPagePropertySet
=
rxPagePropertySet
;
ImpAddEntity
(
rGraphicEntities
,
xGraphic
,
rGraphicSettings
,
aUser
);
ImpAddEntity
(
rGraphicEntities
,
rGraphicSettings
,
aUser
);
}
}
}
...
...
sdext/source/minimizer/graphiccollector.hxx
Dosyayı görüntüle @
6f83e628
...
...
@@ -76,14 +76,13 @@ class GraphicCollector
struct
GraphicEntity
{
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
graphic
::
XGraphic
>
mxGraphic
;
// the corresponding XGraphic of the Shape
com
::
sun
::
star
::
awt
::
Size
maLogicalSize
;
// the biggest logical size the graphic will be displayed
sal_Bool
mbRemoveCropArea
;
//
com
::
sun
::
star
::
text
::
GraphicCrop
maGraphicCropLogic
;
std
::
vector
<
GraphicUser
>
maUser
;
GraphicEntity
(
const
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
graphic
::
XGraphic
>&
xGraphic
,
const
GraphicUser
&
rUser
)
:
m
xGraphic
(
xGraphic
),
m
aLogicalSize
(
rUser
.
maLogicalSize
),
mbRemoveCropArea
(
sal_False
),
maGraphicCropLogic
(
0
,
0
,
0
,
0
)
{
maUser
.
push_back
(
rUser
);
};
GraphicEntity
(
const
GraphicUser
&
rUser
)
:
maLogicalSize
(
rUser
.
maLogicalSize
),
mbRemoveCropArea
(
sal_False
),
maGraphicCropLogic
(
0
,
0
,
0
,
0
)
{
maUser
.
push_back
(
rUser
);
};
};
static
const
com
::
sun
::
star
::
awt
::
DeviceInfo
&
GetDeviceInfo
(
const
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
uno
::
XComponentContext
>&
rxFact
);
...
...
sdext/source/minimizer/impoptimizer.cxx
Dosyayı görüntüle @
6f83e628
This diff is collapsed.
Click to expand it.
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