Populate word document with default metadata information
Problem is revers as it is available in internet. I have created list and
columns. Which are populated with default value. I have created word
template. I can enter data related to “Document properties”, ect. When I save that document to document library, I can see that filed data, that I type it in newly created word document.
But because I have several project document library and sites, I would like to create library,
and fill all data with required values. Then when I open new document from pre defied
template, I would like to have all fields that are empty in document, to be filed
from default columns value. Problem is, that when I save document, All fields are empty.
There is no problem, upending document, and default properties are presented.
How can I merge default values from library, to word document ?
I have word template, that I added-it as a site content type. It has all standard
fields that are mapped to document library filed. If I open
new document in document library, and input
required filed, after saving document, I can
see those fields in SharePoint document library (Item properties).
Problem that I have is, following :
When I open that document “new document” from template, I would like to have all fields filed with default values of that particular library.
Reason : Because I will generate hundred project (
Each new library is based on new project, build fields are the same, values changes to mimic project)
), I do not wont to create additional template, that would have required fields fill up wit project value, and add it to content type.. .
I do not won`t to fill those properties manually.
Option 1 : After saving document based on template, it will fill out
required fields.
Option 2: Create template, for each project, and save that template as project template, that users open, and save it to project Site/library.
Option 1, is preferred. Can that be done, when item is created, and copy project
information, from different location ?
So I have document library fields :
Name of the project, Projec Manager, Project ref number, Contract, ...
These filed are mapped to document filed :
Name of the project, Projec Manager, Project ref number, Contract, ...
I have document library : Project A
Project A , John dear,
REF2014_01_01, C1243332_2014, ...
I have document library : Project B
Project B , Same Jones , REF2014_03_05, AS563332_2014, ...
I would like, that when I save document
using New document (template), that have those filed fill up. I do not wont to
create new template for every project.
Similar Messages
-
I created a word document with hyperlinks. When my default browser is Chrome the hyper links work. When the default browser is Safari, the hyperlinks bring to pages that just lines and lines of symbols. I need these links to work in both browsers. Any ideas?
version 10.6.8
-
Updating a document with category metadata using updateDocument(): error!
I have studied the sample code and the API docs, and I feel pretty sure I am coding it according to the docs, but I cannot successfully update a document with category metadata. I always get a MetaDataSchemaInvalid exception.
My process goes like this:
1. Upload a new file, creating a new document publicobject.
2. Create a CATEGORY_DEFINITION with all the metadata name/value pairs I wish to write.
3. Call FileManager.updateDocument() with this CATEGORY_DEFINITION.
My process differs from the docs in that I am first uploading the document, and then adding the metadata as a second step. I want to get it working this way to make my system more modular. I do not want to make my upload method dependent upon metadata attributes, and vice versa.
Step 1 is working fine. The document is being uploaded to the right folder. Good to go.
Step 3 is where I get the error. If the error is my fault, then it must be a result of what I do in step 2. The structure of my CATEGORY_DEFINITION must be messed up.
Here is my code for creating the CATEGORY_DEFINITION. The Document class is my own entity that encapsulates the binary data for a document, as well as the metadata attributes that are to be assigned to the document once it is uploaded into Content Services. We don't need to worry about where the data comes from. Just assume the raw data is correct.
public NamedValue[] newCategoryAttributeDefinition(Document document, String categoryDisplayName) throws WebserviceClientException {
/* Get the category attribute name-value pairs as a 2-D array. */
Map metadataMap = document.getMetadataParser().getAttributeNameMapping();
List categoryDefinitionAttributeList = new ArrayList();
for(Iterator i = metadataMap.entrySet().iterator(); i.hasNext();) {
Map.Entry entry = (Map.Entry)i.next();
String name = "CUSTOM_" + (String)entry.getKey();
Object value = entry.getValue();
if(value != null) {
categoryDefinitionAttributeList.add(new Object[] { name, value });
Object[][] categoryDefinitionAttributeArray = new Object[categoryDefinitionAttributeList.size()][];
int index = 0;
for(Iterator i = categoryDefinitionAttributeList.iterator(); i.hasNext();) {
Object[] value = (Object[])i.next();
categoryDefinitionAttributeArray[index++] = value;
/* Create the NamedValue tree that describes this category's attribute values. */
Long categoryId = new Long(getCategoryClassId(categoryDisplayName));
NamedValue[] categoryAttributeDefinition = WebserviceUtils.newNamedValueArray(new Object[][] {
{ Options.CATEGORY_ID, categoryId },
{ Options.CATEGORY_DEFINITION_ATTRIBUTES, WebserviceUtils.newNamedValueArray(categoryDefinitionAttributeArray) }
NamedValue[] categoryDefinition = WebserviceUtils.newNamedValueArray(Options.CATEGORY_DEFINITION, categoryAttributeDefinition);
return categoryDefinition;
And below is the resulting CATEGORY_DEFINITION, as seen in a jdb debugger.
-- The OPT.CATEGORY_ID value is equal to the ID column in ODMV_SCHEMACATEGORY, otherwise known as the category class id.
-- My OPT.CATEGORY_DEFINITION_ATTRIBUTES tree for this document has the 4 attributes that I want to set. The category has more than these 4 attributes; I am not populating every attribute. None of the attributes are required, and all are editable. I don't need to include every attribute in my CATEGORY_DEFINITION, even if the values are null, do I? Also, all the attribute names start with "CUSTOM_", which I believe is necessary - right?
-- I am setting only the OPT.CATEGORY_ID and OPT.CATEGORY_DEFINITION_ATTRIBUTES. Am I missing some other required attribute?
http-8888-Processor5[1] http-8888-Processor5[1] dump categoryDefinition
categoryDefinition = {
instance of oracle.ifs.fdk.NamedValue(id=2562)
http-8888-Processor5[1] dump categoryDefinition[0]
categoryDefinition[0] = {
name: "OPT.CATEGORY_DEFINITION"
value: instance of oracle.ifs.fdk.NamedValue[2] (id=2559)
__equalsCalc: null
__hashCodeCalc: false
typeDesc: instance of org.apache.axis.description.TypeDesc(id=2564)
class$oracle$ifs$fdk$NamedValue: instance of java.lang.Class(reflected class=oracle.ifs.fdk.NamedValue, id=1975)
http-8888-Processor5[1] dump categoryDefinition[0].value[0]
categoryDefinition[0].value[0] = {
name: "OPT.CATEGORY_ID"
value: instance of java.lang.Long(id=2558)
__equalsCalc: null
__hashCodeCalc: false
typeDesc: instance of org.apache.axis.description.TypeDesc(id=2564)
class$oracle$ifs$fdk$NamedValue: instance of java.lang.Class(reflected class=oracle.ifs.fdk.NamedValue, id=1975)
http-8888-Processor5[1] dump categoryDefinition[0].value[0].value.toString()
categoryDefinition[0].value[0].value.toString() = "60068"
http-8888-Processor5[1] dump categoryDefinition[0].value[1]
categoryDefinition[0].value[1] = {
name: "OPT.CATEGORY_DEFINITION_ATTRIBUTES"
value: instance of oracle.ifs.fdk.NamedValue[4] (id=2570)
__equalsCalc: null
__hashCodeCalc: false
typeDesc: instance of org.apache.axis.description.TypeDesc(id=2564)
class$oracle$ifs$fdk$NamedValue: instance of java.lang.Class(reflected class=oracle.ifs.fdk.NamedValue, id=1975)
http-8888-Processor5[1] dump categoryDefinition[0].value[1].value[0]
categoryDefinition[0].value[1].value[0] = {
name: "CUSTOM_From"
value: "SA"
__equalsCalc: null
__hashCodeCalc: false
typeDesc: instance of org.apache.axis.description.TypeDesc(id=2564)
class$oracle$ifs$fdk$NamedValue: instance of java.lang.Class(reflected class=oracle.ifs.fdk.NamedValue, id=1975)
http-8888-Processor5[1] dump categoryDefinition[0].value[1].value[1]
categoryDefinition[0].value[1].value[1] = {
name: "CUSTOM_Footer Number"
value: "PRM 34-318"
__equalsCalc: null
__hashCodeCalc: false
typeDesc: instance of org.apache.axis.description.TypeDesc(id=2564)
class$oracle$ifs$fdk$NamedValue: instance of java.lang.Class(reflected class=oracle.ifs.fdk.NamedValue, id=1975)
http-8888-Processor5[1] dump categoryDefinition[0].value[1].value[2]
categoryDefinition[0].value[1].value[2] = {
name: "CUSTOM_To"
value: "PROJECT TEAM"
__equalsCalc: null
__hashCodeCalc: false
typeDesc: instance of org.apache.axis.description.TypeDesc(id=2564)
class$oracle$ifs$fdk$NamedValue: instance of java.lang.Class(reflected class=oracle.ifs.fdk.NamedValue, id=1975)
http-8888-Processor5[1] dump categoryDefinition[0].value[1].value[3]
categoryDefinition[0].value[1].value[3] = {
name: "CUSTOM_Subject"
value: "Riverside Energy Resource Center Meeting Minutes-Internal"
__equalsCalc: null
__hashCodeCalc: false
typeDesc: instance of org.apache.axis.description.TypeDesc(id=2564)
class$oracle$ifs$fdk$NamedValue: instance of java.lang.Class(reflected class=oracle.ifs.fdk.NamedValue, id=1975)
After building this CATEGORY_DEFINITION, I go on to attempt an update to the document with this information. Here is the method I call. I always fall into the catch(), and the error dump follows the code snippet. Unfortunately, the error doesn't tell me a lot about what's wrong. That's why I am asking for help in spotting any conspicuous errors in my CATEGORY_DEFINITION.
public Item addCategoryToDocument(Item documentItem,
NamedValue[] categoryDefinition)
throws WebserviceClientException {
FileManager fileManager = getWebserviceClient().getFileManager();
Item documentItemWithCategory = null;
try {
documentItemWithCategory = fileManager.updateDocument(documentItem.getId(), categoryDefinition, null);
} catch(Exception e) {
throw new WebserviceClientException("Could not update document with category definition.", e);
return documentItemWithCategory;
http-8888-Processor4[1] http-8888-Processor4[1] dump e
e = {
detailedErrorCode: "ORACLE.FDK.AggregateError"
errorCode: "ORACLE.FDK.AggregateError"
exceptionEntries: instance of oracle.ifs.fdk.FdkExceptionEntry[1] (id=2691)
info: null
serverStackTraceId: ""
__equalsCalc: null
__hashCodeCalc: false
typeDesc: instance of org.apache.axis.description.TypeDesc(id=2694)
class$oracle$ifs$fdk$FdkException: instance of java.lang.Class(reflected class=oracle.ifs.fdk.FdkException, id=1972)
org.apache.axis.AxisFault.log: instance of org.apache.commons.logging.impl.Log4JLogger(id=2695)
org.apache.axis.AxisFault.faultCode: instance of javax.xml.namespace.QName(id=2696)
org.apache.axis.AxisFault.faultSubCode: null
org.apache.axis.AxisFault.faultString: "ORACLE.FDK.AggregateError:ORACLE.FDK.AggregateError"
org.apache.axis.AxisFault.faultActor: null
org.apache.axis.AxisFault.faultDetails: instance of java.util.Vector(id=2698)
org.apache.axis.AxisFault.faultNode: null
org.apache.axis.AxisFault.faultHeaders: null
org.apache.axis.AxisFault.class$org$apache$axis$AxisFault: instance of java.lang.Class(reflected class=org.apache.axis.AxisFault, id=1928)
java.rmi.RemoteException.serialVersionUID: -5148567311918794206
java.rmi.RemoteException.detail: null
java.lang.Exception.serialVersionUID: -3387516993124229948
java.lang.Throwable.serialVersionUID: -3042686055658047285
java.lang.Throwable.detailMessage: null
java.lang.Throwable.cause: null
java.lang.Throwable.stackTrace: instance of java.lang.StackTraceElement[76] (id=2699)
http-8888-Processor4[1] dump e.exceptionEntries[0]
e.exceptionEntries[0] = {
detailedErrorCode: "ORACLE.FDK.MetadataSchemaInvalid"
errorCode: "ORACLE.FDK.MetaDataError"
id: 348018
info: null
serverStackTraceId: ""
__equalsCalc: null
__hashCodeCalc: false
typeDesc: instance of org.apache.axis.description.TypeDesc(id=2705)
class$oracle$ifs$fdk$FdkExceptionEntry: instance of java.lang.Class(reflected class=oracle.ifs.fdk.FdkExceptionEntry, id=1973)
}1 – For an existing document, how do I determine what category instances have been applied to it and their attribute values
FdkSession session = …;
// Consider we have an existing item myDoc of type document
Item myDoc = …;
CommonManager cm = Managers.getCommonManager(session);
AttributeRequest[] requestedAttributes = new AttributeRequest[]
// The Categories associated with this Document, if any
new AttributeRequest(Attributes.CATEGORIES,
// sub attributerequest
new AttributeRequest[] {
// the actual attributes name/values for the category instance – returns a namedvalue array
new AttributeRequest(Attributes.CUSTOM_ALL,null),
// the actual category class for the category instance – returns an item
new AttributeRequest(Attributes.CATEGORY_CLASS_OBJECT,null)
myDoc = cm.getItem(myDoc.getId(), requestedAttributes);
log(myDoc); /* output could look like:
(Item) 14385 DOCUMENT sample3.doc
requested attributes ...
CATEGORIES (Item[])=
(Item) 14387 CATEGORY
requested attributes ...
CUSTOM_ALL (NamedValue[])=
CUSTOM_14352=true (Boolean)
CUSTOM_14353=Internal Only Pending Review (String)
CATEGORY_CLASS_OBJECT (Item)=
(Item) 14354 CATEGORY_CLASS 5044-14351
This means, that for document sample3.doc, we have 1 instance of a category object applied to it.
The category object instance has id 14387. The instance is of a category class object type 14354. The instance has two attributes with internal names CUSTOM_14352, and CUSTOM_15353. The values of these attributes are of type Boolean and String respectively.
2 - How do I update an attribute value of an existing category instance applied to an item
FdkSession session = …;
// Consider we have an existing item myDoc of type document
Item myDoc = …;
.. perform code along the lines of that shown in step1 above to determine existing category instance info on the document ..
FileManager fm = Managers.getFileManager(session);
NamedValue[] categoryInstanceAttributes = new NamedValue[] {
// use the internal attribute name for all attributes
new NamedValue("CUSTOM_14352", Boolean.FALSE),
new NamedValue("CUSTOM_14352", "Company Confidential")
NamedValue[] categoryDef = new NamedValue[] {
// the category instance that we are updating
new NamedValue(Options.UPDATE_CATEGORY_ID,new Long(14387)),
// the updated values of the category instance
new NamedValue(Options.CATEGORY_DEFINITION_ATTRIBUTES, categoryInstanceAttributes)
NamedValue[] documentDef = new NamedValue[] {
new NamedValue(Options.CATEGORY_DEFINITION, categoryDef)
requestedAttributes = ...
myDoc = fm.updateDocument(myDoc.getId(),documentDef,requestedAttributes) ;
3 – For a document item X, what is the associated category configuration which could include
a) what are the category objects I can apply on it (either explicitly restricted by way of ALLOWED_CATEGORIES on the folder configuration, or any site/domain category by way of ALLOW_ALL_CATEGORIES)
b) is there any attribute overrides
c) is there any enforced categories
FdkSession session = …;
// Consider we have an existing item myDoc of type document
Item myDoc = …;
CommonManager cm = Managers.getCommonManager(session);
AttributeRequest[] categoryObjectAttributes = new AttributeRequest[]
// What is the category object class name
new AttributeRequest(Attributes.CLASS_NAME,null),
// What is the category classobject display name
new AttributeRequest(Attributes.DISPLAY_NAME,null),
// get attributes inherited and introduced by category object
new AttributeRequest(Attributes.METADATA_ATTRIBUTES,
new AttributeRequest[]
// Attribute internal name
new AttributeRequest(Attributes.ATTRIBUTE_NAME,null),
// Attribute display name
new AttributeRequest(Attributes.DISPLAY_NAME,null),
new AttributeRequest(Attributes.ATTRIBUTE_TYPE,null),
new AttributeRequest(Attributes.ATTRIBUTE_DEFAULT,null),
new AttributeRequest(Attributes.ATTRIBUTE_ENUMERATION,null),
new AttributeRequest(Attributes.ATTRIBUTE_REQUIRED,null),
new AttributeRequest(Attributes.ATTRIBUTE_SETTABLE,null),
new AttributeRequest(Attributes.ATTRIBUTE_UPDATEABLE,null),
new AttributeRequest(Attributes.ATTRIBUTE_HIDDEN,null),
new AttributeRequest(Attributes.ATTRIBUTE_PROMPTED,null),
new AttributeRequest(Attributes.ATTRIBUTE_OVERRIDEABLE,null),
AttributeRequest[] overrideAttributes = new AttributeRequest[]
// id of the attribute to be overridden
new AttributeRequest(Attributes.ATTRIBUTE_OVERRIDE_ATTRIBUTE,null),
// id of the category class object to which this attribute override applies
new AttributeRequest(Attributes.ATTRIBUTE_OVERRIDE_CATEGORY_CLASS,null),
// new default value
new AttributeRequest(Attributes.ATTRIBUTE_OVERRIDE_DEFAULT,null),
// should attribute now be prompted
new AttributeRequest(Attributes.ATTRIBUTE_OVERRIDE_PROMPT,null),
// is the attribute now required
new AttributeRequest(Attributes.ATTRIBUTE_OVERRIDE_REQUIRED,null),
// can instances of this attribute have there value updated
new AttributeRequest(Attributes.ATTRIBUTE_OVERRIDE_SETTABLE,null),
AttributeRequest[] requestedAttributes = new AttributeRequest[]
// what is the category configuration for the item
new AttributeRequest(Attributes.CATEGORY_CONFIGURATION,
new AttributeRequest[]
// Is the category configuration enabled
new AttributeRequest(Attributes.CONFIGURATION_ENABLED,null),
// Can the category configuration be overridden or is it final
new AttributeRequest(Attributes.CONFIGURATION_FINAL,null),
// What are the required categories for the category configuration and associated attribute information
new AttributeRequest(Attributes.REQUIRED_CATEGORIES,categoryObjectAttributes),
// Can any categories in the site be utilized
new AttributeRequest(Attributes.ALLOW_ALL_CATEGORIES,null),
// or .. are we restricting the categories to only the following
new AttributeRequest(Attributes.ALLOWED_CATEGORIES,categoryObjectAttributes),
// are there any attribute overrides on category object attributes for this category config?
new AttributeRequest(Attributes.ATTRIBUTE_OVERRIDES,overrideAttributes)
log(cm.getItem(myDoc.getId(), requestedAttributes); /*
If ALLOW_ALL_CATEGORIES is set to true, any category in the domain can be utilized that is not abstract. To determine these, the domain item has a property CATEGORY_CLASSES that returns all category objects in the domain. It also has a property ROOT_CATEGORY_CLASSES which returns just the top level categories (those that have no custom category superclass). You would create a sub AttributeRequest[] checking for CLASS_ABSTRACT when requesting the appropriate categories attribute from the domain.
If ALLOW_ALL_CATEGORIES is set to false, the applicable categories objects that can be utilized on items contained in the folder is determined by the items contained in the ALLOWED_CATEGORIES attribute of the category configuration.
Finally, the REQUIRED_CATEGORIES attribute list the category items that must be applied to all new items added to the folder.
4 – How do I manually apply an instance of a category to an existing item
FdkSession session = …;
// Consider we have an existing item myDoc of type document
Item myDoc = …;
.. use techniques in step3 above to determine what category objects that you planning to apply to the document ..
.. if the category configuration on the item has ALLOW_ALL_CATEGORIES set to true, you can use any category in the system
.. otherwise, you must use a category defined in the allowed categories list
.. the code here is essentially the same as step2 above
.. you must utilize internal attribute names, and specify the id of the category class object
FileManager fm = Managers.getFileManager(session);
NamedValue[] categoryInstanceAttributes = new NamedValue[] {
// use the internal attribute name for all attributes
new NamedValue("CUSTOM_14352", Boolean.FALSE),
new NamedValue("CUSTOM_14352", "Company Confidential")
NamedValue[] categoryDef = new NamedValue[] {
// the id of the category object class for which this new category will be an instance of
new NamedValue(Options.CATEGORY_CLASS_ID,new Long(14354)),
// the updated values of the category instance
new NamedValue(Options.CATEGORY_DEFINITION_ATTRIBUTES, categoryInstanceAttributes)
NamedValue[] documentDef = new NamedValue[] {
new NamedValue(Options.CATEGORY_DEFINITION, categoryDef)
requestedAttributes = ...
myDoc = fm.updateDocument(myDoc.getId(),documentDef,requestedAttributes);
// Note – it is possible for one to peform creation, updating, and deletion of various category instances for an existing item in the fileManager updateDocument call!
// you simply supply multiple Options.CATEGORY_DEFINITIONs to the fm.updateDocument call along with any Options.REMOVE_CATEGORY_IDs 5 – How do I specify a category instance when creating a new item
FdkSession session = …;
.. use techniques in step3 above to determine what category objects that you planning to apply to the new document ..
.. you get the category configuration information from the destination folder!!!
Item destinationFolder = …;
CommonManager cm = Managers.getCommonManager(session);
AttributeRequest[] requestedAttributes = new AttributeRequest[]
// what is the category configuration for the item
new AttributeRequest(Attributes.CATEGORY_CONFIGURATION,
destinationFolder = cm.getItem(destinationFolder.getId(),requestedAttributes);.. if the category configuration on the folder item has ALLOW_ALL_CATEGORIES set to true, you can use any category in the system
.. otherwise, you must use a category defined in the allowed categories list
.. the code here is essentially the same as step2 above, just we are using createDocument and document definitions now
.. you must utilize internal attribute names, and specify the id of the category class object
FileManager fm = Managers.getFileManager(session);
NamedValue[] categoryInstanceAttributes = new NamedValue[] {
// use the internal attribute name for all attributes
new NamedValue("CUSTOM_14352", Boolean.FALSE),
new NamedValue("CUSTOM_14352", "Company Confidential")
NamedValue[] categoryDef = new NamedValue[] {
// the id of the category object class for which this new category will be an instance of
new NamedValue(Options.CATEGORY_CLASS_ID,new Long(14354)),
// the attribute values for this new category instance
new NamedValue(Options.CATEGORY_DEFINITION_ATTRIBUTES, categoryInstanceAttributes)
String destinationFile = "sample.doc";
requestedAttributes = new AttributeRequest[]
new AttributeRequest(Attributes.URL,null)
Item docDef = fm.createDocumentDefinition(new NamedValue[]
new NamedValue(Attributes.NAME, destinationFile),
},requestedAttributes);
String defURL = ... // get URL from document definition
doFileUpload(...) // upload file using http put to defURL
NamedValue[] documentDef = new NamedValue[] {
new NamedValue(Options.USE_SAVED_DEFINITION,new Long(docDef.getId())),
new NamedValue(Options.DESTFOLDER, new Long(destinationFolder.getId())),
// specify character set if appropriate
new NamedValue(Attributes.DOCUMENT_CHARACTER_SET,"ISO-8859-1"),
// specify language if appropriate
new NamedValue(Attributes.DOCUMENT_LANGUAGE,"ENGLISH"),
// apply category instance information
new NamedValue(Options.CATEGORY_DEFINITION, categoryDef),
requestedAttributes = ...
Item doc = fm.createDocument(documentDef,null, requestedAttributes);
// Note – it is possible for one to peform creation of multiple category instances on a document at the same time
// you simply supply multiple Options.CATEGORY_DEFINITIONs to the fm.createDocument call
// Note – that if a folder has a category configuration containing required categories, and you do not specify
// all applicable category definitions on createDocument, you will receive an FdkException along the lines of
// missing metadata. You can catch this exception, and retry the createDocument call supplying the valid category definition(s). -
Cannot search file content on Word document with embedded Excel table
Cannot search file content on Word document with embedded Excel table. I have Windows 8.1 64-bit and Office 2010 Professional. Only phrases from within Excel tables are not searchable. I have many Word documents with embedded Excel table.
I use it for my invoices. Those invoices are converted to pdf to be sent via mail. Searching the same phrases in related pdf files Works fine. And yes, folders are indexed, searching service is active......... For example I can find all invoices that have
specific address or name, which is located in word document, but cannot find invoices with specific item name or price, being that information is in embedded Excel table. (not linked, embedded). I thought that is a question for Windows forum, but guys directed
me here on Office forum. To clarify, I do not use Ctrl+F inside some document, but Windows Search in my folders. Probably the same happens in Office 2013.
Thank you.Hi, I have a lot of Word documents (invoices, offers). Main part of those documents is embedded Excel file because it is easier to do mathematics in Excel than in Word. There are columns with description, unit price, quantity, taxes... Now, I need
to find who bought HP switch 2530-24G last year. I open folder with last year invoices and search "2530". Cannot find any. But if that document was converted to pdf for mail, than I can find that phrase. Windows search does not work for content if the content
is in embedded file. -
Associating requirements in my Word Document with NI Gateway
What do I need to do in order to associate
requirements in my Word Document with NI Gateway? I have created a MS
Word Style defined as Requirement_ID and Requirement_Text and applied
them to their respective parts of the document but when I load the
document in NI Gateway I get no response.jstrong -
You could customize the Word NIRG Type to add a new Requirement element which uses a regular expression to parse Table information.
When you include requirements in a Table, NIRG parses that information into the intermediate file in the form of |d Requirement_ID REQX: blah, where "|" specifies the beginning of a new cell in the row and d specifies the cell number.
Please take a look at the attached project which is a modification of the NIRG Word example. You'll notice that I use a custome Type called Word1 to load the Word Example - Requirements.doc file.
Hope this helps!
Manooch H.
National Instruments
Attachments:
Word.zip 44 KB -
I saved a word document with hyperlinks in it as a pdf. When following the links in the pdf, i can't the browser to go back to the pdf. Help ..
You cannot save word files to pdf using reader. When you click a link (in Reader or in the browser using the Reader plugin) you open the url in your browser (what browser)? We need detailed information to help.
-
Word document with multiple sections generates multiple pdf?
Hello everyone,
I'm a new and happy Mac user, but not fully able to use this. I hope you can help.
I have a Word document, with multiple sections that I want to convert into pdf. When I used to do this with the PC, I didn't have problems. I used to use Click to Convert and I normally used to get one single pdf file.
Now, using the pdf button wit the Mac, I get separate pdf files, one for each section. Is there a way that I can create a single pdf, with all the sections in order? If not, how can I merge the pdf in one single pdf file?
Thanks in advance.Hi,
just to let you know I have sorted this.
http://macintoshhowto.com/leopard/how-to-merge-pdf-files-with-preview-in-leopard .html
Thanks. -
Word document with picture JPEG
When I save a word document with a JPEG picture inserted to PDF the picture appears gray?
Hi Martin,
Are you viewing that PDF in Adobe Reader or Acrobat (and what version)?
It sounds like you may have an option selected in the preferences that causes large images to appear as gray boxes. Please try this:
Choose Edit > Preferences (Windows) or Acrobat/Reader > Preferences (Mac OS).
Click the Page Display category on the left.
Select Show Large Images, and then click OK.
Did that do the trick?
Best,
Sara -
Opening Word documents with Appleworks
I often receive Word documents as email attachments (though my hotmail account). I can download these Word documents to my desktop but when I click on them to open them I get an offer to purchase MS Word (which I do not have). I would like to be able to simply open the Word documents with Apple works--and I am hoping I can just click on them and have that happen automatically. But it doesn't. I have tried opening Appleworks and going into the wordprocessing program and then opening the Word document through that, but it only is successful part of the time. What can I do? I would like to have these Word douments open automatically in Appleworks but every time I click on them (i.e., their icon on my desktop) I get that advertisement from Microsoft asking me to buy Word. Is this ad blocking a normal function of Appleworks that would otherwise allow me to open Word documents with a click? And in any case, how can I proceed?
The ad for Word is almost certainly being tacked on through or at Hotmail (taglines or adware from Hotmail? Hoodathunk .....) ; it sure isn't coming from AppleWorks or from anything on your own system, unless you have that demo copy of Office still lurking somewhere. I suppose it could come from that, somehow.
Assuming you can get a clean attachment downloaded to your Desktop from Hotmail, the procedure for having what you want to happen automatically is fairly straightforward and, really, has nothing at all to do with Appleworks. Try the following:
--> Select (highlight) one of those downloaded .doc files from Word, then
--> use the Finder's Get Info command (⌘-I). In the window which appears,
--> see the "Open with" section, and set it to AppleWorks. -
Create a word document with TOC, table,etc
Hi,
How to create a word document with Table of content(TOC),header, footer, table, etc?
Help me with any APIs or examples. I have already tried with POI API, but couldnt create TOC.. So any other api or any solution is available to create complex word document.
Thank youHi BIJ001,
Thanks for your valuable suggestion.
Open standards WordprocessingML format is supports by Microsoft word. It is typical xml format of designing word document. But creating document with TOC,tables, different styles of paragraphs are complex. Using this format, i have created simple docs. I never tried with complex formats like TOC. The generating File should be in ".doc or .docx" format only.
Hi gimbal2,
I am parallely looking to find solution in OpenOffice format also. But i never try out ".docx" file format. I will try to look out this option.
Thanks for the input.
Edited by: user13735134 on May 24, 2011 6:55 AM -
Create Word document with Java
I want to create a Word Document with Java. But I don't know how can I insert text in a Word document.
I searched and found JXWord (probably limited to Windows): http://www.geocities.com/picmapicma/
I'm interrested to know if it works fine...:) -
Merging word document with pdf file how do you renumber pages?
After merging a word document with pdf file, how do you renumber pages? The pdf has more pages than the word document. I first converted the word document to a pdf, using Acrobat Standard 9.
Hi Petek ,
After you merge the files or combine files ,click on the Page Thumbnails panel on the left hand side.
In the Page Thumbnail panel ,right click and you will get a drop down list .Select the option "Number Pages".
You will see a dialog box with several options .You can renumber the pages from there as per your requirement.
Regards
Sukrit Dhingra -
Convert 1 single microsoft word document with section breaks to multiple pdf files
I am a windows 7 users. I have a single microsoft word document which contain 1500 pages. These 1500 pages are seperated by sections breaks in the microsoft word. I am trying to convert this word document to multiple pdf files seperated by the section breaks in the Microsoft word. How can I convert the single microsoft word document with section breaks to multiple seperate pdf files?
Acrobat (Adobe PDF Printer and PDFMaker ) doesn't recognize the Section breaks. It never has as far as I am aware. The easiest thing to do is to manually break up a copy of the MS Word Document into the Sections you need and then create the PDFs from those MS Word documents.
-
Reading and displaying Ms.Word document with web dynpro java
Hi,
I'm using NetWever developer studio 7..0.21.
I'm developing web dynpro java application.I'm in difficulty to read and display word document with its original format in web dynpro view. Is it possible?
If possible , is there a blog etc.?
Thanks.Hello,
You have to use the Office Integration Library. Please, follow the documentation below:
http://help.sap.com/saphelp_nw04/helpdata/en/c3/32853febec3c17e10000000a114084/frameset.htm
I hope this helps you.
Regards,
Blanca -
Acrobat Pro XI Will Not Print Word Document with a Rotated Table
I have a MS Word document that is mostly text, but include a table that has been rotated in a text box to fit on the page. When I try to print to PDF using Acrobat Pro XI, the document crashes at the page the table is on.
I have tried several attempts to print using the Acrobat Printer, convert to PDF feature and trying to print just the page alone. Acrobat will simply not print word document with a rotated table.
Any idea how to fix this?
Word 2013, Windows 7, Acrobat Pro XI 11.0.06In the full document, the print to PDF goes only as far as the table, then ends - not printing the table. The remaining pages are not printed.
For example, I have trimmed the file down to just the table page, and included links to it, and a copy of the PDF it generated.
https://dl.dropboxusercontent.com/u/60543835/Forums/Table%20Sample_140903.docx
https://dl.dropboxusercontent.com/u/60543835/Forums/Table%20Sample_140903.pdf
The error message I now get when I try to print is: "There is not enough memory or disk space to repaginate or print this document."
However, with the Task manager open, the memory never seems to get above half of the available (the graph bar fluctuates a little, but stays stable")
The page prints to a regular HP or Xerox printer with no problems.
Maybe you are looking for
-
Please Help I don't know what to do I just installed the new iTunes 11.1.4 and when I plug in my iPod touch, it sends me a warning note telling me that the requested software is not installed, to uninstall iTues and install it again with the 64 bit v
-
I'm trying to replace the battery on my mid 2010 13-inch Macbook. I'm not sure what kind of battery I need to get, and can't seem to find any indication in "System Information". It's a "MacBook7,1" with Intel Core 2 Duo and Processor Speed: 2.4 GHz.
-
Web Report not working on a different machine
Dear Experts, I published my bex reports in Web. Url's works fine on my machine, but if I check the same Url on any other machine it gives a message 'page cannot be displayed'. How can all the users view the reports on web? How sould I publish them?
-
How can I add a Website Project in a solution that should be excluded from source control?
Using VS 2013 update 4 I currently have a solution with a couple of Class Library Projects and Web Application Projects and all of these are bound to a source control (VS Online). Now I added an Existing Website Project in the same solution by choosi
-
Could it be so that I have deleted the old AppleID? All applications are still on the device, but I cant get them on new device. When I try to create a new id with an old email, it doesnt allow saying that the address is already occupied. It means th