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
632804b1
Kaydet (Commit)
632804b1
authored
Mar 02, 2016
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
vcl: document that it's possible to dump GDIMetaFile to XML
Change-Id: I921577df6c905e935d05ff0e9d2b2c6e8d22cc89
üst
69ff012f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
3 deletions
+17
-3
README
vcl/README
+17
-3
No files found.
vcl/README
Dosyayı görüntüle @
632804b1
...
@@ -76,6 +76,20 @@ The way COM is used in LO generally:
...
@@ -76,6 +76,20 @@ The way COM is used in LO generally:
- oslWorkerWrapperFunction() puts every thread spawned via oslCreateThread()
- oslWorkerWrapperFunction() puts every thread spawned via oslCreateThread()
into MTA (free-threaded)
into MTA (free-threaded)
== GDIMetafile ==
GDIMetafile is a vector drawing representation that corresponds directly
to the SVM (StarView Metafile) format; it is extremely important as
an intermediate format in all sorts of drawing and printing operations.
There is a class MetafileXmlDump in include/test/mtfxmldump.hxx that
can store a GDIMetafile as XML, which makes debugging much easier
since you can just use "diff" to see changes.
To use it you need to link against "test" library and then (because
"test" is not part of the installation) run with:
LD_LIBRARY_PATH=workdir/LinkTarget/Library:workdir/UnpackedTarball/cppunit/src/cppunit/.libs instdir/program/soffice
== EMF+ ==
== EMF+ ==
emf+ is vector file format used by MSO and is successor of wmf and
emf+ is vector file format used by MSO and is successor of wmf and
...
@@ -159,13 +173,13 @@ Printing from Writer works like this:
...
@@ -159,13 +173,13 @@ Printing from Writer works like this:
1) individual pages print by passing an appropriate OutputDevice to XRenderable
1) individual pages print by passing an appropriate OutputDevice to XRenderable
2) in drawinglayer, a VclMetafileProcessor2D is used to record everything on
2) in drawinglayer, a VclMetafileProcessor2D is used to record everything on
the page (because the OutputDevice has been set up to record a MetaFile)
the page (because the OutputDevice has been set up to record a
GDI
MetaFile)
3) the pages' MetaFiles are converted to PDF by the vcl::PDFWriter
3) the pages'
GDI
MetaFiles are converted to PDF by the vcl::PDFWriter
in vcl/source/gdi/pdfwriter*
in vcl/source/gdi/pdfwriter*
Creating the ODF thumbnail for the first page works as above except step 3 is:
Creating the ODF thumbnail for the first page works as above except step 3 is:
3) the MetaFile is replayed to create the thumbnail
3) the
GDI
MetaFile is replayed to create the thumbnail
On-screen display differs in step 1 and 2:
On-screen display differs in step 1 and 2:
...
...
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