Files
libreoffice/sw/inc/hintids.hxx

431 lines
16 KiB
C++
Raw Normal View History

2000-09-18 16:15:01 +00:00
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
2000-09-18 16:15:01 +00:00
*
* Copyright 2008 by Sun Microsystems, Inc.
2000-09-18 16:15:01 +00:00
*
* OpenOffice.org - a multi-platform office productivity suite
2000-09-18 16:15:01 +00:00
*
* $RCSfile: hintids.hxx,v $
* $Revision: 1.37 $
2000-09-18 16:15:01 +00:00
*
* This file is part of OpenOffice.org.
2000-09-18 16:15:01 +00:00
*
* 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.
2000-09-18 16:15:01 +00:00
*
* 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).
2000-09-18 16:15:01 +00:00
*
* 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.
2000-09-18 16:15:01 +00:00
*
************************************************************************/
#ifndef _HINTIDS_HXX
#define _HINTIDS_HXX
#include <tools/solar.h> // fuer __FAR_DATA
#include <sal/types.h> // for sal_Unicode
#include "swdllapi.h"
2000-09-18 16:15:01 +00:00
// fuer SwTxtHints ohne Endindex wird folgendes Zeichen eingefuegt:
//JP 24.05.00: for the new UniCode Version:
#define CH_TXTATR_BREAKWORD ((sal_Unicode)0x01)
#define CH_TXTATR_INWORD ((sal_Unicode)0x02)
#define CH_TXTATR_TAB ((sal_Unicode)'\t')
#define CH_TXTATR_NEWLINE ((sal_Unicode)'\n')
#define CH_TXT_ATR_FIELDSTART ((sal_Unicode)0x04)
#define CH_TXT_ATR_FIELDEND ((sal_Unicode)0x05)
#define CH_TXT_ATR_SUBST_FIELDSTART ("[")
#define CH_TXT_ATR_SUBST_FIELDEND ("]")
//#define CH_TXT_ATR_FORMELEMENT ((sal_Unicode)'#')
#define CH_TXT_ATR_FORMELEMENT ((sal_Unicode)0x06)
/*
#define FIELD_BOOKMARK_PREFIX "__"
#define FIELD_FORM_BOOKMARK_PREFIX "__FORM"
*/
2000-09-18 16:15:01 +00:00
/*
* Hier kommen erst mal die enums fuer die Hints
*/
#define HINT_BEGIN 1
#define POOLATTR_BEGIN HINT_BEGIN
#define POOLATTR_END RES_UNKNOWNATR_END
// Bereiche fuer die Id's der einzelnen Format-Attribute
// die Which-Werte fuer die Charakter-Format Attribute
enum RES_CHRATR
{
RES_CHRATR_BEGIN = HINT_BEGIN,
RES_CHRATR_CASEMAP = RES_CHRATR_BEGIN, // 1
RES_CHRATR_CHARSETCOLOR, // 2
RES_CHRATR_COLOR, // 3
RES_CHRATR_CONTOUR, // 4
RES_CHRATR_CROSSEDOUT, // 5
RES_CHRATR_ESCAPEMENT, // 6
RES_CHRATR_FONT, // 7
RES_CHRATR_FONTSIZE, // 8
RES_CHRATR_KERNING, // 9
RES_CHRATR_LANGUAGE, // 10
RES_CHRATR_POSTURE, // 11
RES_CHRATR_PROPORTIONALFONTSIZE, // 12
RES_CHRATR_SHADOWED, // 13
RES_CHRATR_UNDERLINE, // 14
RES_CHRATR_WEIGHT, // 15
RES_CHRATR_WORDLINEMODE, // 16
RES_CHRATR_AUTOKERN, // 17
RES_CHRATR_BLINK, // 18
RES_CHRATR_NOHYPHEN, // 19
RES_CHRATR_NOLINEBREAK, // 20
RES_CHRATR_BACKGROUND, // 21
RES_CHRATR_CJK_FONT, // 22
RES_CHRATR_CJK_FONTSIZE, // 23
RES_CHRATR_CJK_LANGUAGE, // 24
RES_CHRATR_CJK_POSTURE, // 25
RES_CHRATR_CJK_WEIGHT, // 26
RES_CHRATR_CTL_FONT, // 27
RES_CHRATR_CTL_FONTSIZE, // 28
RES_CHRATR_CTL_LANGUAGE, // 29
RES_CHRATR_CTL_POSTURE, // 30
RES_CHRATR_CTL_WEIGHT, // 31
RES_CHRATR_ROTATE, // 32
2000-10-30 11:51:04 +00:00
RES_CHRATR_EMPHASIS_MARK, // 33
RES_CHRATR_TWO_LINES, // 34
RES_CHRATR_SCALEW, // 35
2001-03-05 12:50:48 +00:00
RES_CHRATR_RELIEF, // 36
RES_CHRATR_HIDDEN, // 37
2000-09-18 16:15:01 +00:00
RES_CHRATR_END
};
// diese Attribute stehen nur im SwpAttr-Array vom TextNode
enum RES_TXTATR
{
RES_TXTATR_BEGIN = RES_CHRATR_END,
// alle TextAttribute mit einem Ende
// JP 12.07.96: die Ids RES_TXTATR_NOLINEBREAK und RES_TXTATR_NOHYPHEN
// wanderten in den Bereich der CharAttr. Die Ids selbst muessen
// aber als Dummies noch erhalten bleiben. Der SwG-/Sw3 Reader
// merkt sich die Ids immer als Offset zum Start der Gruppe!!!
// Aus dem RES_TXTATR_NOLINEBREAK ist jetzt RES_TXTATR_INETFMT geworden.
RES_TXTATR_WITHEND_BEGIN = RES_TXTATR_BEGIN ,
RES_TXTATR_AUTOFMT = RES_TXTATR_WITHEND_BEGIN, // 38
RES_TXTATR_INETFMT, // 39
2000-09-18 16:15:01 +00:00
RES_TXTATR_REFMARK, // 40
RES_TXTATR_TOXMARK, // 41
RES_TXTATR_CHARFMT, // 42
RES_TXTATR_DUMMY5, // 43
2000-09-18 16:15:01 +00:00
RES_TXTATR_CJK_RUBY, // 44
RES_TXTATR_UNKNOWN_CONTAINER, // 45
RES_TXTATR_DUMMY6, // 46
RES_TXTATR_DUMMY7, // 47
2000-09-18 16:15:01 +00:00
RES_TXTATR_WITHEND_END,
// alle TextAttribute ohne ein Ende
RES_TXTATR_NOEND_BEGIN = RES_TXTATR_WITHEND_END,
RES_TXTATR_FIELD = RES_TXTATR_NOEND_BEGIN, // 48
RES_TXTATR_FLYCNT, // 49
RES_TXTATR_FTN, // 50
RES_TXTATR_SOFTHYPH, // 51
RES_TXTATR_HARDBLANK, // 52
RES_TXTATR_DUMMY1, // 53
RES_TXTATR_DUMMY2, // 54
RES_TXTATR_NOEND_END,
RES_TXTATR_END = RES_TXTATR_NOEND_END
};
enum RES_PARATR
{
RES_PARATR_BEGIN = RES_TXTATR_END,
RES_PARATR_LINESPACING = RES_PARATR_BEGIN, // 55
RES_PARATR_ADJUST, // 56
RES_PARATR_SPLIT, // 57
RES_PARATR_ORPHANS, // 58
RES_PARATR_WIDOWS, // 59
RES_PARATR_TABSTOP, // 60
RES_PARATR_HYPHENZONE, // 61
RES_PARATR_DROP, // 62
RES_PARATR_REGISTER, // 63
RES_PARATR_NUMRULE, // 64
RES_PARATR_SCRIPTSPACE, // 65
RES_PARATR_HANGINGPUNCTUATION, // 66
2000-11-29 16:20:06 +00:00
RES_PARATR_FORBIDDEN_RULES, // 67
2001-04-10 13:18:33 +00:00
RES_PARATR_VERTALIGN, // 68
2002-02-06 15:07:13 +00:00
RES_PARATR_SNAPTOGRID, // 69
RES_PARATR_CONNECT_BORDER, // 70
2000-09-18 16:15:01 +00:00
RES_PARATR_END
};
// --> OD 2008-02-25 #refactorlists#
// list attributes for paragraphs.
// intentionally these list attributes are not contained in paragraph styles
enum RES_PARATR_LIST
{
RES_PARATR_LIST_BEGIN = RES_PARATR_END,
RES_PARATR_LIST_ID = RES_PARATR_LIST_BEGIN, // 71
RES_PARATR_LIST_LEVEL, // 72
RES_PARATR_LIST_ISRESTART, // 73
RES_PARATR_LIST_RESTARTVALUE, // 74
RES_PARATR_LIST_ISCOUNTED, // 75
RES_PARATR_LIST_END
};
// <--
2000-09-18 16:15:01 +00:00
enum RES_FRMATR
{
RES_FRMATR_BEGIN = RES_PARATR_LIST_END,
RES_FILL_ORDER = RES_FRMATR_BEGIN, // 76
RES_FRM_SIZE, // 77
RES_PAPER_BIN, // 78
RES_LR_SPACE, // 79
RES_UL_SPACE, // 80
RES_PAGEDESC, // 81
RES_BREAK, // 82
RES_CNTNT, // 83
RES_HEADER, // 84
RES_FOOTER, // 85
RES_PRINT, // 86
RES_OPAQUE, // 87
RES_PROTECT, // 88
RES_SURROUND, // 89
RES_VERT_ORIENT, // 90
RES_HORI_ORIENT, // 91
RES_ANCHOR, // 92
RES_BACKGROUND, // 93
RES_BOX, // 94
RES_SHADOW, // 95
RES_FRMMACRO, // 96
RES_COL, // 97
RES_KEEP, // 98
RES_URL, // 99
RES_EDIT_IN_READONLY, // 100
RES_LAYOUT_SPLIT, // 101
RES_CHAIN, // 102
RES_TEXTGRID, // 103
RES_LINENUMBER , // 104
RES_FTN_AT_TXTEND, // 105
RES_END_AT_TXTEND, // 106
RES_COLUMNBALANCE, // 107
RES_FRAMEDIR, // 108
RES_HEADER_FOOTER_EAT_SPACING, // 109
RES_ROW_SPLIT, // 110
RES_FOLLOW_TEXT_FLOW, // 111
// --> collapsing borders FME 2005-05-27 #i29550#
RES_COLLAPSING_BORDERS, // 112
// <-- collapsing
// OD 2004-05-04 #i28701# - use dummy1 for new item
RES_WRAP_INFLUENCE_ON_OBJPOS, // 113
RES_AUTO_STYLE, // 114
RES_FRMATR_STYLE_NAME, // 115
RES_FRMATR_CONDITIONAL_STYLE_NAME, // 116
2000-09-18 16:15:01 +00:00
RES_FRMATR_END
};
enum RES_GRFATR
{
RES_GRFATR_BEGIN = RES_FRMATR_END,
RES_GRFATR_MIRRORGRF = RES_GRFATR_BEGIN, // 117
RES_GRFATR_CROPGRF, // 118
2000-09-18 16:15:01 +00:00
RES_GRFATR_ROTATION, // 119
RES_GRFATR_LUMINANCE, // 120
RES_GRFATR_CONTRAST, // 121
RES_GRFATR_CHANNELR, // 122
RES_GRFATR_CHANNELG, // 123
RES_GRFATR_CHANNELB, // 124
RES_GRFATR_GAMMA, // 125
RES_GRFATR_INVERT, // 126
RES_GRFATR_TRANSPARENCY, // 127
RES_GRFATR_DRAWMODE, // 128
2000-09-18 16:15:01 +00:00
RES_GRFATR_DUMMY1, // 129
RES_GRFATR_DUMMY2, // 130
RES_GRFATR_DUMMY3, // 131
RES_GRFATR_DUMMY4, // 132
RES_GRFATR_DUMMY5, // 133
2000-09-18 16:15:01 +00:00
RES_GRFATR_END
};
enum RES_BOXATR
{
RES_BOXATR_BEGIN = RES_GRFATR_END,
RES_BOXATR_FORMAT = RES_BOXATR_BEGIN, // 134
RES_BOXATR_FORMULA, // 135
RES_BOXATR_VALUE, // 136
2000-09-18 16:15:01 +00:00
RES_BOXATR_END
};
enum RES_UNKNOWNATR
{
RES_UNKNOWNATR_BEGIN = RES_BOXATR_END,
RES_UNKNOWNATR_CONTAINER = RES_UNKNOWNATR_BEGIN,// 137
2000-09-18 16:15:01 +00:00
RES_UNKNOWNATR_END
};
// ID-s fuer die Formate
enum RES_FMT
{
RES_FMT_BEGIN = RES_UNKNOWNATR_END,
RES_CHRFMT = RES_FMT_BEGIN,
RES_FRMFMT,
RES_FLYFRMFMT,
RES_TXTFMTCOLL,
RES_GRFFMTCOLL,
RES_DRAWFRMFMT,
RES_CONDTXTFMTCOLL,
RES_FMT_END
};
// die ID's fuer Messages in den Formaten
enum RES_MSG
{
RES_MSG_BEGIN = RES_FMT_END,
RES_OBJECTDYING = RES_MSG_BEGIN,
RES_FMT_CHG,
RES_ATTRSET_CHG,
RES_FRM_SIZECHG,
RES_TXTATR_FLDCHG,
RES_TXTATR_EMPTYCHG,
RES_INS_CHR,
RES_INS_TXT,
RES_DEL_CHR,
RES_DEL_TXT,
RES_UPDATE_ATTR,
RES_PAGEDESC_FTNINFO,
RES_REFMARKFLD_UPDATE,
RES_DOCPOS_UPDATE,
RES_TABLEFML_UPDATE,
RES_UPDATEDDETBL,
RES_TBLHEADLINECHG,
RES_AUTOFMT_DOCNODE,
RES_REPAINT,
RES_DOC_DTOR,
RES_SECTION_HIDDEN,
RES_SECTION_NOT_HIDDEN,
RES_GRAPHIC_ARRIVED,
RES_GRAPHIC_PIECE_ARRIVED,
RES_HIDDENPARA_PRINT,
RES_CONDCOLL_CONDCHG,
RES_VIRTPAGENUM_INFO,
// --> OD 2008-02-25 #refactorlists#
// RES_GETNUMNODES,
// <--
2000-09-18 16:15:01 +00:00
RES_GETLOWERNUMLEVEL,
RES_RESET_FMTWRITTEN,
RES_REMOVE_UNO_OBJECT,
RES_GRF_REREAD_AND_INCACHE,
RES_SECTION_RESETHIDDENFLAG,
RES_FINDNEARESTNODE,
RES_CONTENT_VISIBLE,
RES_FOOTNOTE_DELETED,
RES_REFMARK_DELETED,
RES_TOXMARK_DELETED,
RES_GRAPHIC_SWAPIN,
2001-04-03 11:44:46 +00:00
RES_FIELD_DELETED,
RES_NAME_CHANGED,
RES_ALT_TEXT_CHANGED,
RES_UNOCURSOR_LEAVES_SECTION,
RES_LINKED_GRAPHIC_STREAM_ARRIVED,
2000-09-18 16:15:01 +00:00
RES_MSG_END
};
// eine ID fuer den RTF-Reader. Die Stylesheets werden wie
// Attribute behandelt, d.H. es gibt ein StyleSheet Attribut. Um
// nicht mit anderen Which()-Werten zu kollidieren, ist der Wert
// hier mit aufgefuehrt. (Auch das Hilfesystem definiert neue
// Attribute !!)
enum RES_FLTRATTR
{
RES_FLTRATTR_BEGIN = RES_MSG_END,
RES_FLTR_STYLESHEET = RES_FLTRATTR_BEGIN,
RES_FLTR_BOOKMARK,
RES_FLTR_ANCHOR,
RES_FLTR_BORDER,
RES_FLTR_NUMRULE,
RES_FLTR_NUMRULE_NUM,
RES_FLTR_SDR_ANCHOR,
RES_FLTR_TOX,
RES_FLTR_SECTION,
RES_FLTR_REDLINE,
2000-11-15 13:13:59 +00:00
RES_FLTR_SCRIPTTYPE,
2000-09-18 16:15:01 +00:00
RES_FLTRATTR_END
};
#define RES_TBX_DUMMY RES_FLTRATTR_END + 1
#define HINT_END RES_TBX_DUMMY
// Fehler-Erkennung !!
#define INVALID_HINT HINT_END
#define RES_WHICHHINT_END HINT_END
/*
* hole aus der statischen Default-Attribut Tabelle ueber den Which-Wert
* das entsprechende default Attribut.
* Ist keines vorhanden, returnt ein 0-Pointer !!!
*
* Diese Funktion ist im Init.CXX implementiert. Damit die Formate darauf
* zugreifen koennen, ist sie hier als extern deklariert.
* Im PRODUCT ist das Teil inline.
*/
class SfxPoolItem;
struct SfxItemInfo;
typedef SfxPoolItem* SwDfltAttrTab[ POOLATTR_END - POOLATTR_BEGIN ];
extern SwDfltAttrTab __FAR_DATA aAttrTab;
extern SfxItemInfo __FAR_DATA aSlotTab[];
CWS-TOOLING: integrate CWS libmsword 2008-12-18 12:33:19 +0100 kendy r265681 : Export less symbols. 2008-12-17 19:26:56 +0100 kendy r265655 : Move libmsword to the -writer package. 2008-12-15 17:46:16 +0100 kendy r265516 : Enable exceptions for iodetect.cxx. 2008-12-15 15:17:53 +0100 kendy r265504 : Deliver the msword.dll. 2008-12-09 19:38:17 +0100 kendy r265138 : Remove accidentally added method. 2008-12-09 19:33:57 +0100 kendy r265137 : Fix linking on Win32. 2008-12-09 18:37:16 +0100 kendy r265135 : Move SwFltControlStack::Delete() to ww1/fltshell.cxx to fix linking. 2008-12-09 18:01:56 +0100 kendy r265127 : Visibility fixes. 2008-12-09 15:51:52 +0100 kendy r265109 : Fix ambiguous usage of class Color. 2008-12-09 14:54:27 +0100 kendy r265091 : Add #include "precompiled_sw.hxx" to fix --enable-pch build. 2008-12-09 14:44:59 +0100 kendy r265088 : Add #include "precompiled_sw.hxx" to fix --enable-pch build. 2008-12-08 19:14:49 +0100 kendy r265015 : #i96313# Get rid of inc/iodetect.cxx, it's a really bad idea to share code by #ifdefing parts of it, and #including a .cxx file ;-) This change moves it to iodetect.cxx, which is compiled to a .o/.obj that is used where needed. 2008-11-20 17:45:08 +0100 kendy r264083 : #i96313# Make the destruction of Readers consistent. 2008-11-20 17:18:11 +0100 kendy r264070 : #i96313# Added missing SW_DLLPUBLIC for (Import|Export)(DOC|RTF). 2008-11-18 19:21:07 +0100 kendy r263797 : #i96313# Remove accidentally added file. 2008-11-18 17:14:31 +0100 kendy r263790 : #i96313# Split doc and rtf filters into a separate library From: Radek Doulik <rodo@novell.com> fix SwFieldBookmark class visibility (suggested by kendy) 2008-11-18 17:14:01 +0100 kendy r263789 : #i96313# Split doc and rtf filters into a separate library From: Fridrich Strba <fstrba@novell.com> add visibility markup to allow linking 2008-11-18 17:13:29 +0100 kendy r263788 : #i96313# Split doc and rtf filters into a separate library From: Jan Holesovsky <kendy@suse.cz> Visibility markup for libmsword. This is the most trivial approach, every class that had a symbol that needed to be visible was marked with SW_DLLPUBLIC; the correct (but more time consuming) way would be to mark just the exact methods that were needed. To be done later if generally shows that the separate libmsword makes sense; and also now we have the upper limit of symbols that needed to be added, and we can only make it better [decrease the number] ;-) 2008-11-18 17:12:58 +0100 kendy r263787 : #i96313# Split doc and rtf filters into a separate library From: Jan Holesovsky <kendy@suse.cz> Added the missing msword.map. 2008-11-18 17:12:25 +0100 kendy r263786 : #i96313# Split doc and rtf filters into a separate library From: Jan Holesovsky <kendy@suse.cz> scp2 change for libmsword. 2008-11-18 17:11:55 +0100 kendy r263785 : #i96313# Split doc and rtf filters into a separate library From: Jan Holesovsky <kendy@suse.cz> Convert the binary .doc and .rtf filters into a separate library. It is called 'libmsword' and loaded on demand when either of the formats (.doc, .rtf) is loaded or saved.
2009-01-05 14:06:42 +00:00
SW_DLLPUBLIC const SfxPoolItem* GetDfltAttr( USHORT nWhich );
2000-09-18 16:15:01 +00:00
SW_DLLPUBLIC USHORT GetWhichOfScript( USHORT nWhich, USHORT nScript );
2001-02-21 11:30:50 +00:00
2000-09-18 16:15:01 +00:00
// return for the given TextAttribut without an end the correct character.
// This function returns
// CH_TXTATR_BREAKWORD for Textattribut which breaks a word (default)
// CH_TXTATR_INWORD for Textattribut which dont breaks a word
class SwTxtAttr;
sal_Unicode GetCharOfTxtAttr( const SwTxtAttr& rAttr );
// alle Sets stehen im init.cxx
// AttrSet-Range fuer die 3 Break-Attribute
extern USHORT __FAR_DATA aBreakSetRange[];
// AttrSet-Range fuer die TxtFmtColl
extern USHORT __FAR_DATA aTxtFmtCollSetRange[];
// AttrSet-Range fuer die GrfFmtColl
extern USHORT __FAR_DATA aGrfFmtCollSetRange[];
// AttrSet-Range fuer die TextNode
CWS-TOOLING: integrate CWS libmsword 2008-12-18 12:33:19 +0100 kendy r265681 : Export less symbols. 2008-12-17 19:26:56 +0100 kendy r265655 : Move libmsword to the -writer package. 2008-12-15 17:46:16 +0100 kendy r265516 : Enable exceptions for iodetect.cxx. 2008-12-15 15:17:53 +0100 kendy r265504 : Deliver the msword.dll. 2008-12-09 19:38:17 +0100 kendy r265138 : Remove accidentally added method. 2008-12-09 19:33:57 +0100 kendy r265137 : Fix linking on Win32. 2008-12-09 18:37:16 +0100 kendy r265135 : Move SwFltControlStack::Delete() to ww1/fltshell.cxx to fix linking. 2008-12-09 18:01:56 +0100 kendy r265127 : Visibility fixes. 2008-12-09 15:51:52 +0100 kendy r265109 : Fix ambiguous usage of class Color. 2008-12-09 14:54:27 +0100 kendy r265091 : Add #include "precompiled_sw.hxx" to fix --enable-pch build. 2008-12-09 14:44:59 +0100 kendy r265088 : Add #include "precompiled_sw.hxx" to fix --enable-pch build. 2008-12-08 19:14:49 +0100 kendy r265015 : #i96313# Get rid of inc/iodetect.cxx, it's a really bad idea to share code by #ifdefing parts of it, and #including a .cxx file ;-) This change moves it to iodetect.cxx, which is compiled to a .o/.obj that is used where needed. 2008-11-20 17:45:08 +0100 kendy r264083 : #i96313# Make the destruction of Readers consistent. 2008-11-20 17:18:11 +0100 kendy r264070 : #i96313# Added missing SW_DLLPUBLIC for (Import|Export)(DOC|RTF). 2008-11-18 19:21:07 +0100 kendy r263797 : #i96313# Remove accidentally added file. 2008-11-18 17:14:31 +0100 kendy r263790 : #i96313# Split doc and rtf filters into a separate library From: Radek Doulik <rodo@novell.com> fix SwFieldBookmark class visibility (suggested by kendy) 2008-11-18 17:14:01 +0100 kendy r263789 : #i96313# Split doc and rtf filters into a separate library From: Fridrich Strba <fstrba@novell.com> add visibility markup to allow linking 2008-11-18 17:13:29 +0100 kendy r263788 : #i96313# Split doc and rtf filters into a separate library From: Jan Holesovsky <kendy@suse.cz> Visibility markup for libmsword. This is the most trivial approach, every class that had a symbol that needed to be visible was marked with SW_DLLPUBLIC; the correct (but more time consuming) way would be to mark just the exact methods that were needed. To be done later if generally shows that the separate libmsword makes sense; and also now we have the upper limit of symbols that needed to be added, and we can only make it better [decrease the number] ;-) 2008-11-18 17:12:58 +0100 kendy r263787 : #i96313# Split doc and rtf filters into a separate library From: Jan Holesovsky <kendy@suse.cz> Added the missing msword.map. 2008-11-18 17:12:25 +0100 kendy r263786 : #i96313# Split doc and rtf filters into a separate library From: Jan Holesovsky <kendy@suse.cz> scp2 change for libmsword. 2008-11-18 17:11:55 +0100 kendy r263785 : #i96313# Split doc and rtf filters into a separate library From: Jan Holesovsky <kendy@suse.cz> Convert the binary .doc and .rtf filters into a separate library. It is called 'libmsword' and loaded on demand when either of the formats (.doc, .rtf) is loaded or saved.
2009-01-05 14:06:42 +00:00
SW_DLLPUBLIC extern USHORT __FAR_DATA aTxtNodeSetRange[];
2000-09-18 16:15:01 +00:00
// AttrSet-Range fuer die NoTxtNode
extern USHORT __FAR_DATA aNoTxtNodeSetRange[];
// AttrSet-Range fuer die SwTable
extern USHORT __FAR_DATA aTableSetRange[];
// AttrSet-Range fuer die SwTableLine
extern USHORT __FAR_DATA aTableLineSetRange[];
// AttrSet-Range fuer die SwTableBox
extern USHORT __FAR_DATA aTableBoxSetRange[];
// AttrSet-Range fuer die SwFrmFmt
CWS-TOOLING: integrate CWS libmsword 2008-12-18 12:33:19 +0100 kendy r265681 : Export less symbols. 2008-12-17 19:26:56 +0100 kendy r265655 : Move libmsword to the -writer package. 2008-12-15 17:46:16 +0100 kendy r265516 : Enable exceptions for iodetect.cxx. 2008-12-15 15:17:53 +0100 kendy r265504 : Deliver the msword.dll. 2008-12-09 19:38:17 +0100 kendy r265138 : Remove accidentally added method. 2008-12-09 19:33:57 +0100 kendy r265137 : Fix linking on Win32. 2008-12-09 18:37:16 +0100 kendy r265135 : Move SwFltControlStack::Delete() to ww1/fltshell.cxx to fix linking. 2008-12-09 18:01:56 +0100 kendy r265127 : Visibility fixes. 2008-12-09 15:51:52 +0100 kendy r265109 : Fix ambiguous usage of class Color. 2008-12-09 14:54:27 +0100 kendy r265091 : Add #include "precompiled_sw.hxx" to fix --enable-pch build. 2008-12-09 14:44:59 +0100 kendy r265088 : Add #include "precompiled_sw.hxx" to fix --enable-pch build. 2008-12-08 19:14:49 +0100 kendy r265015 : #i96313# Get rid of inc/iodetect.cxx, it's a really bad idea to share code by #ifdefing parts of it, and #including a .cxx file ;-) This change moves it to iodetect.cxx, which is compiled to a .o/.obj that is used where needed. 2008-11-20 17:45:08 +0100 kendy r264083 : #i96313# Make the destruction of Readers consistent. 2008-11-20 17:18:11 +0100 kendy r264070 : #i96313# Added missing SW_DLLPUBLIC for (Import|Export)(DOC|RTF). 2008-11-18 19:21:07 +0100 kendy r263797 : #i96313# Remove accidentally added file. 2008-11-18 17:14:31 +0100 kendy r263790 : #i96313# Split doc and rtf filters into a separate library From: Radek Doulik <rodo@novell.com> fix SwFieldBookmark class visibility (suggested by kendy) 2008-11-18 17:14:01 +0100 kendy r263789 : #i96313# Split doc and rtf filters into a separate library From: Fridrich Strba <fstrba@novell.com> add visibility markup to allow linking 2008-11-18 17:13:29 +0100 kendy r263788 : #i96313# Split doc and rtf filters into a separate library From: Jan Holesovsky <kendy@suse.cz> Visibility markup for libmsword. This is the most trivial approach, every class that had a symbol that needed to be visible was marked with SW_DLLPUBLIC; the correct (but more time consuming) way would be to mark just the exact methods that were needed. To be done later if generally shows that the separate libmsword makes sense; and also now we have the upper limit of symbols that needed to be added, and we can only make it better [decrease the number] ;-) 2008-11-18 17:12:58 +0100 kendy r263787 : #i96313# Split doc and rtf filters into a separate library From: Jan Holesovsky <kendy@suse.cz> Added the missing msword.map. 2008-11-18 17:12:25 +0100 kendy r263786 : #i96313# Split doc and rtf filters into a separate library From: Jan Holesovsky <kendy@suse.cz> scp2 change for libmsword. 2008-11-18 17:11:55 +0100 kendy r263785 : #i96313# Split doc and rtf filters into a separate library From: Jan Holesovsky <kendy@suse.cz> Convert the binary .doc and .rtf filters into a separate library. It is called 'libmsword' and loaded on demand when either of the formats (.doc, .rtf) is loaded or saved.
2009-01-05 14:06:42 +00:00
SW_DLLPUBLIC extern USHORT __FAR_DATA aFrmFmtSetRange[];
2000-09-18 16:15:01 +00:00
// AttrSet-Range fuer die SwCharFmt
extern USHORT __FAR_DATA aCharFmtSetRange[];
// AttrSet-Range fuer die character autostyles
extern USHORT __FAR_DATA aCharAutoFmtSetRange[];
2000-09-18 16:15:01 +00:00
// AttrSet-Range fuer die SwPageDescFmt
extern USHORT __FAR_DATA aPgFrmFmtSetRange[];
// check if ID is InRange of AttrSet-Ids
BOOL IsInRange( const USHORT* pRange, const USHORT nId );
#endif