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
0c03f794
Kaydet (Commit)
0c03f794
authored
Agu 14, 2012
tarafından
Rafael Dominguez
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Display template preview and information when clicking properties.
Change-Id: I9a783c39f04a19cd65a292f3ebff923bb845f2c4
üst
4fe7c4f3
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
108 additions
and
0 deletions
+108
-0
AllLangResTarget_sfx2.mk
sfx2/AllLangResTarget_sfx2.mk
+1
-0
Library_sfx.mk
sfx2/Library_sfx.mk
+1
-0
Package_inc.mk
sfx2/Package_inc.mk
+1
-0
templateinfodlg.hxx
sfx2/inc/sfx2/templateinfodlg.hxx
+38
-0
templatedlg.hxx
sfx2/inc/templatedlg.hxx
+1
-0
templateinfodlg.cxx
sfx2/source/dialog/templateinfodlg.cxx
+27
-0
templateinfodlg.hrc
sfx2/source/dialog/templateinfodlg.hrc
+11
-0
templateinfodlg.src
sfx2/source/dialog/templateinfodlg.src
+25
-0
templatedlg.cxx
sfx2/source/doc/templatedlg.cxx
+3
-0
No files found.
sfx2/AllLangResTarget_sfx2.mk
Dosyayı görüntüle @
0c03f794
...
...
@@ -64,6 +64,7 @@ $(eval $(call gb_SrsTarget_add_files,sfx/res,\
sfx2/source/dialog/securitypage.src \
sfx2/source/dialog/srchdlg.src \
sfx2/source/dialog/taskpane.src \
sfx2/source/dialog/templateinfodlg.src \
sfx2/source/dialog/templdlg.src \
sfx2/source/dialog/titledockwin.src \
sfx2/source/dialog/versdlg.src \
...
...
sfx2/Library_sfx.mk
Dosyayı görüntüle @
0c03f794
...
...
@@ -171,6 +171,7 @@ $(eval $(call gb_Library_add_exception_objects,sfx,\
sfx2/source/dialog/styledlg \
sfx2/source/dialog/tabdlg \
sfx2/source/dialog/taskpane \
sfx2/source/dialog/templateinfodlg \
sfx2/source/dialog/templdlg \
sfx2/source/dialog/titledockwin \
sfx2/source/dialog/tplcitem \
...
...
sfx2/Package_inc.mk
Dosyayı görüntüle @
0c03f794
...
...
@@ -119,6 +119,7 @@ $(eval $(call gb_Package_add_file,sfx2_inc,inc/sfx2/tbxctrl.hxx,sfx2/tbxctrl.hxx
$(eval $(call gb_Package_add_file,sfx2_inc,inc/sfx2/templdlg.hxx,sfx2/templdlg.hxx))
$(eval $(call gb_Package_add_file,sfx2_inc,inc/sfx2/templatelocnames.hrc,sfx2/templatelocnames.hrc))
$(eval $(call gb_Package_add_file,sfx2_inc,inc/sfx2/templateabstractview.hxx,sfx2/templateabstractview.hxx))
$(eval $(call gb_Package_add_file,sfx2_inc,inc/sfx2/templateinfodlg.hxx,sfx2/templateinfodlg.hxx))
$(eval $(call gb_Package_add_file,sfx2_inc,inc/sfx2/templateview.hxx,sfx2/templateview.hxx))
$(eval $(call gb_Package_add_file,sfx2_inc,inc/sfx2/templatelocalview.hxx,sfx2/templatelocalview.hxx))
$(eval $(call gb_Package_add_file,sfx2_inc,inc/sfx2/templatelocalviewitem.hxx,sfx2/templatelocalviewitem.hxx))
...
...
sfx2/inc/sfx2/templateinfodlg.hxx
0 → 100644
Dosyayı görüntüle @
0c03f794
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef __SFX2_TEMPLATEINFODLG_HXX__
#define __SFX2_TEMPLATEINFODLG_HXX__
#include <vcl/dialog.hxx>
#include <vcl/button.hxx>
namespace
svtools
{
class
ODocumentInfoPreview
;
}
class
SfxTemplateInfoDlg
:
public
ModalDialog
{
public
:
SfxTemplateInfoDlg
(
Window
*
pParent
=
NULL
);
~
SfxTemplateInfoDlg
();
private
:
PushButton
maBtnClose
;
Window
*
mpPreviewView
;
svtools
::
ODocumentInfoPreview
*
mpInfoView
;
};
#endif // __SFX2_TEMPLATEINFODLG_HXX__
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
sfx2/inc/templatedlg.hxx
Dosyayı görüntüle @
0c03f794
...
...
@@ -17,6 +17,7 @@
class
Edit
;
class
PopupMenu
;
class
SfxTemplateInfoDlg
;
class
TemplateAbstractView
;
class
TemplateLocalView
;
class
TemplateOnlineView
;
...
...
sfx2/source/dialog/templateinfodlg.cxx
0 → 100644
Dosyayı görüntüle @
0c03f794
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#include <sfx2/templateinfodlg.hxx>
#include <sfx2/sfxresid.hxx>
#include <svtools/DocumentInfoPreview.hxx>
#include "templateinfodlg.hrc"
SfxTemplateInfoDlg
::
SfxTemplateInfoDlg
(
Window
*
pParent
)
:
ModalDialog
(
pParent
,
SfxResId
(
DLG_TEMPLATE_INFORMATION
)),
maBtnClose
(
this
,
SfxResId
(
BTN_TEMPLATE_INFO_CLOSE
))
{
}
SfxTemplateInfoDlg
::~
SfxTemplateInfoDlg
()
{
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
sfx2/source/dialog/templateinfodlg.hrc
0 → 100644
Dosyayı görüntüle @
0c03f794
/*
* Copyright 2012 LibreOffice contributors.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#define DLG_TEMPLATE_INFORMATION 400
#define BTN_TEMPLATE_INFO_CLOSE 11
sfx2/source/dialog/templateinfodlg.src
0 → 100644
Dosyayı görüntüle @
0c03f794
/*
* Copyright 2012 LibreOffice contributors.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#include "templateinfodlg.hrc"
ModalDialog DLG_TEMPLATE_INFORMATION
{
OutputSize = TRUE;
SVLook = TRUE;
Size = MAP_APPFONT( 250, 180 );
Moveable = TRUE;
Closeable = TRUE;
PushButton BTN_TEMPLATE_INFO_CLOSE
{
Pos = MAP_APPFONT( 194, 160 );
Size = MAP_APPFONT( 50, 14 );
Text [ en-US ] = "Close";
};
};
sfx2/source/doc/templatedlg.cxx
Dosyayı görüntüle @
0c03f794
...
...
@@ -20,6 +20,7 @@
#include <sfx2/fcontnr.hxx>
#include <sfx2/filedlghelper.hxx>
#include <sfx2/sfxresid.hxx>
#include <sfx2/templateinfodlg.hxx>
#include <sfx2/templatelocalview.hxx>
#include <sfx2/templatelocalviewitem.hxx>
#include <sfx2/templateonlineview.hxx>
...
...
@@ -946,6 +947,8 @@ void SfxTemplateManagerDlg::OnTemplateEdit ()
void
SfxTemplateManagerDlg
::
OnTemplateProperties
()
{
SfxTemplateInfoDlg
aDlg
;
aDlg
.
Execute
();
}
void
SfxTemplateManagerDlg
::
OnTemplateDelete
()
...
...
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