if you are a human please do not click here
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
Username :
Password :
Home
Help
Calendar
Register
Login
XMetaL Community Forums
»
General
»
General XMetaL Discussion
»
XMetal Get the offset of the insertion point
Pages:
1
« previous
next »
Print
Author
Topic: XMetal Get the offset of the insertion point (Read 757 times)
gtoro
Member
Posts: 1
XMetal Get the offset of the insertion point
«
on:
April 20, 2011, 03:38:30 AM »
Hello,
I am trying to get the offset of the insertion point within an element. All I have is the Selection object, which has IsInsertionPoint = true. I can also get the current node. I noticed there is an object DOMText with methods taking in an offset, for example, splitText.
Example code:
GlobalPtr global;
global.CreateInstance(__uuidof(Global));
SelectionPtr sel = global->Selection;
if(sel->IsInsertionPoint)
{
// Get offset
}
Cheers,
Gino
Logged
Derek Read
Program Manager (XMetaL)
Administrator
Member
Posts: 1546
Re: XMetal Get the offset of the insertion point
«
Reply #1 on:
April 20, 2011, 12:06:46 PM »
The type of APIs you seem to need might exist but likely only in an experimental version of the product.
It would be best to use our partner support channel to communicate these types of questions. The forum is generally meant for discussing things that may be of use to other clients and if we discuss undocumented or experimental things here it would end up confusing other people.
Logged
Pages:
1
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> Forum Information
=> General XMetaL Discussion
=> DITA and XMetaL Discussion
=> XMetaL Tips and Tricks
=> XMetaL Announcements and Events
Loading...
email us