Skip to content

Commit

Permalink
Merge pull request #637 from plutext/docx4j-expose-methods
Browse files Browse the repository at this point in the history
expose field/method for use by docx4j-ImportXHTML
  • Loading branch information
danfickle committed Jan 19, 2021
2 parents 1290eba + 85426dc commit 78cdb00
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,11 @@ protected boolean removeEldestEntry(Map.Entry eldest) {
*/
private final FSDerivedValue[] _derivedValuesById;

/**
public FSDerivedValue[] getderivedValuesById() {
return _derivedValuesById;
}

/**
* The derived Font for this style
*/
private FontSpecification _font;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,11 @@ public class LengthValue extends DerivedValue {
*/
private short _lengthPrimitiveType;

public LengthValue(CalculatedStyle style, CSSName name, PropertyValue value) {
public short getLengthPrimitiveType() {
return _lengthPrimitiveType;
}

public LengthValue(CalculatedStyle style, CSSName name, PropertyValue value) {
super(name, value.getPrimitiveType(), value.getCssText(), value.getCssText());

_style = style;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ public TableBox getTable() {
return _table;
}

protected TableSectionBox getSection() {
public TableSectionBox getSection() {
if (_section == null) {
_section = (TableSectionBox)getParent().getParent();
}
Expand Down

0 comments on commit 78cdb00

Please sign in to comment.