Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/copy drawings #1472

Merged
merged 18 commits into from
Jun 10, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'develop7_2' into feature/copy-drawings
# Conflicts:
#	src/EPPlus/Drawing/Controls/ExcelControlWithText.cs
  • Loading branch information
AdrianEPPlus committed May 30, 2024
commit 0e068ccbb68f799f85036afe9db1ad34d0b68f23
15 changes: 2 additions & 13 deletions src/EPPlus/Drawing/Controls/ExcelControlWithText.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,21 +27,10 @@ public abstract class ExcelControlWithText : ExcelControl
private string _paragraphPath = "{0}xdr:txBody/a:p";
private string _lockTextPath = "{0}@fLocksText";
private string _textBodyPath = "{0}xdr:txBody/a:bodyPr";
internal ExcelControlWithText(ExcelDrawings drawings, XmlNode drawingNode, ControlInternal control, ZipPackagePart part, XmlDocument ctrlPropXml, ExcelGroupShape parent = null) :
internal ExcelControlWithText(ExcelDrawings drawings, XmlNode drawingNode, ControlInternal control, ZipPackagePart part, XmlDocument ctrlPropXml, ExcelGroupShape parent = null) :
base(drawings, drawingNode, control, part, ctrlPropXml, parent)
{
if (TopNode.LocalName == "sp")
{
_paragraphPath = string.Format(_paragraphPath, "");
_lockTextPath = string.Format(_lockTextPath, "");
_textBodyPath = string.Format(_textBodyPath, "");
}
else
{
_paragraphPath = string.Format(_paragraphPath, "xdr:sp/");
_lockTextPath = string.Format(_lockTextPath, "xdr:sp/");
_textBodyPath = string.Format(_textBodyPath, "xdr:sp/");
}
InitPaths();
}

internal ExcelControlWithText(ExcelDrawings drawings, XmlElement drawNode, string name, ExcelGroupShape parent = null) :
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.