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
a2741b57
Kaydet (Commit)
a2741b57
authored
Eki 05, 2010
tarafından
Christian Lippka
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
impress201: merge
üst
6655789f
68f609b7
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 @
a2741b57
...
@@ -70,7 +70,7 @@ const DeviceInfo& GraphicCollector::GetDeviceInfo( const Reference< XComponentCo
...
@@ -70,7 +70,7 @@ const DeviceInfo& GraphicCollector::GetDeviceInfo( const Reference< XComponentCo
return
aDeviceInfo
;
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
aGraphicURL
(
rUser
.
maGraphicURL
);
const
rtl
::
OUString
sPackageURL
(
OUString
::
createFromAscii
(
"vnd.sun.star.GraphicObject:"
)
);
const
rtl
::
OUString
sPackageURL
(
OUString
::
createFromAscii
(
"vnd.sun.star.GraphicObject:"
)
);
...
@@ -93,7 +93,7 @@ void ImpAddEntity( std::vector< GraphicCollector::GraphicEntity >& rGraphicEntit
...
@@ -93,7 +93,7 @@ void ImpAddEntity( std::vector< GraphicCollector::GraphicEntity >& rGraphicEntit
}
}
if
(
aIter
==
rGraphicEntities
.
end
()
)
if
(
aIter
==
rGraphicEntities
.
end
()
)
{
{
GraphicCollector
::
GraphicEntity
aEntity
(
r
xGraphic
,
r
User
);
GraphicCollector
::
GraphicEntity
aEntity
(
rUser
);
rGraphicEntities
.
push_back
(
aEntity
);
rGraphicEntities
.
push_back
(
aEntity
);
}
}
}
}
...
@@ -133,7 +133,7 @@ void ImpAddGraphicEntity( const Reference< XComponentContext >& rxMSF, Reference
...
@@ -133,7 +133,7 @@ void ImpAddGraphicEntity( const Reference< XComponentContext >& rxMSF, Reference
}
}
aUser
.
maGraphicCropLogic
=
aGraphicCropLogic
;
aUser
.
maGraphicCropLogic
=
aGraphicCropLogic
;
aUser
.
maLogicalSize
=
aLogicalSize
;
aUser
.
maLogicalSize
=
aLogicalSize
;
ImpAddEntity
(
rGraphicEntities
,
xGraphic
,
rGraphicSettings
,
aUser
);
ImpAddEntity
(
rGraphicEntities
,
rGraphicSettings
,
aUser
);
}
}
}
}
...
@@ -198,7 +198,7 @@ void ImpAddFillBitmapEntity( const Reference< XComponentContext >& rxMSF, const
...
@@ -198,7 +198,7 @@ void ImpAddFillBitmapEntity( const Reference< XComponentContext >& rxMSF, const
aUser
.
mbFillBitmap
=
sal_True
;
aUser
.
mbFillBitmap
=
sal_True
;
aUser
.
maLogicalSize
=
aLogicalSize
;
aUser
.
maLogicalSize
=
aLogicalSize
;
aUser
.
mxPagePropertySet
=
rxPagePropertySet
;
aUser
.
mxPagePropertySet
=
rxPagePropertySet
;
ImpAddEntity
(
rGraphicEntities
,
xGraphic
,
rGraphicSettings
,
aUser
);
ImpAddEntity
(
rGraphicEntities
,
rGraphicSettings
,
aUser
);
}
}
}
}
}
}
...
...
sdext/source/minimizer/graphiccollector.hxx
Dosyayı görüntüle @
a2741b57
...
@@ -76,14 +76,13 @@ class GraphicCollector
...
@@ -76,14 +76,13 @@ class GraphicCollector
struct
GraphicEntity
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
com
::
sun
::
star
::
awt
::
Size
maLogicalSize
;
// the biggest logical size the graphic will be displayed
sal_Bool
mbRemoveCropArea
;
//
sal_Bool
mbRemoveCropArea
;
//
com
::
sun
::
star
::
text
::
GraphicCrop
maGraphicCropLogic
;
com
::
sun
::
star
::
text
::
GraphicCrop
maGraphicCropLogic
;
std
::
vector
<
GraphicUser
>
maUser
;
std
::
vector
<
GraphicUser
>
maUser
;
GraphicEntity
(
const
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
graphic
::
XGraphic
>&
xGraphic
,
const
GraphicUser
&
rUser
)
GraphicEntity
(
const
GraphicUser
&
rUser
)
:
m
xGraphic
(
xGraphic
),
m
aLogicalSize
(
rUser
.
maLogicalSize
),
mbRemoveCropArea
(
sal_False
),
maGraphicCropLogic
(
0
,
0
,
0
,
0
)
{
maUser
.
push_back
(
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
);
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 @
a2741b57
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