在JavaScript代碼中編輯TEXT 。...const aw = require( '@aspose/words' ); var doc = new aw.Document(..."Input.txt" ) var builder = new aw.DocumentBuilder(doc) // 在文檔的開頭插入文字。...
在JavaScript代碼中編輯DOC 。...const aw = require( '@aspose/words' ); var doc = new aw.Document(..."Input.doc" ) var builder = new aw.DocumentBuilder(doc) // 在文檔的開頭插入文字。...
在JavaScript代碼中編輯HTML 。...const aw = require( '@aspose/words' ); var doc = new aw.Document(..."Input.html" ) var builder = new aw.DocumentBuilder(doc) // 在文檔的開頭插入文字。...
ListLevel.custom_number_style_format property. Gets or sets the custom number style format for this list level... doc = aw . Document ( file_name = MY_DIR...list_level . number_style == aw . NumberStyle . CUSTOM : cus...
ListLevel.text_position property. Returns or sets the position (in points) for the second line of wrapping text for the list level.... doc = aw . Document () # A list allows...lists . add ( list_template = aw . lists . ListTemplate . NUMBER_DEFAULT...
CompositeNode.get_text method. Gets the text of this node and of all its children.... doc = aw . Document () builder = aw . DocumentBuilder...doc . to_string ( save_format = aw . SaveFormat . TEXT ) . strip...
ChartSeriesGroupCollection.add method. Adds a new series group of the specified series type to this collection.... doc = aw . Document () builder = aw . DocumentBuilder... insert_chart ( chart_type = aw . drawing . charts . ChartType...
FieldDate.use_last_format property. Gets or sets whether to use a format last used by the hosting application when inserting a new DATE field.... doc = aw . Document () builder = aw . DocumentBuilder...field = builder . insert_field ( aw . fields . FieldType . FIELD_DATE...