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
96041179
Kaydet (Commit)
96041179
authored
May 26, 2015
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
lokdocview: handle LOK_CALLBACK_SET_PART
Change-Id: I47fc389590d581155074fec63cca79bea3596860
üst
67a37be9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
lokdocview.cxx
libreofficekit/source/gtk/lokdocview.cxx
+7
-1
No files found.
libreofficekit/source/gtk/lokdocview.cxx
Dosyayı görüntüle @
96041179
...
...
@@ -913,6 +913,8 @@ const char* LOKDocView_Impl::callbackTypeToString(int nType)
return
"LOK_CALLBACK_SEARCH_NOT_FOUND"
;
case
LOK_CALLBACK_PAGE_COUNT_CHANGED
:
return
"LOK_CALLBACK_PAGE_COUNT_CHANGED"
;
case
LOK_CALLBACK_SET_PART
:
return
"LOK_CALLBACK_SET_PART"
;
}
return
0
;
}
...
...
@@ -1015,6 +1017,11 @@ gboolean LOKDocView_Impl::callbackImpl(CallbackData* pCallback)
m_pDocument
->
pClass
->
getDocumentSize
(
m_pDocument
,
&
m_nDocumentWidthTwips
,
&
m_nDocumentHeightTwips
);
}
break
;
case
LOK_CALLBACK_SET_PART
:
{
renderDocument
(
0
);
}
break
;
default
:
g_assert
(
false
);
break
;
...
...
@@ -1226,7 +1233,6 @@ SAL_DLLPUBLIC_EXPORT int lok_docview_get_part( LOKDocView* pDocView )
SAL_DLLPUBLIC_EXPORT
void
lok_docview_set_part
(
LOKDocView
*
pDocView
,
int
nPart
)
{
pDocView
->
m_pImpl
->
m_pDocument
->
pClass
->
setPart
(
pDocView
->
m_pImpl
->
m_pDocument
,
nPart
);
pDocView
->
m_pImpl
->
renderDocument
(
0
);
}
SAL_DLLPUBLIC_EXPORT
char
*
lok_docview_get_part_name
(
LOKDocView
*
pDocView
,
int
nPart
)
...
...
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