Skip to content

Commit 8792069

Browse files
committed
removed types not in preview
1 parent 125954e commit 8792069

File tree

7 files changed

+2
-163
lines changed

7 files changed

+2
-163
lines changed

reference/visio/document.md

Lines changed: 1 addition & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ None
1414
|:---------------|:--------|:----------|:---|
1515
|application|[Application](application.md)|Represents a Visio application instance that contains this document. Read-only.|[Go](https://github.com/OfficeDev/office-js-docs/issues/new?title=Visio-document-application)|
1616
|pages|[PageCollection](pagecollection.md)|Represents a collection of pages associated with the document. Read-only.|[Go](https://github.com/OfficeDev/office-js-docs/issues/new?title=Visio-document-pages)|
17-
|view|[DocumentView](documentview.md)|Returns the DocumentView object. Read-only.|[Go](https://github.com/OfficeDev/office-js-docs/issues/new?title=Visio-document-view)|
1817

1918
## Methods
2019

@@ -23,7 +22,6 @@ None
2322
|[getActivePage()](#getactivepage)|[Page](page.md)|Returns the Active Page of the document.|[Go](https://github.com/OfficeDev/office-js-docs/issues/new?title=Visio-document-getActivePage)|
2423
|[load(param: object)](#loadparam-object)|void|Fills the proxy object created in JavaScript layer with property and object values specified in the parameter.|[Go](https://github.com/OfficeDev/office-js-docs/issues/new?title=Visio-document-load)|
2524
|[setActivePage(PageName: string)](#setactivepagepagename-string)|void|Set the Active Page of the document.|[Go](https://github.com/OfficeDev/office-js-docs/issues/new?title=Visio-document-setActivePage)|
26-
|[startDataRefresh()](#startdatarefresh)|void|Triggers the refresh of the data in the Diagram, for all pages.|[Go](https://github.com/OfficeDev/office-js-docs/issues/new?title=Visio-document-startDataRefresh)|
2725

2826
## Method Details
2927

@@ -108,33 +106,7 @@ Visio.run(function (ctx) {
108106
```
109107

110108

111-
### startDataRefresh()
112-
Triggers the refresh of the data in the Diagram, for all pages.
113-
114-
#### Syntax
115-
```js
116-
documentObject.startDataRefresh();
117-
```
118-
119-
#### Parameters
120-
None
121-
122-
#### Returns
123-
void
124-
125-
#### Examples
126-
```js
127-
Visio.run(function (ctx) {
128-
var document = ctx.document;
129-
document.startDataRefresh();
130-
return ctx.sync();
131-
}).catch(function(error) {
132-
console.log("Error: " + error);
133-
if (error instanceof OfficeExtension.Error) {
134-
console.log("Debug info: " + JSON.stringify(error.debugInfo));
135-
}
136-
});
137-
```### Property access examples
109+
### Property access examples
138110
```js
139111
Visio.run(function (ctx) {
140112
var pages = ctx.document.pages;
@@ -150,20 +122,6 @@ Visio.run(function (ctx) {
150122
});
151123
```
152124

153-
### Property access examples
154-
```js
155-
Visio.run(function (ctx) {
156-
var documentView = ctx.document.view;
157-
documentView.disableHyperlinks();
158-
return ctx.sync();
159-
}).catch(function(error) {
160-
console.log("Error: " + error);
161-
if (error instanceof OfficeExtension.Error) {
162-
console.log("Debug info: " + JSON.stringify(error.debugInfo));
163-
}
164-
});
165-
```
166-
167125
### Property access examples
168126
```js
169127
Visio.run(function (ctx) {

reference/visio/highlight.md

Lines changed: 0 additions & 44 deletions
This file was deleted.

reference/visio/page.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,9 @@ Represents the Page class.
99

1010
| Property | Type |Description| Feedback|
1111
|:---------------|:--------|:----------|:---|
12-
|height|int|Returns the height of the page. Read-only.|[Go](https://github.com/OfficeDev/office-js-docs/issues/new?title=Visio-page-height)|
1312
|index|int|Index of the Page. Read-only.|[Go](https://github.com/OfficeDev/office-js-docs/issues/new?title=Visio-page-index)|
1413
|isBackground|bool|Whether the page is a background page or not. Read-only.|[Go](https://github.com/OfficeDev/office-js-docs/issues/new?title=Visio-page-isBackground)|
1514
|name|string|Page name. Read-only.|[Go](https://github.com/OfficeDev/office-js-docs/issues/new?title=Visio-page-name)|
16-
|width|int|Returns the width of the page. Read-only.|[Go](https://github.com/OfficeDev/office-js-docs/issues/new?title=Visio-page-width)|
1715

1816
## Relationships
1917
| Relationship | Type |Description| Feedback|

reference/visio/pageview.md

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,8 @@ None
2020
|:---------------|:--------|:----------|:---|
2121
|[centerViewportOnShape(ShapeId: number)](#centerviewportonshapeshapeid-number)|void|Pans the Visio drawing to place the specified shape in the center of the view.|[Go](https://github.com/OfficeDev/office-js-docs/issues/new?title=Visio-pageView-centerViewportOnShape)|
2222
|[fitToWindow()](#fittowindow)|void|Fit Page to current window.|[Go](https://github.com/OfficeDev/office-js-docs/issues/new?title=Visio-pageView-fitToWindow)|
23-
|[getPosition()](#getposition)|[Position](position.md)|Returns the position object that specifies the position of the page in the view.|[Go](https://github.com/OfficeDev/office-js-docs/issues/new?title=Visio-pageView-getPosition)|
24-
|[getSelection()](#getselection)|[Selection](selection.md)|Represents the Selection in the page.|[Go](https://github.com/OfficeDev/office-js-docs/issues/new?title=Visio-pageView-getSelection)|
2523
|[isShapeInViewport(Shape: Shape)](#isshapeinviewportshape-shape)|bool|To check if the shape is in view of the page or not.|[Go](https://github.com/OfficeDev/office-js-docs/issues/new?title=Visio-pageView-isShapeInViewport)|
2624
|[load(param: object)](#loadparam-object)|void|Fills the proxy object created in JavaScript layer with property and object values specified in the parameter.|[Go](https://github.com/OfficeDev/office-js-docs/issues/new?title=Visio-pageView-load)|
27-
|[setPosition(Position: Position)](#setpositionposition-position)|void|Sets the position of the page in the view.|[Go](https://github.com/OfficeDev/office-js-docs/issues/new?title=Visio-pageView-setPosition)|
2825

2926
## Method Details
3027

@@ -75,34 +72,6 @@ None
7572
#### Returns
7673
void
7774

78-
### getPosition()
79-
Returns the position object that specifies the position of the page in the view.
80-
81-
#### Syntax
82-
```js
83-
pageViewObject.getPosition();
84-
```
85-
86-
#### Parameters
87-
None
88-
89-
#### Returns
90-
[Position](position.md)
91-
92-
### getSelection()
93-
Represents the Selection in the page.
94-
95-
#### Syntax
96-
```js
97-
pageViewObject.getSelection();
98-
```
99-
100-
#### Parameters
101-
None
102-
103-
#### Returns
104-
[Selection](selection.md)
105-
10675
### isShapeInViewport(Shape: Shape)
10776
To check if the shape is in view of the page or not.
10877

@@ -135,14 +104,6 @@ object.load(param);
135104
#### Returns
136105
void
137106

138-
### setPosition(Position: Position)
139-
Sets the position of the page in the view.
140-
141-
#### Syntax
142-
```js
143-
pageViewObject.setPosition(Position);
144-
```
145-
146107
#### Parameters
147108
| Parameter | Type |Description|
148109
|:---------------|:--------|:----------|:---|

reference/visio/shape.md

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -28,26 +28,10 @@ _See property access [examples.](#property-access-examples)_
2828

2929
| Method | Return Type |Description| Feedback|
3030
|:---------------|:--------|:----------|:---|
31-
|[getBounds()](#getbounds)|[BoundingBox](boundingbox.md)|Returns the BoundingBox object that specifies bounding box of the shape.|[Go](https://github.com/OfficeDev/office-js-docs/issues/new?title=Visio-shape-getBounds)|
3231
|[load(param: object)](#loadparam-object)|void|Fills the proxy object created in JavaScript layer with property and object values specified in the parameter.|[Go](https://github.com/OfficeDev/office-js-docs/issues/new?title=Visio-shape-load)|
3332

3433
## Method Details
3534

36-
37-
### getBounds()
38-
Returns the BoundingBox object that specifies bounding box of the shape.
39-
40-
#### Syntax
41-
```js
42-
shapeObject.getBounds();
43-
```
44-
45-
#### Parameters
46-
None
47-
48-
#### Returns
49-
[BoundingBox](boundingbox.md)
50-
5135
### load(param: object)
5236
Fills the proxy object created in JavaScript layer with property and object values specified in the parameter.
5337

reference/visio/shapedataitem.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ Represents the ShapeDataItem.
99

1010
| Property | Type |Description| Feedback|
1111
|:---------------|:--------|:----------|:---|
12-
|format|string|A string that specifies the format of the shape data item. Read-only.|[Go](https://github.com/OfficeDev/office-js-docs/issues/new?title=Visio-shapeDataItem-format)|
13-
|formattedValue|string|A string that specifies the formatted value of the shape data item. Read-only.|[Go](https://github.com/OfficeDev/office-js-docs/issues/new?title=Visio-shapeDataItem-formattedValue)|
1412
|label|string|A string that specifies the label of the shape data item. Read-only.|[Go](https://github.com/OfficeDev/office-js-docs/issues/new?title=Visio-shapeDataItem-label)|
1513
|value|string|A string that specifies the value of the shape data item. Read-only.|[Go](https://github.com/OfficeDev/office-js-docs/issues/new?title=Visio-shapeDataItem-value)|
1614

reference/visio/shapeview.md

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@ Represents the ShapeView class.
1010
None
1111

1212
## Relationships
13-
| Relationship | Type |Description| Feedback|
14-
|:---------------|:--------|:----------|:---|
15-
|highlight|[Highlight](highlight.md)|Represents the highlight around the shape.|[Go](https://github.com/OfficeDev/office-js-docs/issues/new?title=Visio-shapeView-highlight)|
13+
None
1614

1715
## Methods
1816

@@ -77,20 +75,6 @@ shapeViewObject.removeOverlay(OverlayId);
7775

7876
#### Returns
7977
void
80-
### Property access examples
81-
```js
82-
Visio.run(function (ctx) {
83-
var activePage = ctx.document.getActivePage();
84-
var shape = activePage.shapes.getItem(0);
85-
shape.view.highlight = { color: "#E7E7E7", width: 100 };
86-
return ctx.sync();
87-
}).catch(function(error) {
88-
console.log("Error: " + error);
89-
if (error instanceof OfficeExtension.Error) {
90-
console.log("Debug info: " + JSON.stringify(error.debugInfo));
91-
}
92-
});
93-
```
9478

9579
### Property access examples
9680
```js

0 commit comments

Comments
 (0)