Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-21-2014, 03:57 AM
kurt-hectic kurt-hectic is offline associate metadata to sections of text Windows 7 32bit associate metadata to sections of text Office 2007
Novice
associate metadata to sections of text
 
Join Date: Mar 2014
Posts: 2
kurt-hectic is on a distinguished road
Default associate metadata to sections of text

Hello,



I am looking for a way to associate metadata to sections of text in MS Word. The metadata consists of keyword lists and free-text fields. The purpose of the metadata is to discover sections of text in very long and complex documents using a separate application.

This custom software would extract metadata, full-text and structural information from the Word document, and insert it into a database which powers a search engine.

I am looking for a way to associate the metadata to sections of text using MS Word. It appears to be important to use MS Word for both text editing and metadata input, as text changes require metadata updates and also to maintain the association of metadata to a particular section in a changing document.

An example workflow:

A new section of text with a heading 2 and some standard text is input. The section of text (heading and text?) is selected and then a button "add metadata" is pressed which opens a form that assists the editor with metadata input (dropdowns etc.).
The metadata is stored inside the Word document and its presence somehow visible in MS word.
Updating existing metadata is possible using a similar form.
The metadata is not shown in the final version of the text, but it can be extracted using a custom script processing the XML.

I was wondering if such a thing could be implemented using MS Word on-board means and/or a plugin.

best regards and thanks
Kurt
Reply With Quote
  #2  
Old 03-21-2014, 05:09 AM
fumei fumei is offline associate metadata to sections of text Windows 7 64bit associate metadata to sections of text Office XP
Expert
 
Join Date: Jan 2013
Posts: 440
fumei is on a distinguished road
Default

Sounds like a job for document variables. While it is probably not a good idea to assign large amounts of text to document variables values, you certainly could:

1. assign a bookmark to a big chunk of text (including a heading)
2. assign the bookmark name to a document variable

It would then be easy to identify, or retrieve, the chunk using bookmarks.
Quote:
I am looking for a way to associate the metadata to sections of text using MS Word.
That is precisely what bookmarks do; they are named ranges.
Reply With Quote
  #3  
Old 03-21-2014, 06:11 AM
kurt-hectic kurt-hectic is offline associate metadata to sections of text Windows 7 32bit associate metadata to sections of text Office 2007
Novice
associate metadata to sections of text
 
Join Date: Mar 2014
Posts: 2
kurt-hectic is on a distinguished road
Default

Quote:
Originally Posted by fumei View Post
Sounds like a job for document variables. While it is probably not a good idea to assign large amounts of text to document variables values, you certainly could:

1. assign a bookmark to a big chunk of text (including a heading)
2. assign the bookmark name to a document variable

It would then be easy to identify, or retrieve, the chunk using bookmarks.
That is precisely what bookmarks do; they are named ranges.
I think I need more flexibility than what document variables offer, but maybe I'm wrong.
The way I understand document variables is that one externally defined value is inserted at the document variables place, such as the author's name or so.
What I require is the ability to select upon insertion of the field/document variable one or more values from a list of keywords and to store these in the document. What is more, there may be multiple keyword lists and also some free-text fields.
The process should be easy enough so that a document editor can also maintain the associated metadata through Word.

Perhaps I would have to develop a plugin that opens a form where the metadata is captured and which then stores the metadata in a field/document variable.
Would that be a feasible approach?

thanks
Kurt
Reply With Quote
  #4  
Old 03-21-2014, 06:34 AM
Charles Kenyon Charles Kenyon is offline associate metadata to sections of text Windows 7 64bit associate metadata to sections of text Office 2010 32bit
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,453
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

Not sure if I am following you, but you might want to look at the idea of mapped content controls. See Mapped Content Controls.
Reply With Quote
  #5  
Old 03-21-2014, 06:37 PM
fumei fumei is offline associate metadata to sections of text Windows 7 64bit associate metadata to sections of text Office XP
Expert
 
Join Date: Jan 2013
Posts: 440
fumei is on a distinguished road
Default

Not sure what you mean by free text fields.

Document variables do not have a place. they are simply variables. They are strings containing whatever you like. You could piece together multiple entries (for whatever purpose) and then parse out those entries (for whatever purpose). They never show in the document, and they never show in the Properties (unlike Author for example).

I am quite unclear about what it is exactly you want to capture.
Reply With Quote
Reply

Tags
fields, metadata, ms word

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
associate metadata to sections of text .doc will not associate with Office 2010 mrbill Word 1 05-22-2013 10:25 PM
PowerPoint converted text sections to images - can't edit! dan_cowen PowerPoint 0 05-21-2013 04:38 PM
Associate Outline Levels with Numbering altjx Word 2 04-17-2012 02:06 PM
associate metadata to sections of text associate mpp files with Project 2010 Options pm_newbie Project 5 12-20-2011 03:17 PM
Word-PDF Metadata joe925 Word 0 02-24-2010 08:47 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:42 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft