import org.openxmlformats.schemas.wordprocessingml.x2006.main.CTLatentStyles;
import org.openxmlformats.schemas.wordprocessingml.x2006.main.CTLsdException;\r
\r
-public class XWPFLatentStyles {\r
+public class XWPFLatentStyles {
+ // As of 2016-06-10, POI does not contain a LatentStyle class, nor was one included in the patch for bug 48574.\r
protected XWPFStyles styles; //LatentStyle shall know styles\r
private CTLatentStyles latentStyles;\r
\r
<Bug pattern="URF_UNREAD_FIELD" />
<Field name="count2" />
</Match>
+ <Match>
+ <Class name="org.apache.poi.xwpf.usermodel.XWPFLatentStyles"/>
+ <Bug pattern="URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD" />
+ <Field name="styles" />
+ </Match>
+ <Match>
+ <Class name="org.apache.poi.hslf.blip.Metafile"/>
+ <Bug pattern="URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD" />
+ <Field name="compression" />
+ </Match>
<!-- invalid performance issues - e.g. see #57840 -->
public abstract class Metafile extends HSLFPictureData {
/**
- * A structure which represents a 34-byte header preceeding the compressed metafile data
+ * A structure which represents a 34-byte header preceding the compressed metafile data
*
* @author Yegor Kozlov
*/
/**
* Reserved. Always 0.
*/
- public int compression;
+ public int compression = 0;
/**
* Reserved. Always 254.