We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Find merge cell from TableEx

Hi Aspose Support Team!

I’m using Aspose.Slides to read a slide and write to winform application.
How can check every merge cells in TableEx shape?
Ex:
Table

<!–[if gte mso 9]>
<w:WordDocument>
<w:View>Normal</w:View>
<w:Zoom>0</w:Zoom>
<w:TrackMoves/>
<w:TrackFormatting/>
<w:PunctuationKerning/>
<w:ValidateAgainstSchemas/>
<w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
<w:IgnoreMixedContent>false</w:IgnoreMixedContent>
<w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
<w:DoNotPromoteQF/>
<w:LidThemeOther>EN-US</w:LidThemeOther>
<w:LidThemeAsian>X-NONE</w:LidThemeAsian>
<w:LidThemeComplexScript>X-NONE</w:LidThemeComplexScript>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
<w:DontGrowAutofit/>
<w:SplitPgBreakAndParaMark/>
<w:DontVertAlignCellWithSp/>
<w:DontBreakConstrainedForcedTables/>
<w:DontVertAlignInTxbx/>
<w:Word11KerningPairs/>
<w:CachedColBalance/>
<w:UseFELayout/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
<m:mathPr>
<m:mathFont m:val=“Cambria Math”/>
<m:brkBin m:val=“before”/>
<m:brkBinSub m:val="–"/>
<m:smallFrac m:val=“off”/>
<m:dispDef/>
<m:lMargin m:val=“0”/>
<m:rMargin m:val=“0”/>
<m:defJc m:val=“centerGroup”/>
<m:wrapIndent m:val=“1440”/>
<m:intLim m:val=“subSup”/>
<m:naryLim m:val=“undOvr”/>
</m:mathPr></w:WordDocument>
<![endif]–><!–[if gte mso 10]>

/* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin-top:0in; mso-para-margin-right:0in; mso-para-margin-bottom:10.0pt; mso-para-margin-left:0in; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi;} table.MsoTableGrid {mso-style-name:"Table Grid"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-priority:59; mso-style-unhide:no; border:solid black 1.0pt; mso-border-themecolor:text1; mso-border-alt:solid black .5pt; mso-border-themecolor:text1; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-border-insideh:.5pt solid black; mso-border-insideh-themecolor:text1; mso-border-insidev:.5pt solid black; mso-border-insidev-themecolor:text1; mso-para-margin:0in; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi;}

<![endif]–>

Cell 0-0

Cell 0-1

Cell 0-2

Cell0-3

Cell 1-0

Cell 2-0

Cell 1 -1

Cell 1-2

Cell 2-2

Cell 1-3

Cell 2-1

Cell 2-3

Cell 3-0

Cell 3-1

Cell 3-2

Cell 3-3


TryCast(shape, TableEx).Rows.Count : return 4
TryCast(shape, TableEx).Columns.Count : return 4

For x As Integer = 0 To TryCast(shape, TableEx).Rows.Count - 1
For y As Integer = 0 To TryCast(shape, TableEx).Columns.Count - 1
Dim AsCell As Aspose.Slides.Pptx.CellEx = TryCast(shape, TableEx).Rows(x).Item(y)
How to check that Cell 0-0 is merging to Cell 0-1 and also?
Next
Next
Pls show me the way.
Best Regards
----------------
Ngatq

Hi Ngatq,<?xml:namespace prefix = o ns = “urn:schemas-microsoft-com:office:office” /><o:p></o:p>

I have observed the requirements shared by you and regret
to share that feature of identifying that which cell is merged with which cell
is unavailable in Aspose.Slides presently. I have created a ticket with ID SLIDESNET-33650 in our issue tracking
system as new feature request to investigate the possibility of implementing
requested feature support.<o:p></o:p>

However, I have created a work around approach for you
that compare the cells in table on the basis of content inside cells and tell
which cell is merged with which cell. You may use it and alter it for your
convenience.<o:p></o:p>

We will share the further information with you as soon as
the feature will be available.<o:p></o:p>

Many Thanks,

The issues you have found earlier (filed as SLIDESNET-33650) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.