检查文档语法。 Aspose.Words为Python 允许用户使用OpenAI,Google和Claude模型检查语法并检测文档中的错误。...Words中的GPT-4o mini模型来检查语法: doc = aw . Document ( file_name = MY_DIR...models . model = aw . ai . AiModel . create ( aw . ai . AiModelType...
FieldUserInitials.user_initials property. Gets or sets the current user's initials.... doc = aw . Document () # Create a UserInformation...we create. user_information = aw . fields . UserInformation ()...
ChartDataTable.font property. Provides access to font formatting of the data table.... doc = aw . Document () builder = aw . DocumentBuilder... insert_chart ( chart_type = aw . drawing . charts . ChartType...
AxisScaling.type property. Gets or sets scaling type of the axis.... doc = aw . Document () builder = aw . DocumentBuilder... insert_chart ( chart_type = aw . drawing . charts . ChartType...
FieldIncludePicture.resize_vertically property. Gets or sets whether to resize the picture vertically from the source.... doc = aw . Document () builder = aw . DocumentBuilder...e = builder . insert_field ( aw . fields . FieldType . FIELD_INCLUDE_PICTURE...
FieldCompare.left_expression property. Gets or sets the left part of the comparison expression.... doc = aw . Document () builder = aw . DocumentBuilder... insert_field ( field_type = aw . fields . FieldType . FIELD_COMPARE...
FieldIncludePicture.graphic_filter property. Gets or sets the name of the filter for the format of the graphic that is to be inserted.... doc = aw . Document () builder = aw . DocumentBuilder...e = builder . insert_field ( aw . fields . FieldType . FIELD_INCLUDE_PICTURE...
Document.expand_table_styles_to_direct_formatting method. Converts formatting specified in table styles into direct formatting on tables in the document.... doc = aw . Document () builder = aw . DocumentBuilder...table_style = doc . styles . add ( aw . StyleType . TABLE , 'MyTableStyle1'...
Insérez, obtenez ou formatez un champ de formulaire dans un document à l'aide de Python....document: doc = aw . Document () builder = aw . DocumentBuilder...insert_text_input ( "TextInput" , aw . fields . TextFormFieldType...