* <p>Represents an entry in the property list and holds a property's ID and
* its offset from the section's beginning.</p>
*/
- class PropertyListEntry implements Comparable<PropertyListEntry>
+ static class PropertyListEntry implements Comparable<PropertyListEntry>
{
int id;
int offset;
*
* @author Roman Kashitsyn
*/
- private class SimpleCellWalkContext implements CellWalkContext {
+ private static class SimpleCellWalkContext implements CellWalkContext {
public long ordinalNumber = 0;
public int rowNumber = 0;
public int colNumber = 0;
/**
* The core document properties
*/
- public class CoreProperties {
+ public static class CoreProperties {
private PackagePropertiesPart part;
private CoreProperties(PackagePropertiesPart part) {
this.part = part;
/**
* Extended document properties
*/
- public class ExtendedProperties {
+ public static class ExtendedProperties {
private org.openxmlformats.schemas.officeDocument.x2006.extendedProperties.PropertiesDocument props;
private ExtendedProperties(org.openxmlformats.schemas.officeDocument.x2006.extendedProperties.PropertiesDocument props) {
this.props = props;
/**
* Custom document properties
*/
- public class CustomProperties {
+ public static class CustomProperties {
/**
* Each custom property element contains an fmtid attribute
* with the same GUID value ({D5CDD505-2E9C-101B-9397-08002B2CF9AE}).
}
public InputStream getInputStream(ZipEntry zipEntry) {
+ assert (zipEntry instanceof FakeZipEntry);
FakeZipEntry entry = (FakeZipEntry)zipEntry;
return entry.getInputStream();
}
* The definition of a Command, which a chunk may hold.
* The Command holds the value, this describes it.
*/
- public class CommandDefinition {
+ public static class CommandDefinition {
private int type;
private int offset;
private String name;
package org.apache.poi.hslf.record;
-import org.apache.poi.util.LittleEndian;
import java.io.IOException;
import java.io.OutputStream;
+import org.apache.poi.util.LittleEndian;
+
/**
* A Slide Atom (type 1007). Holds information on the parent Slide, what
* Master Slide it uses, what Notes is attached to it, that sort of thing.
* usual record header. Since it's a fixed size and tied to
* the SlideAtom, we'll hold it here.)
*/
- public class SSlideLayoutAtom {
+ public static class SSlideLayoutAtom {
// The different kinds of geometry
public static final int TITLE_SLIDE = 0;
public static final int TITLE_BODY_SLIDE = 1;
package org.apache.poi.hslf.record;
-import org.apache.poi.util.LittleEndian;
-
import java.io.IOException;
import java.io.OutputStream;
import java.util.Vector;
+import org.apache.poi.util.LittleEndian;
+
/**
* These are tricky beasts. They contain the text of potentially
* many (normal) slides. They are made up of several sets of
* includes sets of TextHeaderAtom and TextBytesAtom/TextCharsAtom,
* along with some others.
*/
- public class SlideAtomsSet {
+ public static class SlideAtomsSet {
private SlidePersistAtom slidePersistAtom;
private Record[] slideRecords;