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
747519fd
Kaydet (Commit)
747519fd
authored
Haz 11, 2014
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Remove useless IXFObject
Change-Id: I11bdee00bd42ef302dbbfe9f52de5824aec985ee
üst
19dd5cf2
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
26 additions
and
121 deletions
+26
-121
ixfobject.hxx
lotuswordpro/source/filter/xfilter/ixfobject.hxx
+0
-90
ixfproperty.hxx
lotuswordpro/source/filter/xfilter/ixfproperty.hxx
+1
-3
ixfstyle.hxx
lotuswordpro/source/filter/xfilter/ixfstyle.hxx
+2
-1
xfbreaks.hxx
lotuswordpro/source/filter/xfilter/xfbreaks.hxx
+1
-1
xfcolumns.hxx
lotuswordpro/source/filter/xfilter/xfcolumns.hxx
+4
-4
xfcontent.hxx
lotuswordpro/source/filter/xfilter/xfcontent.hxx
+5
-2
xfdropcap.hxx
lotuswordpro/source/filter/xfilter/xfdropcap.hxx
+1
-1
xfglobal.hxx
lotuswordpro/source/filter/xfilter/xfglobal.hxx
+0
-1
xfmargins.hxx
lotuswordpro/source/filter/xfilter/xfmargins.hxx
+1
-1
xfnumfmt.hxx
lotuswordpro/source/filter/xfilter/xfnumfmt.hxx
+1
-1
xfofficemeta.hxx
lotuswordpro/source/filter/xfilter/xfofficemeta.hxx
+2
-2
xfpadding.hxx
lotuswordpro/source/filter/xfilter/xfpadding.hxx
+1
-1
xfshadow.hxx
lotuswordpro/source/filter/xfilter/xfshadow.hxx
+1
-1
xfstylecont.cxx
lotuswordpro/source/filter/xfilter/xfstylecont.cxx
+1
-1
xfstylecont.hxx
lotuswordpro/source/filter/xfilter/xfstylecont.hxx
+2
-2
xfstylemanager.hxx
lotuswordpro/source/filter/xfilter/xfstylemanager.hxx
+1
-1
xftextcontent.cxx
lotuswordpro/source/filter/xfilter/xftextcontent.cxx
+1
-4
xftextcontent.hxx
lotuswordpro/source/filter/xfilter/xftextcontent.hxx
+1
-4
No files found.
lotuswordpro/source/filter/xfilter/ixfobject.hxx
deleted
100644 → 0
Dosyayı görüntüle @
19dd5cf2
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
*
* - GNU Lesser General Public License Version 2.1
* - Sun Industry Standards Source License Version 1.1
*
* Sun Microsystems Inc., October, 2000
*
* GNU Lesser General Public License Version 2.1
* =============================================
* Copyright 2000 by Sun Microsystems, Inc.
* 901 San Antonio Road, Palo Alto, CA 94303, USA
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License version 2.1, as published by the Free Software Foundation.
*
* This library 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 for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
* MA 02111-1307 USA
*
*
* Sun Industry Standards Source License Version 1.1
* =================================================
* The contents of this file are subject to the Sun Industry Standards
* Source License Version 1.1 (the "License"); You may not use this file
* except in compliance with the License. You may obtain a copy of the
* License at http://www.openoffice.org/license.html.
*
* Software provided under this License is provided on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
* WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
* MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
* See the License for the specific provisions governing your rights and
* obligations concerning the Software.
*
* The Initial Developer of the Original Code is: IBM Corporation
*
* Copyright: 2008 by IBM Corporation
*
* All Rights Reserved.
*
* Contributor(s): _______________________________________
*
*
************************************************************************/
/*************************************************************************
* @file
* Interfer face for all object that will responsible for xml element output
************************************************************************/
#ifndef INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_XFILTER_IXFOBJECT_HXX
#define INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_XFILTER_IXFOBJECT_HXX
class
IXFStream
;
/*************************************************************************
* @descr
* This is the root interface for all object which will output something to
* the Sax Stream.
* I'll add reference management code later.
************************************************************************/
class
IXFObject
{
public
:
/**
* Virtual destructure function for all class,This makes the XFilter module
* a single-root framework.
*/
virtual
~
IXFObject
(){}
/**
* The funciton to serial the object to the sax stream.
* The objects that must implements ToXml is divided into two types:
* 1. IXFStyle objects that has something to do with styles.
* 2. XFContent objects that contents text or picture.
*/
virtual
void
ToXml
(
IXFStream
*
pSaxStream
)
=
0
;
};
#endif // INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_XFILTER_IXFOBJECT_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
lotuswordpro/source/filter/xfilter/ixfproperty.hxx
Dosyayı görüntüle @
747519fd
...
...
@@ -60,9 +60,7 @@
#ifndef INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_XFILTER_IXFPROPERTY_HXX
#define INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_XFILTER_IXFPROPERTY_HXX
#include "ixfobject.hxx"
class
IXFProperty
:
public
IXFObject
class
IXFProperty
{
public
:
...
...
lotuswordpro/source/filter/xfilter/ixfstyle.hxx
Dosyayı görüntüle @
747519fd
...
...
@@ -65,7 +65,7 @@
* @descr
* Interface for all style object.
*/
class
IXFStyle
:
public
IXFObject
class
IXFStyle
{
public
:
virtual
~
IXFStyle
(){}
...
...
@@ -104,6 +104,7 @@ public:
*/
virtual
bool
Equal
(
IXFStyle
*
pStyle
)
=
0
;
virtual
void
ToXml
(
IXFStream
*
stream
)
=
0
;
};
#endif
...
...
lotuswordpro/source/filter/xfilter/xfbreaks.hxx
Dosyayı görüntüle @
747519fd
...
...
@@ -82,7 +82,7 @@ public:
/**
* @descr Output breaks object.
*/
v
irtual
void
ToXml
(
IXFStream
*
pStrm
)
SAL_OVERRIDE
;
v
oid
ToXml
(
IXFStream
*
pStrm
)
;
friend
bool
operator
==
(
XFBreaks
&
b1
,
XFBreaks
&
b2
);
friend
bool
operator
!=
(
XFBreaks
&
b1
,
XFBreaks
&
b2
);
...
...
lotuswordpro/source/filter/xfilter/xfcolumns.hxx
Dosyayı görüntüle @
747519fd
...
...
@@ -70,7 +70,7 @@
/**
* @descr Columns object for page or section.
*/
class
XFColumn
:
public
IXFObject
class
XFColumn
{
public
:
XFColumn
()
...
...
@@ -94,7 +94,7 @@ public:
/**
* @descr output column style as an xml node.
*/
v
irtual
void
ToXml
(
IXFStream
*
pStrm
)
SAL_OVERRIDE
;
v
oid
ToXml
(
IXFStream
*
pStrm
)
;
friend
bool
operator
==
(
XFColumn
&
c1
,
XFColumn
&
c2
);
friend
bool
operator
!=
(
XFColumn
&
c1
,
XFColumn
&
c2
);
...
...
@@ -106,7 +106,7 @@ private:
double
m_fMarginRight
;
};
class
XFColumnSep
:
public
IXFObject
class
XFColumnSep
{
public
:
XFColumnSep
()
...
...
@@ -121,7 +121,7 @@ public:
void
SetColor
(
XFColor
&
color
);
void
SetVerticalAlign
(
enumXFAlignType
align
);
v
irtual
void
ToXml
(
IXFStream
*
pStrm
)
SAL_OVERRIDE
;
v
oid
ToXml
(
IXFStream
*
pStrm
)
;
friend
bool
operator
==
(
XFColumnSep
&
sep1
,
XFColumnSep
&
sep2
);
friend
bool
operator
!=
(
XFColumnSep
&
sep1
,
XFColumnSep
&
sep2
);
...
...
lotuswordpro/source/filter/xfilter/xfcontent.hxx
Dosyayı görüntüle @
747519fd
...
...
@@ -64,15 +64,16 @@
#include <rtl/ustring.hxx>
#include "ixfobject.hxx"
#include "xfdefs.hxx"
class
IXFStream
;
/**
* @descr
* Base class for all content object.
* There is only two properties:style name and content type in this class.
*/
class
XFContent
:
public
IXFObject
class
XFContent
{
public
:
virtual
~
XFContent
()
{}
...
...
@@ -92,6 +93,8 @@ public:
*/
OUString
GetStyleName
()
{
return
m_strStyleName
;}
virtual
void
ToXml
(
IXFStream
*
stream
)
=
0
;
protected
:
XFContent
()
{}
...
...
lotuswordpro/source/filter/xfilter/xfdropcap.hxx
Dosyayı görüntüle @
747519fd
...
...
@@ -80,7 +80,7 @@ public:
void
Reset
();
v
irtual
void
ToXml
(
IXFStream
*
pStrm
)
SAL_OVERRIDE
;
v
oid
ToXml
(
IXFStream
*
pStrm
)
;
friend
bool
operator
==
(
XFDropcap
&
dc1
,
XFDropcap
&
dc2
);
friend
bool
operator
!=
(
XFDropcap
&
dc1
,
XFDropcap
&
dc2
);
...
...
lotuswordpro/source/filter/xfilter/xfglobal.hxx
Dosyayı görüntüle @
747519fd
...
...
@@ -67,7 +67,6 @@
#include <rtl/ustring.hxx>
#include "ixfobject.hxx"
#include "ixfstream.hxx"
#include "ixfattrlist.hxx"
...
...
lotuswordpro/source/filter/xfilter/xfmargins.hxx
Dosyayı görüntüle @
747519fd
...
...
@@ -84,7 +84,7 @@ public:
double
GetTop
();
double
GetBottom
();
v
irtual
void
ToXml
(
IXFStream
*
pStrm
)
SAL_OVERRIDE
;
v
oid
ToXml
(
IXFStream
*
pStrm
)
;
friend
bool
operator
==
(
XFMargins
&
indent1
,
XFMargins
&
indent2
);
friend
bool
operator
!=
(
XFMargins
&
indent1
,
XFMargins
&
indent2
);
...
...
lotuswordpro/source/filter/xfilter/xfnumfmt.hxx
Dosyayı görüntüle @
747519fd
...
...
@@ -127,7 +127,7 @@ public:
m_nStartValue
=
start
;
}
v
irtual
void
ToXml
(
IXFStream
*
pStrm
)
SAL_OVERRIDE
v
oid
ToXml
(
IXFStream
*
pStrm
)
{
IXFAttrList
*
pAttrList
=
pStrm
->
GetAttrList
();
...
...
lotuswordpro/source/filter/xfilter/xfofficemeta.hxx
Dosyayı görüntüle @
747519fd
...
...
@@ -63,7 +63,7 @@
#include "xfglobal.hxx"
class
XFOfficeMeta
:
public
IXFObject
class
XFOfficeMeta
{
public
:
XFOfficeMeta
(){}
...
...
@@ -76,7 +76,7 @@ public:
void
SetLastTime
(
const
OUString
&
lstime
);
void
SetEditTime
(
const
OUString
&
edtime
);
v
irtual
void
ToXml
(
IXFStream
*
pStream
)
SAL_OVERRIDE
;
v
oid
ToXml
(
IXFStream
*
pStream
)
;
private
:
OUString
m_strGenerator
;
OUString
m_strTitle
;
...
...
lotuswordpro/source/filter/xfilter/xfpadding.hxx
Dosyayı görüntüle @
747519fd
...
...
@@ -106,7 +106,7 @@ public:
/**
* @descr Output padding properties.
*/
v
irtual
void
ToXml
(
IXFStream
*
pStrm
)
SAL_OVERRIDE
;
v
oid
ToXml
(
IXFStream
*
pStrm
)
;
friend
bool
operator
==
(
XFPadding
&
p1
,
XFPadding
&
p2
);
friend
bool
operator
!=
(
XFPadding
&
p1
,
XFPadding
&
p2
);
...
...
lotuswordpro/source/filter/xfilter/xfshadow.hxx
Dosyayı görüntüle @
747519fd
...
...
@@ -108,7 +108,7 @@ public:
OUString
ToString
();
v
irtual
void
ToXml
(
IXFStream
*
pStrm
)
SAL_OVERRIDE
;
v
oid
ToXml
(
IXFStream
*
pStrm
)
;
friend
bool
operator
==
(
XFShadow
&
s1
,
XFShadow
&
s2
);
friend
bool
operator
!=
(
XFShadow
&
s1
,
XFShadow
&
s2
);
...
...
lotuswordpro/source/filter/xfilter/xfstylecont.cxx
Dosyayı görüntüle @
747519fd
...
...
@@ -70,7 +70,7 @@ XFStyleContainer::XFStyleContainer(const OUString& strStyleNamePrefix)
{
}
XFStyleContainer
::
XFStyleContainer
(
const
XFStyleContainer
&
other
)
:
IXFObject
(
other
),
XFStyleContainer
::
XFStyleContainer
(
const
XFStyleContainer
&
other
)
:
m_aStyles
(
other
.
m_aStyles
),
m_strStyleNamePrefix
(
other
.
m_strStyleNamePrefix
)
{
}
...
...
lotuswordpro/source/filter/xfilter/xfstylecont.hxx
Dosyayı görüntüle @
747519fd
...
...
@@ -69,7 +69,7 @@ class IXFStyle;
* @descr container object for styles.
* All styles can be placed into an style container.
*/
class
XFStyleContainer
:
public
IXFObject
class
XFStyleContainer
{
public
:
XFStyleContainer
(){}
...
...
@@ -117,7 +117,7 @@ public:
/**
* @descr Output all style.
*/
virtual
void
ToXml
(
IXFStream
*
pStrm
)
SAL_OVERRIDE
;
virtual
void
ToXml
(
IXFStream
*
pStrm
);
friend
bool
operator
==
(
XFStyleContainer
&
b1
,
XFStyleContainer
&
b2
);
friend
bool
operator
!=
(
XFStyleContainer
&
b1
,
XFStyleContainer
&
b2
);
...
...
lotuswordpro/source/filter/xfilter/xfstylemanager.hxx
Dosyayı görüntüle @
747519fd
...
...
@@ -80,7 +80,7 @@ class XFEndnoteConfig;
* Style manager for the filter.
* This is a global object, all styles will be placed here before output.
*/
class
XFStyleManager
// : public IXFObject
class
XFStyleManager
{
public
:
XFStyleManager
();
...
...
lotuswordpro/source/filter/xfilter/xftextcontent.cxx
Dosyayı görüntüle @
747519fd
...
...
@@ -53,10 +53,7 @@
*
*
************************************************************************/
/*************************************************************************
* @file
* Text content, it's an adapter for string to IXFObject.
************************************************************************/
#include "xftextcontent.hxx"
#include "ixfstream.hxx"
...
...
lotuswordpro/source/filter/xfilter/xftextcontent.hxx
Dosyayı görüntüle @
747519fd
...
...
@@ -53,10 +53,7 @@
*
*
************************************************************************/
/*************************************************************************
* @file
* Text content, it's an adapter for string to IXFObject.
************************************************************************/
#ifndef INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_XFILTER_XFTEXTCONTENT_HXX
#define INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_XFILTER_XFTEXTCONTENT_HXX
...
...
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