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
bf286107
Kaydet (Commit)
bf286107
authored
Nis 23, 2012
tarafından
Thorsten Behrens
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Add some more timelogging, for graphic export here.
üst
0c00198b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
1 deletion
+13
-1
objcont.cxx
sfx2/source/doc/objcont.cxx
+5
-1
filter.cxx
svtools/source/filter/filter.cxx
+3
-0
UnoGraphicExporter.cxx
svx/source/unodraw/UnoGraphicExporter.cxx
+5
-0
No files found.
sfx2/source/doc/objcont.cxx
Dosyayı görüntüle @
bf286107
...
@@ -51,6 +51,7 @@
...
@@ -51,6 +51,7 @@
#include <svtools/sfxecode.hxx>
#include <svtools/sfxecode.hxx>
#include <svtools/ehdl.hxx>
#include <svtools/ehdl.hxx>
#include <tools/datetime.hxx>
#include <tools/datetime.hxx>
#include <rtl/logfile.hxx>
#include <math.h>
#include <math.h>
#include <unotools/saveopt.hxx>
#include <unotools/saveopt.hxx>
...
@@ -170,7 +171,10 @@ SfxObjectShell::CreatePreviewMetaFile_Impl( sal_Bool bFullContent ) const
...
@@ -170,7 +171,10 @@ SfxObjectShell::CreatePreviewMetaFile_Impl( sal_Bool bFullContent ) const
aDevice
.
SetDigitLanguage
(
eLang
);
aDevice
.
SetDigitLanguage
(
eLang
);
((
SfxObjectShell
*
)
this
)
->
DoDraw
(
&
aDevice
,
Point
(
0
,
0
),
aTmpSize
,
JobSetup
(),
nAspect
);
{
RTL_LOGFILE_PRODUCT_CONTEXT
(
aLog
,
"PERFORMANCE SfxObjectShell::CreatePreviewMetaFile_Impl"
);
((
SfxObjectShell
*
)
this
)
->
DoDraw
(
&
aDevice
,
Point
(
0
,
0
),
aTmpSize
,
JobSetup
(),
nAspect
);
}
pFile
->
Stop
();
pFile
->
Stop
();
return
pFile
;
return
pFile
;
...
...
svtools/source/filter/filter.cxx
Dosyayı görüntüle @
bf286107
...
@@ -68,6 +68,7 @@
...
@@ -68,6 +68,7 @@
#include <unotools/localfilehelper.hxx>
#include <unotools/localfilehelper.hxx>
#include <rtl/bootstrap.hxx>
#include <rtl/bootstrap.hxx>
#include <rtl/instance.hxx>
#include <rtl/instance.hxx>
#include <rtl/logfile.hxx>
#include <vector>
#include <vector>
#include "SvFilterOptionsDialog.hxx"
#include "SvFilterOptionsDialog.hxx"
...
@@ -1714,6 +1715,7 @@ sal_uInt16 GraphicFilter::ImportGraphic( Graphic& rGraphic, const String& rPath,
...
@@ -1714,6 +1715,7 @@ sal_uInt16 GraphicFilter::ImportGraphic( Graphic& rGraphic, const String& rPath,
sal_uInt16
GraphicFilter
::
ExportGraphic
(
const
Graphic
&
rGraphic
,
const
INetURLObject
&
rPath
,
sal_uInt16
GraphicFilter
::
ExportGraphic
(
const
Graphic
&
rGraphic
,
const
INetURLObject
&
rPath
,
sal_uInt16
nFormat
,
const
uno
::
Sequence
<
beans
::
PropertyValue
>*
pFilterData
)
sal_uInt16
nFormat
,
const
uno
::
Sequence
<
beans
::
PropertyValue
>*
pFilterData
)
{
{
RTL_LOGFILE_CONTEXT
(
aLog
,
"GraphicFilter::ExportGraphic() (thb)"
);
sal_uInt16
nRetValue
=
GRFILTER_FORMATERROR
;
sal_uInt16
nRetValue
=
GRFILTER_FORMATERROR
;
DBG_ASSERT
(
rPath
.
GetProtocol
()
!=
INET_PROT_NOT_VALID
,
"GraphicFilter::ExportGraphic() : ProtType == INET_PROT_NOT_VALID"
);
DBG_ASSERT
(
rPath
.
GetProtocol
()
!=
INET_PROT_NOT_VALID
,
"GraphicFilter::ExportGraphic() : ProtType == INET_PROT_NOT_VALID"
);
sal_Bool
bAlreadyExists
=
ImplDirEntryHelper
::
Exists
(
rPath
);
sal_Bool
bAlreadyExists
=
ImplDirEntryHelper
::
Exists
(
rPath
);
...
@@ -1736,6 +1738,7 @@ sal_uInt16 GraphicFilter::ExportGraphic( const Graphic& rGraphic, const INetURLO
...
@@ -1736,6 +1738,7 @@ sal_uInt16 GraphicFilter::ExportGraphic( const Graphic& rGraphic, const INetURLO
sal_uInt16
GraphicFilter
::
ExportGraphic
(
const
Graphic
&
rGraphic
,
const
String
&
rPath
,
sal_uInt16
GraphicFilter
::
ExportGraphic
(
const
Graphic
&
rGraphic
,
const
String
&
rPath
,
SvStream
&
rOStm
,
sal_uInt16
nFormat
,
const
uno
::
Sequence
<
beans
::
PropertyValue
>*
pFilterData
)
SvStream
&
rOStm
,
sal_uInt16
nFormat
,
const
uno
::
Sequence
<
beans
::
PropertyValue
>*
pFilterData
)
{
{
RTL_LOGFILE_CONTEXT
(
aLog
,
"GraphicFilter::ExportGraphic() (thb)"
);
sal_uInt16
nFormatCount
=
GetExportFormatCount
();
sal_uInt16
nFormatCount
=
GetExportFormatCount
();
ResetLastError
();
ResetLastError
();
...
...
svx/source/unodraw/UnoGraphicExporter.cxx
Dosyayı görüntüle @
bf286107
...
@@ -45,6 +45,7 @@
...
@@ -45,6 +45,7 @@
#include <com/sun/star/task/XInteractionHandler.hpp>
#include <com/sun/star/task/XInteractionHandler.hpp>
#include <com/sun/star/task/XInteractionContinuation.hpp>
#include <com/sun/star/task/XInteractionContinuation.hpp>
#include <rtl/logfile.hxx>
#include <comphelper/interaction.hxx>
#include <comphelper/interaction.hxx>
#include <framework/interaction.hxx>
#include <framework/interaction.hxx>
#include <com/sun/star/drawing/GraphicFilterRequest.hpp>
#include <com/sun/star/drawing/GraphicFilterRequest.hpp>
...
@@ -594,6 +595,8 @@ void GraphicExporter::ParseSettings( const Sequence< PropertyValue >& aDescripto
...
@@ -594,6 +595,8 @@ void GraphicExporter::ParseSettings( const Sequence< PropertyValue >& aDescripto
bool
GraphicExporter
::
GetGraphic
(
ExportSettings
&
rSettings
,
Graphic
&
aGraphic
,
sal_Bool
bVectorType
)
bool
GraphicExporter
::
GetGraphic
(
ExportSettings
&
rSettings
,
Graphic
&
aGraphic
,
sal_Bool
bVectorType
)
{
{
RTL_LOGFILE_CONTEXT
(
aLog
,
"UnoGraphicExporter::GetGraphic (thb)"
);
if
(
!
mpDoc
||
!
mpUnoPage
)
if
(
!
mpDoc
||
!
mpUnoPage
)
return
false
;
return
false
;
...
@@ -976,6 +979,8 @@ bool GraphicExporter::GetGraphic( ExportSettings& rSettings, Graphic& aGraphic,
...
@@ -976,6 +979,8 @@ bool GraphicExporter::GetGraphic( ExportSettings& rSettings, Graphic& aGraphic,
sal_Bool
SAL_CALL
GraphicExporter
::
filter
(
const
Sequence
<
PropertyValue
>&
aDescriptor
)
sal_Bool
SAL_CALL
GraphicExporter
::
filter
(
const
Sequence
<
PropertyValue
>&
aDescriptor
)
throw
(
RuntimeException
)
throw
(
RuntimeException
)
{
{
RTL_LOGFILE_CONTEXT
(
aLog
,
"UnoGraphicExporter::export (thb)"
);
::
SolarMutexGuard
aGuard
;
::
SolarMutexGuard
aGuard
;
if
(
NULL
==
mpUnoPage
)
if
(
NULL
==
mpUnoPage
)
...
...
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