summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2004-11-27 11:14:14 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2004-11-27 11:14:14 +0000
commitfbb448c20d7166caf6c97b49ad905b7228a8c234 (patch)
tree8f21e3c0f94b83b71c3cade11194b10030d6c4bb /xmloff
parentbea519c1febe897221e8891c1b487d3b395f3818 (diff)
INTEGRATION: CWS swqcore01 (1.3.42); FILE MERGED
2004/11/27 10:13:35 os 1.3.42.3: RESYNC: (1.6-1.8); FILE MERGED 2004/11/17 14:44:43 hbrinkm 1.3.42.2: RESYNC: (1.3-1.6); FILE MERGED 2004/11/17 11:12:29 dvo 1.3.42.1: #i28755# handle text:main-etry (OOo) to text:main-entry (OASIS)
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/transform/OOo2Oasis.cxx22
1 files changed, 20 insertions, 2 deletions
diff --git a/xmloff/source/transform/OOo2Oasis.cxx b/xmloff/source/transform/OOo2Oasis.cxx
index c3e78ead31d2..a34ac4dc9cd6 100644
--- a/xmloff/source/transform/OOo2Oasis.cxx
+++ b/xmloff/source/transform/OOo2Oasis.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: OOo2Oasis.cxx,v $
*
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
- * last change: $Author: rt $ $Date: 2004-11-26 13:09:47 $
+ * last change: $Author: hr $ $Date: 2004-11-27 12:14:14 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -615,6 +615,12 @@ static XMLTransformerActionInit aActionTable[] =
ENTRY1( TABLE, CONVERSION_MODE, XML_ETACTION_PROC_ATTRS,
OOO_DDE_CONV_MODE_ACTIONS ),
+ // fix <text:alphabatical-index-mark text:main-etry>
+ ENTRY1( TEXT, ALPHABETICAL_INDEX_MARK, XML_ETACTION_PROC_ATTRS,
+ OOO_ALPHABETICAL_INDEX_MARK_ACTIONS ),
+ ENTRY1( TEXT, ALPHABETICAL_INDEX_MARK_START, XML_ETACTION_PROC_ATTRS,
+ OOO_ALPHABETICAL_INDEX_MARK_ACTIONS ),
+
// process table::data-pilot-member
ENTRY1( TABLE, DATA_PILOT_MEMBER, XML_ETACTION_PROC_ATTRS,
OOO_DATAPILOT_MEMBER_ACTIONS ),
@@ -1098,6 +1104,14 @@ static XMLTransformerActionInit aChartActionTable[] =
ENTRY0( OFFICE, TOKEN_INVALID, XML_ATACTION_EOT )
};
+// OOO_ALPHABETICAL_INDEX_MARK_ACTIONS
+static XMLTransformerActionInit aAlphabeticalIndexMarkActionTable[] =
+{
+ ENTRY1Q( TEXT, MAIN_ETRY, XML_ATACTION_RENAME,
+ XML_NAMESPACE_TEXT, XML_MAIN_ENTRY ),
+ ENTRY0( OFFICE, TOKEN_INVALID, XML_ATACTION_EOT )
+};
+
// OOO_SCRIPT_ACTIONS
static XMLTransformerActionInit aScriptActionTable[] =
{
@@ -1719,6 +1733,10 @@ XMLTransformerActions *OOo2OasisTransformer::GetUserDefinedActions(
m_aActions[OOO_DDE_CONV_MODE_ACTIONS] =
new XMLTransformerActions( aDDEConvModeActionTable );
break;
+ case OOO_ALPHABETICAL_INDEX_MARK_ACTIONS:
+ m_aActions[OOO_ALPHABETICAL_INDEX_MARK_ACTIONS] =
+ new XMLTransformerActions( aAlphabeticalIndexMarkActionTable );
+ break;
case OOO_DATAPILOT_MEMBER_ACTIONS:
m_aActions[OOO_DATAPILOT_MEMBER_ACTIONS] =
new XMLTransformerActions( aDataPilotMemberActionTable );