Adding Diagram extension

Diagram is an OpenOffice.org Draw and Impress extension that creates your favorite diagrams with few clicks.
http://wiki.services.openoffice.org/wiki/Diagram_Extension
This commit is contained in:
Kalman Szalai - KAMI 2010-10-30 19:57:14 +02:00
parent f974a612eb
commit 87ec34b20e
5 changed files with 72 additions and 8 deletions

View file

@ -897,6 +897,11 @@ AC_ARG_WITH(watch-window,
--with-watch-window Integrate Watch Window extension to Calc],
,)
AC_ARG_WITH(diagram,
[
--with-diagram Integrate Diagram extension],
,)
AC_ARG_WITH(google-docs,
[
--with-google-docs Download and integrate Google Documents extension.],
@ -6813,6 +6818,18 @@ else
fi
AC_SUBST(WITH_WATCH_WINDOW_EXTENSION)
dnl ===================================================================
dnl Test whether to include Diagram extension
dnl ===================================================================
AC_MSG_CHECKING([for Diagram extension integration])
if test "z$with_diagram" = "z" -o "z$with_diagram" = "zno" ; then
AC_MSG_RESULT([no])
else
AC_MSG_RESULT([yes])
SCPDEFS="$SCPDEFS -DWITH_EXTENSION_DIAGRAM"
fi
AC_SUBST(WITH_DIAGRAM_EXTENSION)
dnl ===================================================================
dnl Test whether to include ConvertTextToNumber extension
dnl ===================================================================

View file

@ -4,9 +4,9 @@
*
* $RCSfile: directory_extensions.scp,v $
*
* $Revision: 1.0 $
* $Revision: 1.1 $
*
* last change: $Author: KAMI $ $Date: 2010/08/12 21:29:17 $
* last change: $Author: KAMI $ $Date: 2010/10/30 19:40:10 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 3.
@ -154,6 +154,17 @@ End
#endif
/* ** Diagram ** */
#ifdef WITH_EXTENSION_DIAGRAM
Directory gid_Brand_Dir_Share_Extensions_Diagram
ParentID = gid_Brand_Dir_Share_Extensions;
DosName = "Diagram";
End
#endif
/* ** Google Docs ** */
#ifdef WITH_EXTENSION_GOOGLE_DOCS

View file

@ -4,9 +4,9 @@
*
* $RCSfile: file_extensions.scp,v $
*
* $Revision: 1.2 $
* $Revision: 1.3 $
*
* last change: $Author: KAMI $ $Date: 2010/08/010 23:58:39 $
* last change: $Author: KAMI $ $Date: 2010/10/30 19:40:10 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 3.
@ -181,6 +181,19 @@ End
#endif
/* ** Diagram ** */
#ifdef WITH_EXTENSION_DIAGRAM
File gid_File_Oxt_Diagram
TXT_FILE_BODY;
Styles = (PACKED, ARCHIVE);
Dir = gid_Brand_Dir_Share_Extensions_Diagram;
Name = "Diagram.oxt";
End
#endif
/* ** Google Docs ** */
#ifdef WITH_EXTENSION_GOOGLE_DOCS

View file

@ -4,9 +4,9 @@
*
* $RCSfile: module_accessories.scp,v $
*
* $Revision: 1.0 $
* $Revision: 1.1 $
*
* last change: $Author: KAMI $ $Date: 2006/02/18 14:50:39 $
* last change: $Author: KAMI $ $Date: 2010/10/30 19:40:10 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 3.
@ -228,6 +228,23 @@ End
#endif
#endif
/* ** Diagram ** */
#ifdef WITH_EXTENSION_DIAGRAM
#ifdef WITH_EXTENSION_INTEGRATION
Module gid_Module_Optional_Extensions_Diagram
PackageInfo = "packinfo_extensions.txt";
MOD_NAME_DESC(MODULE_OPTIONAL_EXTENSIONS_DIAGRAM);
ParentID = gid_Module_Optional_Extensions;
Files = (
gid_File_Oxt_Diagram );
Minimal = NO;
Default = YES;
Styles = ( );
End
#endif
#endif
/* ** Google Docs ** */
#ifdef WITH_EXTENSION_GOOGLE_DOCS

View file

@ -4,9 +4,9 @@
*
* $RCSfile: module_accessories.ulf,v $
*
* $Revision: 1.0 $
* $Revision: 1.1 $
*
* last change: $Author: KAMI $ $Date: 2006/02/18 14:50:39 $
* last change: $Author: KAMI $ $Date: 2010/10/30 19:40:10 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 3.
@ -105,6 +105,12 @@ en-US = "Watch Window"
[STR_DESC_MODULE_OPTIONAL_EXTENSIONS_WATCH_WINDOW]
en-US = "Watch Window"
[STR_NAME_MODULE_OPTIONAL_EXTENSIONS_DIAGRAM]
en-US = "Diagram"
[STR_DESC_MODULE_OPTIONAL_EXTENSIONS_DIAGRAM]
en-US = "Diagram"
[STR_NAME_MODULE_OPTIONAL_EXTENSIONS_GOOGLE_DOCS]
en-US = "Google Docs & Zoho"