diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-01-04 15:01:58 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-01-04 15:22:03 +0100 |
commit | 24096f480206888610cba0e6dde8ceb86a6b141e (patch) | |
tree | e4e0065776986a8adcebef3f8fbccc3afb196c62 /writerfilter | |
parent | d4048a83443900a4b54271489a145ef0b6d7bf1d (diff) |
writerfilter: move LN_blip to the NS_ooxml namespace
It was confusing, this token is only produced by the ooxml tokenizer,
still the token was in the rtf namespace.
Change-Id: I1aeea8f4943bbb91a07daec5ddbe01d364f6fb11
Diffstat (limited to 'writerfilter')
-rw-r--r-- | writerfilter/source/dmapper/DomainMapper.cxx | 2 | ||||
-rw-r--r-- | writerfilter/source/dmapper/GraphicImport.cxx | 2 | ||||
-rw-r--r-- | writerfilter/source/doctok/resources.xmi | 42 | ||||
-rw-r--r-- | writerfilter/source/ooxml/OOXMLDocumentImpl.cxx | 2 | ||||
-rw-r--r-- | writerfilter/source/ooxml/model.xml | 1 |
5 files changed, 4 insertions, 45 deletions
diff --git a/writerfilter/source/dmapper/DomainMapper.cxx b/writerfilter/source/dmapper/DomainMapper.cxx index 5e49e38de101..c143c8cbbcbb 100644 --- a/writerfilter/source/dmapper/DomainMapper.cxx +++ b/writerfilter/source/dmapper/DomainMapper.cxx @@ -1172,7 +1172,7 @@ void DomainMapper::lcl_attribute(Id nName, Value & val) case NS_ooxml::LN_CT_TblBorders_bottom: // 92379; //todo: handle cell mar break; - case NS_rtf::LN_blip: // contains the binary graphic + case NS_ooxml::LN_blip: // contains the binary graphic case NS_ooxml::LN_shape: { //looks a bit like a hack - and it is. The graphic import is split into the inline_inline part and diff --git a/writerfilter/source/dmapper/GraphicImport.cxx b/writerfilter/source/dmapper/GraphicImport.cxx index f9a6cfdb66d4..233ffc4973fa 100644 --- a/writerfilter/source/dmapper/GraphicImport.cxx +++ b/writerfilter/source/dmapper/GraphicImport.cxx @@ -463,7 +463,7 @@ void GraphicImport::lcl_attribute(Id nName, Value & val) case NS_rtf::LN_BRCLEFT: //left border case NS_rtf::LN_BRCBOTTOM: //bottom border case NS_rtf::LN_BRCRIGHT: //right border - case NS_rtf::LN_blip: //the binary graphic data in a shape + case NS_ooxml::LN_blip: //the binary graphic data in a shape { switch(nName) { diff --git a/writerfilter/source/doctok/resources.xmi b/writerfilter/source/doctok/resources.xmi index f27a1b543a14..62bb34159a1f 100644 --- a/writerfilter/source/doctok/resources.xmi +++ b/writerfilter/source/doctok/resources.xmi @@ -39586,48 +39586,6 @@ </UML:Generalization.parent> </UML:Generalization> <!--DFF BlipDib--> - <!--DFF SpContainer--> - <UML:Class xmi.id="SpContainer" name="SpContainer"> - <UML:ModelElement.taggedValue> - <UML:TaggedValue> - <UML:TaggedValue.dataValue>0xf004</UML:TaggedValue.dataValue> - <UML:TaggedValue.type> - <UML:TagDefinition xmi.idref="dffid"/> - </UML:TaggedValue.type> - </UML:TaggedValue> - </UML:ModelElement.taggedValue> - <UML:Classifier.feature> - <UML:Operation name="blip"> - <UML:ModelElement.taggedValue> - <UML:TaggedValue> - <UML:TaggedValue.dataValue>rtf:blip</UML:TaggedValue.dataValue> - <UML:TaggedValue.type> - <UML:TagDefinition xmi.idref="opid"/> - </UML:TaggedValue.type> - </UML:TaggedValue> - </UML:ModelElement.taggedValue> - <UML:BehavioralFeature.parameter> - <UML:Parameter kind="return" name="return"> - <UML:Parameter.type> - <UML:Class xmi.idref="BSE"/> - </UML:Parameter.type> - </UML:Parameter> - </UML:BehavioralFeature.parameter> - <UML:ModelElement.stereotype> - <UML:Stereotype xmi.idref="attribute"/> - </UML:ModelElement.stereotype> - </UML:Operation> - </UML:Classifier.feature> - </UML:Class> - <UML:Generalization isSpecification="false" xmi.id="SpContainer-Properties"> - <UML:Generalization.child> - <UML:Class xmi.idref="SpContainer"/> - </UML:Generalization.child> - <UML:Generalization.parent> - <UML:Class xmi.idref="Properties"/> - </UML:Generalization.parent> - </UML:Generalization> - <!--DFF SpContainer--> <!--DFF Dg--> <UML:Class xmi.id="Dg" name="Dg"> <UML:ModelElement.taggedValue> diff --git a/writerfilter/source/ooxml/OOXMLDocumentImpl.cxx b/writerfilter/source/ooxml/OOXMLDocumentImpl.cxx index a5847ea45618..cf4de5cf2b05 100644 --- a/writerfilter/source/ooxml/OOXMLDocumentImpl.cxx +++ b/writerfilter/source/ooxml/OOXMLDocumentImpl.cxx @@ -345,7 +345,7 @@ OOXMLPropertySet * OOXMLDocumentImpl::getPicturePropSet OOXMLValue::Pointer_t pBlipValue(new OOXMLPropertySetValue(pBlipSet)); OOXMLProperty::Pointer_t pBlipProperty - (new OOXMLPropertyImpl(NS_rtf::LN_blip, pBlipValue, + (new OOXMLPropertyImpl(NS_ooxml::LN_blip, pBlipValue, OOXMLPropertyImpl::ATTRIBUTE)); OOXMLPropertySet * pProps = new OOXMLPropertySetImpl(); diff --git a/writerfilter/source/ooxml/model.xml b/writerfilter/source/ooxml/model.xml index a7fbee9f35de..a2ad47f55801 100644 --- a/writerfilter/source/ooxml/model.xml +++ b/writerfilter/source/ooxml/model.xml @@ -45,6 +45,7 @@ <token tokenid="ooxml:tblEnd"/> <token tokenid="ooxml:ffdata"/> <token tokenid="ooxml:starmath"/> + <token tokenid="ooxml:blip"/> <namespace name="dml-stylesheet" url="http://schemas.openxmlformats.org/drawingml/2006/main" file="dml-stylesheet.rng"> <start name="theme"/> <start name="themeOverride"/> |