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
2a63c47b
Kaydet (Commit)
2a63c47b
authored
Nis 14, 2012
tarafından
Jan Holesovsky
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Build svg2odf tool to be able to test the svg import.
üst
bca961b8
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
107 additions
and
2 deletions
+107
-2
Repository.mk
Repository.mk
+1
-0
Executable_svg2odf.mk
filter/Executable_svg2odf.mk
+47
-0
Library_svgfilter.mk
filter/Library_svgfilter.mk
+5
-0
Module_filter.mk
filter/Module_filter.mk
+1
-0
dllapi.h
filter/inc/filter/dllapi.h
+49
-0
svgreader.hxx
filter/source/svg/svgreader.hxx
+4
-2
No files found.
Repository.mk
Dosyayı görüntüle @
2a63c47b
...
...
@@ -47,6 +47,7 @@ $(eval $(call gb_Helper_register_executables,NONE, \
saxparser \
so_checksum \
sp2bv \
svg2odf \
svidl \
typesconfig \
xml2cmp \
...
...
filter/Executable_svg2odf.mk
0 → 100644
Dosyayı görüntüle @
2a63c47b
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
# Version: MPL 1.1 / GPLv3+ / LGPLv3+
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License or as specified alternatively below. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# Major Contributor(s):
# Copyright (C) 2011 Jan Holesovsky <kendy@suse.cz>, SUSE
# (initial developer)
#
# All Rights Reserved.
#
# For minor contributions see the git repository.
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above.
$(eval $(call gb_Executable_Executable,svg2odf))
$(eval $(call gb_Executable_set_targettype_gui,svg2odf,YES))
$(eval $(call gb_Executable_use_api,svg2odf,\
offapi \
udkapi \
))
$(eval $(call gb_Executable_use_libraries,svg2odf,\
svgfilter \
$(gb_STDLIBS) \
))
$(eval $(call gb_Executable_add_cxxobjects,svg2odf,\
filter/source/svg/test/svg2odf \
filter/source/svg/test/odfserializer \
))
# vim: set ts=4 sw=4 et:
filter/Library_svgfilter.mk
Dosyayı görüntüle @
2a63c47b
...
...
@@ -27,6 +27,11 @@ $(eval $(call gb_Library_add_defs,svgfilter,\
-DUSE_MODERN_SPIRIT \
))
$(eval $(call gb_Library_set_include,svgfilter,\
$$(INCLUDE) \
-I$(SRCDIR)/filter/inc \
))
$(eval $(call gb_Library_use_api,svgfilter,\
udkapi \
offapi \
...
...
filter/Module_filter.mk
Dosyayı görüntüle @
2a63c47b
...
...
@@ -27,6 +27,7 @@ $(eval $(call gb_Module_add_targets,filter,\
AllLangResTarget_xsltdlg \
Configuration_filter \
CustomTarget_svg \
Executable_svg2odf \
Library_PptImporter \
Library_egi \
Library_eme \
...
...
filter/inc/filter/dllapi.h
0 → 100644
Dosyayı görüntüle @
2a63c47b
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
*
* This file is part of OpenOffice.org.
*
* OpenOffice.org is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3
* only, as published by the Free Software Foundation.
*
* OpenOffice.org is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License version 3 for more details
* (a copy is included in the LICENSE file that accompanied this code).
*
* You should have received a copy of the GNU Lesser General Public License
* version 3 along with OpenOffice.org. If not, see
* <http://www.openoffice.org/license.html>
* for a copy of the LGPLv3 License.
*
************************************************************************/
#ifndef _FILTER_DLLAPI_H
#define _FILTER_DLLAPI_H
#include "sal/config.h"
#include "sal/types.h"
#if defined FILTER_DLLIMPLEMENTATION
#define FILTER_DLLPUBLIC SAL_DLLPUBLIC_EXPORT
#else
#define FILTER_DLLPUBLIC SAL_DLLPUBLIC_IMPORT
#endif
#if defined UNX && ! defined MACOS
#define FILTER_PLUGIN_PUBLIC FILTER_DLLPUBLIC
#else
#define FILTER_PLUGIN_PUBLIC SAL_DLLPRIVATE
#endif
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
filter/source/svg/svgreader.hxx
Dosyayı görüntüle @
2a63c47b
...
...
@@ -27,6 +27,8 @@
#ifndef INCLUDED_SVGREADER_HXX
#define INCLUDED_SVGREADER_HXX
#include <filter/dllapi.h>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/xml/sax/XDocumentHandler.hpp>
...
...
@@ -42,11 +44,11 @@ class SVGReader
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
xml
::
sax
::
XDocumentHandler
>
m_xDocumentHandler
;
public
:
SVGReader
(
const
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
lang
::
XMultiServiceFactory
>&
xServiceFactory
,
FILTER_DLLPUBLIC
SVGReader
(
const
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
lang
::
XMultiServiceFactory
>&
xServiceFactory
,
const
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
io
::
XInputStream
>&
xInputStream
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
xml
::
sax
::
XDocumentHandler
>&
xDocumentHandler
);
sal_Bool
parseAndConvert
();
FILTER_DLLPUBLIC
sal_Bool
parseAndConvert
();
};
}
// namespace svgi
...
...
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