All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.docx4j.model.fields.SimpleFieldLocator Maven / Gradle / Ivy

Go to download

docx4j is a library which helps you to work with the Office Open XML file format as used in docx documents, pptx presentations, and xlsx spreadsheets.

There is a newer version: 11.4.11
Show newest version
package org.docx4j.model.fields;

import java.util.ArrayList;
import java.util.List;

import org.docx4j.TraversalUtil.CallbackImpl;
import org.docx4j.wml.CTSimpleField;

	
public class SimpleFieldLocator extends CallbackImpl {
	
	public List simpleFields = new ArrayList();	

	@Override
	public List apply(Object o) {
					
		if (o instanceof CTSimpleField) {
			simpleFields.add((CTSimpleField)o);
		}
		
		return null;
	}
}