Package org.xlsx4j.samples
Class ProtectSpreadsheet
java.lang.Object
org.xlsx4j.samples.ProtectSpreadsheet
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidaddContent(WorksheetPart sheet) private static CellcreateCell(String content) // Note: if you are trying to add characters, not a number, // the easiest approach is to use inline strings (as opposed to the shared string table).static void
-
Constructor Details
-
ProtectSpreadsheet
public ProtectSpreadsheet()
-
-
Method Details
-
main
- Throws:
Exception
-
addContent
-
createCell
// Note: if you are trying to add characters, not a number, // the easiest approach is to use inline strings (as opposed to the shared string table). // See http://openxmldeveloper.org/blog/b/openxmldeveloper/archive/2011/11/22/screen-cast-write-simpler-spreadsheetml-when-generating-spreadsheets.aspx // and http://www.docx4java.org/forums/xlsx-java-f15/cells-with-character-values-t874.html
-