#Navigate to the first page
Document.ActivePageReference = Document.Pages[0]
#Loop Document Pages
for p in Document.Pages: print p.Title
#Toogle Page Navigation
if Document.Pages.NavigationMode == Document.Pages.NavigationMode.Tabs:
Document.Pages.NavigationMode = Document.Pages.NavigationMode.Links
elif Document.Pages.NavigationMode == Document.Pages.NavigationMode.Links:
Document.Pages.NavigationMode = Document.Pages.NavigationMode.None
elif Document.Pages.NavigationMode == Document.Pages.NavigationMode.None:
Document.Pages.NavigationMode = Document.Pages.NavigationMode.Tabs
Document.ActivePageReference = Document.Pages[0]
#Loop Document Pages
for p in Document.Pages: print p.Title
#Toogle Page Navigation
if Document.Pages.NavigationMode == Document.Pages.NavigationMode.Tabs:
Document.Pages.NavigationMode = Document.Pages.NavigationMode.Links
elif Document.Pages.NavigationMode == Document.Pages.NavigationMode.Links:
Document.Pages.NavigationMode = Document.Pages.NavigationMode.None
elif Document.Pages.NavigationMode == Document.Pages.NavigationMode.None:
Document.Pages.NavigationMode = Document.Pages.NavigationMode.Tabs
ConversionConversion EmoticonEmoticon