Skip to content

Commit 61abfa0

Browse files
Files update from Slides AI Agents: Documentation Translation (#854)
1 parent 0398f2f commit 61abfa0

File tree

476 files changed

+83747
-666
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

476 files changed

+83747
-666
lines changed
Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
---
2-
title: توطين العرض التقديمي
2+
title: توطين العرض
33
type: docs
44
weight: 100
55
url: /ar/net/presentation-localization/
6-
keywords: "تغيير اللغة, تدقيق إملائي, تدقيق إملاء, مدقق إملائي, عرض PowerPoint, C#, Csharp, Aspose.Slides for .NET"
6+
keywords: "تغيير اللغة, تدقيق إملائي, تدقيق الإملاء, مدقق إملائي, عرض PowerPoint, C#, Csharp, Aspose.Slides for .NET"
77
description: "تغيير أو فحص اللغة في عرض PowerPoint. تدقيق إملائي للنص في C# أو .NET"
88
---
99

1010
## **تغيير اللغة للعرض ونص الشكل**
11-
- إنشاء مثيل لفئة [Presentation](https://reference.aspose.com/slides/net/aspose.slides/presentation) class.
12-
- الحصول على مرجع شريحة باستخدام فهرسها.
13-
- إضافة AutoShape من النوع Rectangle إلى الشريحة.
11+
- إنشاء مثيل لفئة [Presentation](https://reference.aspose.com/slides/net/aspose.slides/presentation) .
12+
- الحصول على مرجع الشريحة باستخدام الفهرس الخاص بها.
13+
- إضافة AutoShape من نوع Rectangle إلى الشريحة.
1414
- إضافة بعض النص إلى TextFrame.
1515
- تعيين Language Id للنص.
16-
- كتابة العرض بصيغة ملف PPTX.
16+
- حفظ العرض كملف PPTX.
1717

18-
يتم توضيح تنفيذ الخطوات المذكورة أعلاه في مثال أدناه.
18+
يتم توضيح تنفيذ الخطوات المذكورة أعلاه أدناه في مثال.
1919
```c#
2020
using (Presentation pres = new Presentation("test0.pptx"))
2121
{
@@ -28,16 +28,16 @@ using (Presentation pres = new Presentation("test0.pptx"))
2828
```
2929

3030

31-
## **الأسئلة الشائعة**
31+
## **الأسئلة المتكررة**
3232

33-
**هل يقوم language_id بتفعيل الترجمة التلقائية للنص؟**
33+
**هل يُؤدي معرف اللغة إلى ترجمة النص تلقائيًا؟**
3434

35-
لا. [language_id](https://reference.aspose.com/slides/net/aspose.slides/portionformat/languageid/) في Aspose.Slides يخزن اللغة للتدقيق الإملائي وإثبات القواعد، لكنه لا يترجم أو يغير محتوى النص. إنها بيانات وصفية يفهمها PowerPoint للإثبات.
35+
لا. [LanguageId](https://reference.aspose.com/slides/net/aspose.slides/baseportionformat/languageid/) في Aspose.Slides يخزن اللغة لتدقيق الإملاء وإثبات القواعد، لكنه لا يترجم أو يغيّر محتوى النص. إنه بيانات وصفية يفهمها PowerPoint لإثبات النص.
3636

37-
**هل يؤثر language_id على التقسيم إلى مقاطع والفواصل خلال العرض؟**
37+
**هل يؤثر معرف اللغة على الفواصل والكسرة أثناء العرض؟**
3838

39-
في Aspose.Slides، [LanguageId](https://reference.aspose.com/slides/net/aspose.slides/baseportionformat/languageid/) مخصص للإثبات. جودة التقسيم إلى مقاطع وتفاف السطر تعتمد أساساً على توفر [proper fonts](/slides/ar/net/powerpoint-fonts/) وإعدادات التخطيط/فواصل السطر لنظام الكتابة. لضمان العرض الصحيح، احرص على توفير الخطوط المطلوبة، وتكوين [font substitution rules](/slides/ar/net/font-substitution/)، و/أو [embed fonts](/slides/ar/net/embedded-font/) في العرض.
39+
في Aspose.Slides، [LanguageId](https://reference.aspose.com/slides/net/aspose.slides/baseportionformat/languageid/) مخصص للإثبات. جودة الفواصل والكسرة تعتمد بشكل أساسي على توفر [الخطوط المناسبة](/slides/ar/net/powerpoint-fonts/) وإعدادات التخطيط/الكسرة للنظام الكتابي. لضمان عرض صحيح، احرص على توفر الخطوط المطلوبة، وتكوين [قواعد استبدال الخط](/slides/ar/net/font-substitution/)، و/أو [تضمين الخطوط](/slides/ar/net/embedded-font/) في العرض.
4040

4141
**هل يمكنني تعيين لغات مختلفة داخل فقرة واحدة؟**
4242

43-
نعم. يتم تطبيق [LanguageId](https://reference.aspose.com/slides/net/aspose.slides/baseportionformat/languageid/) على مستوى جزء النص، لذا يمكن لفقرة واحدة دمج لغات متعددة بإعدادات إثبات مختلفة.
43+
نعم. يتم تطبيق [LanguageId](https://reference.aspose.com/slides/net/aspose.slides/baseportionformat/languageid/) على مستوى جزء النص، لذا يمكن لفقرة واحدة أن تمزج عدة لغات بإعدادات إثبات مختلفة.
Lines changed: 227 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,227 @@
1+
---
2+
title: عرض ثلاثي الأبعاد
3+
type: docs
4+
weight: 232
5+
url: /ar/nodejs-java/3d-presentation/
6+
---
7+
8+
## **نظرة عامة**
9+
10+
منذ نسخة Aspose.Slides for Java 20.9 أصبح من الممكن إنشاء ثلاثي الأبعاد في العروض التقديمية. يُعد PowerPoint 3D طريقة لإضفاء الحيوية على العروض. اعرض كائنات العالم الحقيقي باستخدام عرض ثلاثي الأبعاد، أو استعرض نموذج ثلاثي الأبعاد لمشروع عملك المستقبلي، أو نموذج ثلاثي الأبعاد للمبنى أو داخله، أو نموذج ثلاثي الأبعاد لشخصية اللعبة، أو مجرد تمثيل ثلاثي الأبعاد لبياناتك.
11+
12+
يمكن إنشاء نماذج PowerPoint 3D من أشكال ثنائية الأبعاد، عن طريق تطبيق هذه التأثيرات عليها: دوران ثلاثي الأبعاد، عمق واستخلاص ثلاثي الأبعاد، تدرج لوني ثلاثي الأبعاد، نص ثلاثي الأبعاد، إلخ. يمكن العثور على قائمة ميزات الثلاثي الأبعاد المطبقة على الأشكال في فئة **[ThreeDFormat](https://reference.aspose.com/slides/nodejs-java/aspose.slides/ThreeDFormat)**. يمكن الحصول على مثيل الفئة عبر:
13+
14+
- **[Shape.getThreeDFormat()](https://reference.aspose.com/slides/nodejs-java/aspose.slides/Shape#getThreeDFormat--)** طريقة لإنشاء نموذج PowerPoint 3D.
15+
- **[TextFrameFormat.getThreeDFormat()](https://reference.aspose.com/slides/nodejs-java/aspose.slides/TextFrameFormat#getThreeDFormat--)** طريقة لإنشاء نص ثلاثي الأبعاد (WordArt).
16+
17+
يمكن استخدام جميع التأثيرات المُنفذة في **[ThreeDFormat](https://reference.aspose.com/slides/nodejs-java/aspose.slides/ThreeDFormat)** لكل من الأشكال والنص. دعونا نلقي نظرة سريعة على الطرق الرئيسية لفئة **[ThreeDFormat](https://reference.aspose.com/slides/nodejs-java/aspose.slides/ThreeDFormat)**. في المثال التالي
18+
ننشئ شكلاً مستطيلاً ثنائي الأبعاد مع نص عليه. من خلال الحصول على عرض الكاميرا على الشكل، نغيّر دورانه لجعله يبدو كنموذج ثلاثي الأبعاد. ضبط إضاءة مسطحة
19+
واتجاهها إلى أعلى النموذج الثلاثي الأبعاد يضيف حجمًا أكبر للنموذج. تغيير المواد، ارتفاع الاستخلاص واللون يجعل النموذج الثلاثي الأبعاد يبدو أكثر حيوية.
20+
```javascript
21+
var pres = new aspose.slides.Presentation();
22+
try {
23+
var shape = pres.getSlides().get_Item(0).getShapes().addAutoShape(aspose.slides.ShapeType.Rectangle, 200, 150, 200, 200);
24+
shape.getTextFrame().setText("3D");
25+
shape.getTextFrame().getParagraphs().get_Item(0).getParagraphFormat().getDefaultPortionFormat().setFontHeight(64);
26+
shape.getThreeDFormat().getCamera().setCameraType(aspose.slides.CameraPresetType.OrthographicFront);
27+
shape.getThreeDFormat().getCamera().setRotation(20, 30, 40);
28+
shape.getThreeDFormat().getLightRig().setLightType(aspose.slides.LightRigPresetType.Flat);
29+
shape.getThreeDFormat().getLightRig().setDirection(aspose.slides.LightingDirection.Top);
30+
shape.getThreeDFormat().setMaterial(aspose.slides.MaterialPresetType.Flat);
31+
shape.getThreeDFormat().setExtrusionHeight(100);
32+
shape.getThreeDFormat().getExtrusionColor().setColor(java.getStaticFieldValue("java.awt.Color", "BLUE"));
33+
try {
34+
var slideImage = pres.getSlides().get_Item(0).getImage(2, 2);
35+
slideImage.save("sample_3d.png", aspose.slides.ImageFormat.Png);
36+
} finally {
37+
if (slideImage != null) {
38+
slideImage.dispose();
39+
}
40+
}
41+
pres.save("sandbox_3d.pptx", aspose.slides.SaveFormat.Pptx);
42+
} finally {
43+
if (pres != null) {
44+
pres.dispose();
45+
}
46+
}
47+
```
48+
49+
50+
إليك النموذج الثلاثي الأبعاد الناتج:
51+
52+
![todo:image_alt_text](img_01_01.png)
53+
54+
## **دوران ثلاثي الأبعاد**
55+
56+
يمكن تنفيذ دوران النموذج الثلاثي الأبعاد في PowerPoint عبر القائمة:
57+
58+
![todo:image_alt_text](img_02_01.png)
59+
60+
لتدوير النموذج الثلاثي الأبعاد باستخدام Aspose.Slides API، استخدم طريقة **[ThreeDFormat.getCamera()](https://reference.aspose.com/slides/nodejs-java/aspose.slides/ThreeDFormat#getCamera--)**، واضبط دوران الكاميرا بالنسبة إلى الشكل الثلاثي الأبعاد:
61+
```javascript
62+
var shape = pres.getSlides().get_Item(0).getShapes().addAutoShape(aspose.slides.ShapeType.Rectangle, 200, 150, 200, 200);
63+
shape.getThreeDFormat().getCamera().setRotation(20, 30, 40);
64+
// ... ضبط باقي معلمات مشهد 3D
65+
try {
66+
var slideImage = pres.getSlides().get_Item(0).getImage(2, 2);
67+
slideImage.save("sample_3d.png", aspose.slides.ImageFormat.Png);
68+
} finally {
69+
if (slideImage != null) {
70+
slideImage.dispose();
71+
}
72+
}
73+
```
74+
75+
76+
## **العمق الثلاثي الأبعاد والاستخلاص**
77+
78+
تُستخدم طريقتا **[ThreeDFormat.getExtrusionHeight()](https://reference.aspose.com/slides/nodejs-java/aspose.slides/ThreeDFormat#getExtrusionHeight--)** و **[ThreeDFormat.getExtrusionColor()](https://reference.aspose.com/slides/nodejs-java/aspose.slides/ThreeDFormat#getExtrusionColor--)** لإنشاء الاستخلاص على الشكل:
79+
```javascript
80+
var shape = pres.getSlides().get_Item(0).getShapes().addAutoShape(aspose.slides.ShapeType.Rectangle, 200, 150, 200, 200);
81+
shape.getThreeDFormat().getCamera().setRotation(20, 30, 40);
82+
shape.getThreeDFormat().setExtrusionHeight(100);
83+
shape.getThreeDFormat().getExtrusionColor().setColor(java.newInstanceSync("java.awt.Color", 128, 0, 128));
84+
// ... ضبط باقي معلمات مشهد 3D
85+
try {
86+
var slideImage = pres.getSlides().get_Item(0).getImage(2, 2);
87+
slideImage.save("sample_3d.png", aspose.slides.ImageFormat.Png);
88+
} finally {
89+
if (slideImage != null) {
90+
slideImage.dispose();
91+
}
92+
}
93+
```
94+
95+
96+
في PowerPoint، يتم ضبط عمق الشكل عبر:
97+
98+
![todo:image_alt_text](img_02_02.png)
99+
100+
## **تدرج لوني ثلاثي الأبعاد**
101+
102+
يمكن للتدرج الثلاثي الأبعاد إضفاء حجم أكبر على شكل PowerPoint ثلاثي الأبعاد:
103+
```javascript
104+
var pres = new aspose.slides.Presentation();
105+
try {
106+
var shape = pres.getSlides().get_Item(0).getShapes().addAutoShape(aspose.slides.ShapeType.Rectangle, 200, 150, 250, 250);
107+
shape.getTextFrame().setText("3D");
108+
shape.getTextFrame().getParagraphs().get_Item(0).getParagraphFormat().getDefaultPortionFormat().setFontHeight(64);
109+
shape.getFillFormat().setFillType(java.newByte(aspose.slides.FillType.Gradient));
110+
shape.getFillFormat().getGradientFormat().getGradientStops().add(0, java.getStaticFieldValue("java.awt.Color", "BLUE"));
111+
shape.getFillFormat().getGradientFormat().getGradientStops().add(100, java.getStaticFieldValue("java.awt.Color", "ORANGE"));
112+
shape.getThreeDFormat().getCamera().setCameraType(aspose.slides.CameraPresetType.OrthographicFront);
113+
shape.getThreeDFormat().getCamera().setRotation(10, 20, 30);
114+
shape.getThreeDFormat().getLightRig().setLightType(aspose.slides.LightRigPresetType.Flat);
115+
shape.getThreeDFormat().getLightRig().setDirection(aspose.slides.LightingDirection.Top);
116+
shape.getThreeDFormat().setExtrusionHeight(150);
117+
shape.getThreeDFormat().getExtrusionColor().setColor(java.newInstanceSync("java.awt.Color", 255, 140, 0));
118+
try {
119+
var slideImage = pres.getSlides().get_Item(0).getImage(2, 2);
120+
slideImage.save("sample_3d.png", aspose.slides.ImageFormat.Png);
121+
} finally {
122+
if (slideImage != null) {
123+
slideImage.dispose();
124+
}
125+
}
126+
} finally {
127+
if (pres != null) {
128+
pres.dispose();
129+
}
130+
}
131+
```
132+
133+
134+
هذا هو الشكل:
135+
136+
![todo:image_alt_text](img_02_03.png)
137+
138+
يمكنك أيضًا إنشاء تدرج لوني للصورة:
139+
```javascript
140+
shape.getFillFormat().setFillType(java.newByte(java.newByteaspose.slides.FillType.Picture));
141+
var picture;
142+
var image = aspose.slides.Images.fromFile("image.png");
143+
try {
144+
picture = pres.getImages().addImage(image);
145+
} finally {
146+
if (image != null) {
147+
image.dispose();
148+
}
149+
}
150+
shape.getFillFormat().getPictureFillFormat().getPicture().setImage(picture);
151+
shape.getFillFormat().getPictureFillFormat().setPictureFillMode(aspose.slides.PictureFillMode.Stretch);
152+
// .. إعداد ثلاثي الأبعاد: shape.ThreeDFormat.Camera, shape.ThreeDFormat.LightRig, shape.ThreeDFormat.Extrusion* properties
153+
try {
154+
var slideImage = pres.getSlides().get_Item(0).getImage(2, 2);
155+
slideImage.save("sample_3d.png", aspose.slides.ImageFormat.Png);
156+
} finally {
157+
if (slideImage != null) {
158+
slideImage.dispose();
159+
}
160+
}
161+
```
162+
163+
164+
النتيجة:
165+
166+
![todo:image_alt_text](img_02_04.png)
167+
168+
## **نص ثلاثي الأبعاد (WordArt)**
169+
170+
لإنشاء نص ثلاثي الأبعاد (WordArt)، قم بما يلي:
171+
```javascript
172+
var pres = new aspose.slides.Presentation();
173+
try {
174+
var shape = pres.getSlides().get_Item(0).getShapes().addAutoShape(aspose.slides.ShapeType.Rectangle, 200, 150, 200, 200);
175+
shape.getFillFormat().setFillType(java.newByte(aspose.slides.FillType.NoFill));
176+
shape.getLineFormat().getFillFormat().setFillType(java.newByte(aspose.slides.FillType.NoFill));
177+
shape.getTextFrame().setText("3D Text");
178+
var portion = shape.getTextFrame().getParagraphs().get_Item(0).getPortions().get_Item(0);
179+
portion.getPortionFormat().getFillFormat().setFillType(java.newByte(aspose.slides.FillType.Pattern));
180+
portion.getPortionFormat().getFillFormat().getPatternFormat().getForeColor().setColor(java.newInstanceSync("java.awt.Color", 255, 140, 0));
181+
portion.getPortionFormat().getFillFormat().getPatternFormat().getBackColor().setColor(java.getStaticFieldValue("java.awt.Color", "WHITE"));
182+
portion.getPortionFormat().getFillFormat().getPatternFormat().setPatternStyle(java.newByte(aspose.slides.PatternStyle.LargeGrid));
183+
shape.getTextFrame().getParagraphs().get_Item(0).getParagraphFormat().getDefaultPortionFormat().setFontHeight(128);
184+
var textFrame = shape.getTextFrame();
185+
// إعداد تأثير تحويل WordArt "قوس أعلى"
186+
textFrame.getTextFrameFormat().setTransform(java.newByte(aspose.slides.TextShapeType.ArchUp));
187+
textFrame.getTextFrameFormat().getThreeDFormat().setExtrusionHeight(3.5);
188+
textFrame.getTextFrameFormat().getThreeDFormat().setDepth(3);
189+
textFrame.getTextFrameFormat().getThreeDFormat().setMaterial(aspose.slides.MaterialPresetType.Plastic);
190+
textFrame.getTextFrameFormat().getThreeDFormat().getLightRig().setDirection(aspose.slides.LightingDirection.Top);
191+
textFrame.getTextFrameFormat().getThreeDFormat().getLightRig().setLightType(aspose.slides.LightRigPresetType.Balanced);
192+
textFrame.getTextFrameFormat().getThreeDFormat().getLightRig().setRotation(0, 0, 40);
193+
textFrame.getTextFrameFormat().getThreeDFormat().getCamera().setCameraType(aspose.slides.CameraPresetType.PerspectiveContrastingRightFacing);
194+
try {
195+
var slideImage = pres.getSlides().get_Item(0).getImage(2, 2);
196+
slideImage.save("text3d.png", aspose.slides.ImageFormat.Png);
197+
} finally {
198+
if (slideImage != null) {
199+
slideImage.dispose();
200+
}
201+
}
202+
pres.save("text3d.pptx", aspose.slides.SaveFormat.Pptx);
203+
} finally {
204+
if (pres != null) {
205+
pres.dispose();
206+
}
207+
}
208+
```
209+
210+
211+
النتيجة:
212+
213+
![todo:image_alt_text](img_02_05.png)
214+
215+
## **الأسئلة الشائعة**
216+
217+
**هل سيتم حفظ التأثيرات الثلاثية الأبعاد عند تصدير العرض التقديمي إلى صور/PDF/HTML؟**
218+
219+
نعم. يقوم محرك Slides 3D بتصيير التأثيرات الثلاثية الأبعاد عند التصدير إلى الصيغ المدعومة ([images](/slides/ar/nodejs-java/convert-powerpoint-to-png/), [PDF](/slides/ar/nodejs-java/convert-powerpoint-to-pdf/), [HTML](/slides/ar/nodejs-java/convert-powerpoint-to-html/), إلخ).
220+
221+
**هل يمكنني استرجاع القيم "الفعالة" (النهائية) لمعلمات 3D التي تأخذ في الاعتبار السمات والوراثة وما إلى ذلك؟**
222+
223+
نعم. توفِّر Slides واجهات برمجة تطبيقات ل[قراءة القيم الفعالة](/slides/ar/nodejs-java/shape-effective-properties/) (بما في ذلك للـ 3D—الإضاءة، الحواف، إلخ) حتى تتمكن من رؤية الإعدادات النهائية المطبقة.
224+
225+
**هل تعمل التأثيرات الثلاثية الأبعاد عند تحويل العرض التقديمي إلى فيديو؟**
226+
227+
نعم. عند [إنشاء الإطارات للفيديو](/slides/ar/nodejs-java/convert-powerpoint-to-video/)، يتم تصيير التأثيرات الثلاثية الأبعاد بنفس طريقة تصييرها لل[صور المصدَّرَة](/slides/ar/nodejs-java/convert-powerpoint-to-png/).

0 commit comments

Comments
 (0)