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
7438c388
Kaydet (Commit)
7438c388
authored
Nis 29, 2011
tarafından
Norbert Thiebaud
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
remove double objects include in sw
üst
2c05c11b
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
25 additions
and
7 deletions
+25
-7
Library_sw.mk
sw/Library_sw.mk
+1
-1
Library_swd.mk
sw/Library_swd.mk
+1
-0
Library_swui.mk
sw/Library_swui.mk
+1
-0
iodetect.hxx
sw/inc/iodetect.hxx
+6
-6
swddllapi.h
sw/inc/swddllapi.h
+16
-0
No files found.
sw/Library_sw.mk
Dosyayı görüntüle @
7438c388
...
...
@@ -73,6 +73,7 @@ $(eval $(call gb_Library_add_linked_libs,sw,\
svt \
svx \
svxcore \
swd \
tk \
tl \
ucbhelper \
...
...
@@ -472,7 +473,6 @@ $(eval $(call gb_Library_add_exception_objects,sw,\
sw/source/filter/ascii/wrtasc \
sw/source/filter/basflt/docfact \
sw/source/filter/basflt/fltini \
sw/source/filter/basflt/iodetect \
sw/source/filter/basflt/shellio \
sw/source/filter/html/SwAppletImpl \
sw/source/filter/html/css1atr \
...
...
sw/Library_swd.mk
Dosyayı görüntüle @
7438c388
...
...
@@ -43,6 +43,7 @@ $(eval $(call gb_Library_set_include,swd,\
$(eval $(call gb_Library_set_defs,swd,\
$$(DEFS) \
-DSWD_DLLIMPLEMENTATION \
))
$(eval $(call gb_Library_add_linked_libs,swd,\
...
...
sw/Library_swui.mk
Dosyayı görüntüle @
7438c388
...
...
@@ -59,6 +59,7 @@ $(eval $(call gb_Library_add_linked_libs,swui,\
svx \
svxcore \
sw \
swd \
tk \
tl \
ucbhelper \
...
...
sw/inc/iodetect.hxx
Dosyayı görüntüle @
7438c388
...
...
@@ -34,7 +34,7 @@
#include <sfx2/fcontnr.hxx>
#include <osl/endian.h>
#include <tools/string.hxx>
#include <swdllapi.h>
#include <swd
d
llapi.h>
#define FILTER_RTF "RTF" // RTF filter
#define sRtfWH "WH_RTF"
...
...
@@ -86,7 +86,7 @@ enum ReaderWriterEnum {
MAXFILTER
};
extern
SwIoDetect
aFilterDetect
[];
extern
S
WD_DLLPUBLIC
S
wIoDetect
aFilterDetect
[];
// The following class is a wrapper for basic i/o functions of Writer 3.0.
// Everything is static. All filter names mentioned are Writer-internal
...
...
@@ -97,13 +97,13 @@ class SwIoSystem
{
public
:
// find for an internal format name the corresponding filter entry
SW_DLLPUBLIC
static
const
SfxFilter
*
GetFilterOfFormat
(
const
String
&
rFormat
,
SW
D
_DLLPUBLIC
static
const
SfxFilter
*
GetFilterOfFormat
(
const
String
&
rFormat
,
const
SfxFilterContainer
*
pCnt
=
0
);
// Detect for the given file which filter should be used. The filter name
// is returned. If no filter could be found, the name of the ASCII filter
// is returned!
static
const
SfxFilter
*
GetFileFilter
(
const
String
&
rFileName
,
SWD_DLLPUBLIC
static
const
SfxFilter
*
GetFileFilter
(
const
String
&
rFileName
,
const
String
&
rPrefFltName
,
SfxMedium
*
pMedium
=
0
);
...
...
@@ -115,12 +115,12 @@ public:
static
sal_Bool
IsValidStgFilter
(
SotStorage
&
,
const
SfxFilter
&
);
static
sal_Bool
IsValidStgFilter
(
const
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
embed
::
XStorage
>&
rStg
,
const
SfxFilter
&
rFilter
);
static
bool
IsDetectableText
(
const
sal_Char
*
pBuf
,
sal_uLong
&
rLen
,
SWD_DLLPUBLIC
static
bool
IsDetectableText
(
const
sal_Char
*
pBuf
,
sal_uLong
&
rLen
,
CharSet
*
pCharSet
=
0
,
bool
*
pSwap
=
0
,
LineEnd
*
pLineEnd
=
0
,
bool
bEncodedFilter
=
false
);
static
const
SfxFilter
*
GetTextFilter
(
const
sal_Char
*
pBuf
,
sal_uLong
nLen
);
static
const
String
GetSubStorageName
(
const
SfxFilter
&
rFltr
);
SWD_DLLPUBLIC
static
const
String
GetSubStorageName
(
const
SfxFilter
&
rFltr
);
};
#endif
...
...
sw/inc/swddllapi.h
0 → 100644
Dosyayı görüntüle @
7438c388
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
#ifndef INCLUDED_SWDDLLAPI_H
#define INCLUDED_SWDDLLAPI_H
#include "sal/types.h"
#if defined(SWD_DLLIMPLEMENTATION)
#define SWD_DLLPUBLIC SAL_DLLPUBLIC_EXPORT
#else
#define SWD_DLLPUBLIC SAL_DLLPUBLIC_IMPORT
#endif
#define SWD_DLLPRIVATE SAL_DLLPRIVATE
#endif
/* INCLUDED_SWDDLLAPI_H */
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
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