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
e448792c
Kaydet (Commit)
e448792c
authored
Haz 30, 2015
tarafından
Andras Timar
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
libvisio fixes
Change-Id: If1bba0240b0a032a1bbbbb55329e2f0e5f507622
üst
83632a63
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
60 additions
and
0 deletions
+60
-0
UnpackedTarball_libvisio.mk
external/libvisio/UnpackedTarball_libvisio.mk
+2
-0
tdf-92270-VSDX-theme-color-import-fix.patch
...rnal/libvisio/tdf-92270-VSDX-theme-color-import-fix.patch
+28
-0
tdf-92271-fix-VSDX-char-background-handling.patch
...ibvisio/tdf-92271-fix-VSDX-char-background-handling.patch
+30
-0
No files found.
external/libvisio/UnpackedTarball_libvisio.mk
Dosyayı görüntüle @
e448792c
...
@@ -16,6 +16,8 @@ $(eval $(call gb_UnpackedTarball_set_patchlevel,libvisio,0))
...
@@ -16,6 +16,8 @@ $(eval $(call gb_UnpackedTarball_set_patchlevel,libvisio,0))
$(eval $(call gb_UnpackedTarball_add_patches,libvisio,\
$(eval $(call gb_UnpackedTarball_add_patches,libvisio,\
external/libvisio/vsd-msvc-max.patch.1 \
external/libvisio/vsd-msvc-max.patch.1 \
external/libvisio/ubsan.patch \
external/libvisio/ubsan.patch \
external/libvisio/tdf-92270-VSDX-theme-color-import-fix.patch \
external/libvisio/tdf-92271-fix-VSDX-char-background-handling.patch \
))
))
ifeq ($(COM_GCC_IS_CLANG),TRUE)
ifeq ($(COM_GCC_IS_CLANG),TRUE)
...
...
external/libvisio/tdf-92270-VSDX-theme-color-import-fix.patch
0 → 100644
Dosyayı görüntüle @
e448792c
--- src/lib/VSDXTheme.cpp
+++ src/lib/VSDXTheme.cpp
@@ -341,18 +341,25 @@ boost::optional<libvisio::Colour> libvisio::VSDXTheme::getThemeColour(unsigned v
switch (value)
{
case 100:
+ case 200:
return m_clrScheme.m_variationClrSchemeLst[variationIndex].m_varColor1;
case 101:
+ case 201:
return m_clrScheme.m_variationClrSchemeLst[variationIndex].m_varColor2;
case 102:
+ case 202:
return m_clrScheme.m_variationClrSchemeLst[variationIndex].m_varColor3;
case 103:
+ case 203:
return m_clrScheme.m_variationClrSchemeLst[variationIndex].m_varColor4;
case 104:
+ case 204:
return m_clrScheme.m_variationClrSchemeLst[variationIndex].m_varColor5;
case 105:
+ case 205:
return m_clrScheme.m_variationClrSchemeLst[variationIndex].m_varColor6;
case 106:
+ case 206:
return m_clrScheme.m_variationClrSchemeLst[variationIndex].m_varColor7;
default:
break;
external/libvisio/tdf-92271-fix-VSDX-char-background-handling.patch
0 → 100644
Dosyayı görüntüle @
e448792c
--- src/lib/VSDStyles.h
+++ src/lib/VSDStyles.h
@@ -426,7 +426,7 @@ struct VSDTextBlockStyle
{
VSDTextBlockStyle() :
leftMargin(0.0), rightMargin(0.0), topMargin(0.0), bottomMargin(0.0), verticalAlign(1),
- isTextBkgndFilled(true), textBkgndColour(0xff,0xff,0xff,0), defaultTabStop(0.5), textDirection(0) {}
+ isTextBkgndFilled(false), textBkgndColour(0xff,0xff,0xff,0), defaultTabStop(0.5), textDirection(0) {}
VSDTextBlockStyle(double lm, double rm, double tm, double bm, unsigned char va,
bool isBgFilled, Colour bgClr, double defTab, unsigned char td) :
leftMargin(lm), rightMargin(rm), topMargin(tm), bottomMargin(bm), verticalAlign(va),
--- src/lib/VSDXParser.cpp
+++ src/lib/VSDXParser.cpp
@@ -939,7 +939,7 @@ int libvisio::VSDXParser::getElementDepth(xmlTextReaderPtr reader)
void libvisio::VSDXParser::readShapeProperties(xmlTextReaderPtr reader)
{
// Text block properties
- long bgClrId = 0;
+ long bgClrId = -1;
int ret = 1;
int tokenId = XML_TOKEN_INVALID;
@@ -1213,6 +1213,7 @@ void libvisio::VSDXParser::readShapeProperties(xmlTextReaderPtr reader)
textBkgndColour = Colour(0xff, 0xff, 0xff, 0);
}
m_shape.m_textBlockStyle.textBkgndColour = textBkgndColour;
+ m_shape.m_textBlockStyle.isTextBkgndFilled = true;
}
break;
case XML_DEFAULTTABSTOP:
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