harvesterplugins/media/image/src/cpixmediaimagedoc.cpp
changeset 26 367228f82b66
parent 18 1edf350003c5
equal deleted inserted replaced
24:1abfa342db42 26:367228f82b66
   105           //Add field to document excerpt.
   105           //Add field to document excerpt.
   106           CMdETextProperty* textProperty = ( CMdETextProperty* ) property;
   106           CMdETextProperty* textProperty = ( CMdETextProperty* ) property;
   107           AddToFieldExcerptL(textProperty->Value());
   107           AddToFieldExcerptL(textProperty->Value());
   108           }
   108           }
   109     
   109     
   110 #ifdef USE_HIGHLIGHTER
   110 //#ifdef USE_HIGHLIGHTER
   111        TInt slashpos = GetUri().LocateReverse('\\');
   111        TInt slashpos = GetUri().LocateReverse('\\');
   112        TPtrC name = GetUri().Mid( (slashpos+1) );
   112        TPtrC name = GetUri().Mid( (slashpos+1) );
   113        index_item->AddHLDisplayFieldL(name);
   113        index_item->AddHLDisplayFieldL(name);
   114 #endif   
   114 //#endif   
   115     //Get user comment field
   115     //Get user comment field
   116     CMdEPropertyDef& commentPropDef = aObjectDef.GetPropertyDefL(MdeConstants::MediaObject::KCommentProperty );
   116     CMdEPropertyDef& commentPropDef = aObjectDef.GetPropertyDefL(MdeConstants::MediaObject::KCommentProperty );
   117     if(aObject.Property( commentPropDef, property )!= KErrNotFound)
   117     if(aObject.Property( commentPropDef, property )!= KErrNotFound)
   118        {
   118        {
   119        //Add field to document
   119        //Add field to document