TextFrame


#1

Hi Alexey!

Can you ask for some questions about TextFrame:

1) TextFrame don’t have “Rotate text within AutoShape by 90o”.

2) How can I get the SlideNumber, Footer, Header positions and its text?.

3) When do you plan to add numbering bullets?

4) TextFrame.Tabs always return 0 (count). How can I work with it?

5) TextOffset is always 0 (see the attachment file “textoffset.jpg”).


#2

Dear CAV,

1. Will be implemented.
2. If SlideNumberPosition, HeaderPosition or FooterPosition >= 0 that means character in this position should be replaced with value on slide show. MS PowerPoint calculates it dynamically when show slides.
3. There is large problem with numbered bullets yet.
4. Not always. Sometimes it really exists.
5. TextOffset - additional offset from bullets (even if they are invisible). Try BulletOffset + TextOffset.


#3

4),5) - please see the attached ppt file.

1 textframe - shape.TextFrame.Paragraphs.BulletOffset(TextOffset) == 0
2 textframe - shape.TextFrame.Paragraphs.BulletOffset(TextOffset) == 0
3 textframe - shape.TextFrame.Tabs.Count == 0


#4

Dear CAV,

I can tell only one thing yet.
These shapes don’t have tabs and both offsets are 0.
But I will find how it works. Thank you for example.


#5
  1. How can I get the SlideNumber, Footer, Header positions and its text?.

    2. If SlideNumberPosition, HeaderPosition or FooterPosition >= 0 that means character in this position should be replaced with value on slide show. MS PowerPoint calculates it dynamically when show slides.

    Can you send me an example how to get text from footer or header? (using slide show).

#6
These shapes don't have tabs and both offsets are 0.
But I will find how it works. Thank you for example.


Thumbnail of p1.ppt file looks good. When do you plan to add this features for developers (Tabs.Count is still equal to 0)?

#7

Dear CAV,

It will be added in the next hot fixes.


#8
  1. When do you plan to add numbering bullets?

    There is large problem with numbered bullets yet.

    2) (see the attachment)
    These shapes don’t have tabs and both offsets are 0.
    But I will find how it works. Thank you for example.

    It will be added in the next hot fixes.

    When do you plan to add this features?


#9

Hi Alexey!

1) When do you plan to add numbering bullets?

There is large problem with numbered bullets yet.

2) (see the attachment)
These shapes don’t have tabs and both offsets are 0.
But I will find how it works. Thank you for example.

It will be added in the next hot fixes.

When do you plan to add this features?


#10

Dear CAV,

Sorry. Probably implementation of numbered bullets will be delayed till September.
For tabulations in this ppt please check TextFrame.GetEffectiveTabs function and EffectiveTabs class.
You should use it together with Tabs property.


#11

Hello AlexeySmile

The numbered bullets is very important to me as well and one of the very last important items I need implemented.

If there is anything that can be done to release it sooner, I would greatly appreciate it.

Best Regards,

Alex


#12

I simply can’t understand how it works yet.
Sure, it will be implemented asap.


#13

Alexie,


Numbered bullets are always painful.

I'm also waiting for this functionality. I'm watching this post!!!



#14

Alexie,


Numbered bullets are always painful.

I'm also waiting for this functionality. I'm watching this post!!!

Is September still likely



#15

Please check:
http://www.aspose.com/Blogs/alexey.zhilin/archive/2005/08/29/2520.aspx


#16

Can you send me any examples showing how to work with EffectiveTabs?

EffectiveTabs et = tf.GetEffectiveTabs(nIndexPara);

et.DefaultTabSize - "Returns the distance between two closest implicit tab positions." 1) can you please explain a bit more about this? 2) distance in pixels?

et.ExplicitTabCount - "Returns the number of explicitly defined tabs." if this value == 0? what would it mean?

et.GetTabByIndex(index).Position - "Returns explicitly defined tab if index less than ExplicitTabCount otherwise generates new implicit tab using DefaultTabSize." 1) what is 'index'? Can I consider index to be the same = paragraph.Text.IndexOf("\t")?) 2) what is the meaning of returned value? is it in pixels?

et.GetTabAfterPosition(position) - "Returns the next tab with position greater or equal to specified." - 1) does this function work only if ExplicitTabCount > 0? 2) what is 'position'? is it in pixels?


#17

Please check wiki page:
http://www.aspose.com/Wiki/default.aspx/Aspose.PowerPoint/TabsAndEffectiveTabs.html

I made some draft explanations what EffectiveTabs properties and functions mean.